Perl CGI.pm header injection
|perl-cgipm-header-injection (80098)||Medium Risk|
Perl CGI.pm is vulnerable to HTTP header injection, caused by improper validation of input. By persuading a victim to visit a specially-crafted Web page, a remote attacker could exploit this vulnerability to inject arbitrary Set-Cookie and P3P HTTP headers, which will allow the attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking.
Upgrade to the latest version of CGI.pm (3.63 or later), available from the Search.cpan Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
- IBM SECURITY ADVISORY: Security vulnerabilities in Perl for AIX.
- Red Hat Bugzilla ¿ Bug 877015 : CVE-2012-5526 perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers.
- Search.cpan Web site: CGI.pm.
- BID-56562: Perl CGI.pm 'Set-Cookie' and 'P3P' Headers HTTP Header Injection Vulnerability
- CVE-2012-5526: CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.
- DSA-2586: perl -- several vulnerabilities
- DSA-2587: libcgi-pm-perl -- HTTP header injection
- RHSA-2013-0685: Moderate: perl security update
- SA55314: Oracle Solaris Perl Multiple Vulnerabilities
- IBM AIX 6.1
- IBM AIX 7.1
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 6 Server
- RedHat Enterprise Linux 6 Workstation
- RedHat Enterprise Linux Desktop 6
- RedHat Enterprise Linux HPC Node 6
- Search.cpan CGI.pm 3.62
Nov 16, 2012
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.