From owner-svn-ports-all@freebsd.org Mon Dec 7 23:22:26 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 502099D3A32; Mon, 7 Dec 2015 23:22:26 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09BAE1EA9; Mon, 7 Dec 2015 23:22:25 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB7NMP7T026615; Mon, 7 Dec 2015 23:22:25 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB7NMPvA026613; Mon, 7 Dec 2015 23:22:25 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201512072322.tB7NMPvA026613@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Mon, 7 Dec 2015 23:22:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403243 - head/security/vuxml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 23:22:26 -0000 Author: junovitch Date: Mon Dec 7 23:22:24 2015 New Revision: 403243 URL: https://svnweb.freebsd.org/changeset/ports/403243 Log: Document client controlled header overwriting in Phusion Passenger PR: 205104 Security: CVE-2015-7519 Security: https://vuxml.FreeBSD.org/freebsd/84fdd1bb-9d37-11e5-8f5c-002590263bf5.html Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Mon Dec 7 23:07:04 2015 (r403242) +++ head/security/vuxml/vuln.xml Mon Dec 7 23:22:24 2015 (r403243) @@ -58,6 +58,53 @@ Notes: --> + + passenger -- client controlled header overwriting + + + rubygem-passenger + 5.0.05.0.22 + 4.0.60 + + + + +

Daniel Knoppel reports:

+
+

It was discovered by the SUSE security team that it was possible, + in some cases, for clients to overwrite headers set by the server, + resulting in a medium level security issue. CVE-2015-7519 has been + assigned to this issue.

+

Affected use-cases:

+

Header overwriting may occur if all of the following conditions are met:

+
    +
  • Apache integration mode, or standalone+builtin engine without + a filtering proxy
  • +
  • Ruby or Python applications only (Passenger 5); or any + application (Passenger 4)
  • +
  • The app depends on a request header containing a dash (-)
  • +
  • The header is supposed to be trusted (set by the server)
  • +
  • The client correctly guesses the header name
  • +
+

This vulnerability has been fixed by filtering out client headers + that do not consist of alphanumeric/dash characters (Nginx already + did this, so Passenger+Nginx was not affected). If your application + depends on headers that don't conform to this, you can add a + workaround in Apache specifically for those to convert them to a + dash-based format.

+
+ +
+ + CVE-2015-7519 + https://blog.phusion.nl/2015/12/07/cve-2015-7519/ + + + 2015-12-07 + 2015-12-07 + +
+ Salt -- information disclosure