FreeBSD : php5 -- header splitting attack via carriage-return character (918f38cd-f71e-11e1-8bd8-0022156e8794)

Medium Nessus Plugin ID 61782


The remote FreeBSD host is missing one or more security-related updates.


Rui Hirokawa reports :

As of PHP 5.1.2, header() can no longer be used to send multiple response headers in a single call to prevent the HTTP Response Splitting Attack. header() only checks the linefeed (LF, 0x0A) as line-end marker, it doesn't check the carriage-return (CR, 0x0D).

However, some browsers including Google Chrome, IE also recognize CR as the line-end.

The current specification of header() still has the vulnerability against the HTTP header splitting attack.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 61782

File Name: freebsd_pkg_918f38cdf71e11e18bd80022156e8794.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2012/09/05

Modified: 2013/06/22

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:php5, p-cpe:/a:freebsd:freebsd:php52, p-cpe:/a:freebsd:freebsd:php53, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2012/09/05

Vulnerability Publication Date: 2011/11/06

Reference Information

CVE: CVE-2011-1398