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

This script is Copyright (C) 2012-2013 Tenable Network Security, Inc.


Synopsis :

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

Description :

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.

See also :

https://bugs.php.net/bug.php?id=60227
http://www.nessus.org/u?06a4448d

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 61782 ()

Bugtraq ID:

CVE ID: CVE-2011-1398

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now