PHP FILTER_VALIDATE_EMAIL header injection
| php-filtervalidateemail-header-injection (33510) |
Description:
PHP is vulnerable to email header injection. A remote attacker could inject a specially-crafted email header using the FILTER_VALIDATE_EMAIL function, which could be used for sending unsolicited email messages.
*CVSS:
| Base Score: | 3.5 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 2.6 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Bypass Security
Remedy:
Upgrade to the latest version of PHP (5.2.3 or later), available from the PHP Web site. See References.
For Debian GNU/Linux (PHP5):
Refer to DSA-1283-1 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-455-1 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (PHP):
Refer to GLSA 200705-19 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (PHP):
Refer to MDKSA-2007:187 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- HPSBUX02262 SSRT071447: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS).
- PHP Web site: PHP: Hypertext Preprocessor.
- PHP Web site: PHP 5.2.3 Release Announcement.
- PMOPB-45-2007: PHP ext/filter Email Validation Vulnerability.
- ASA-2007-416: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS) (HPSBUX02262)
- BID-23359: PHP Filter_Var FILTER_VALIDATE_EMAIL Newline Injection Vulnerability
- CVE-2007-1900: CRLF injection vulnerability in the FILTER_VALIDATE_EMAIL filter in ext/filter in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to inject arbitrary e-mail headers via an e-mail address with a '\n' character, which causes a regular expression to ignore the subsequent part of the address string.
- DSA-1283: php5 -- several vulnerabilities
- GLSA-200705-19: PHP: Multiple vulnerabilities
- GLSA-200710-02: PHP: Multiple vulnerabilities
- MDKSA-2007:187: Updated PHP packages fix numerous vulnerabilities
- OSVDB ID: 33962: PHP ext/filter FILTER_VALIDATE_EMAIL Newline Injection
- SA24824: PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection
- SUSE-SA:2007:032: PHP security problems
- USN-455-1: PHP vulnerabilities
- VUPEN/ADV-2007-2016: PHP Multiple Function Remote Integer Overflow and Security Bypass Vulnerabilities
- VUPEN/ADV-2007-3386: HP-UX Apache Code Execution and Cross Site Scripting Vulnerabilities
Platforms Affected:
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Canonical Ubuntu 7.04
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- Gentoo Linux
- HP HP-UX B.11.11
- HP HP-UX B.11.23
- HP HP-UX B.11.31
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell Open Enterprise Server
- Novell OpenSUSE 10.2
- Novell SLE SDK 10
- Novell UnitedLinux 1.0
- PHP PHP 5.2.0
- PHP PHP 5.2.1
- SuSE SuSE Linux Retail Solution 8
- SuSE SuSE SLES 10
- SuSE SuSE SLES 9
Reported:
Apr 07, 2007
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 xforce@iss.net
* 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.
