PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection
Secunia Advisory: SA24824
Release Date: 2007-04-09
Last Update: 2007-06-01
Popularity: 8,952 views

Critical:
Less critical
Impact: Security Bypass
Where: From remote
Solution Status: Vendor Patch

Software:PHP 5.1.x
PHP 5.2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1900


Description:
Stefan Esser has reported a vulnerability in PHP, which can be exploited by malicious people to bypass certain security restrictions.

The vulnerability is caused due to the use of an incorrect regular expression within the "FILTER_VALIDATE_EMAIL" filter of the ext/filter extension. This can be exploited to inject newlines via specially crafted email addresses, which may allow mail header injection.

The vulnerability is reported in PHP 5.2.0 and 5.2.1. Other versions may also be affected.

Solution:
Update to version 5.2.3.
http://www.php.net/downloads.php#v5

Provided and/or discovered by:
Stefan Esser

Changelog:
2007-04-12: Added CVE reference.
2007-06-01: Updated "Solution" section. Added link to "Original Advisory" section.

Original Advisory:
PHP:
http://www.php.net/releases/5_2_3.php

http://www.php-security.org/MOPB/PMOPB-45-2007.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Netgear WN802T Wireless Access Point Two Vulnerabilities // 21 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 20 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 18 views
4. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 18 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 17 views
6. VLC Media Player Multiple Vulnerabilities // 16 views
7. phpBB "gen_rand_string()" Predictable RNG Weakness // 15 views
8. phpBB BBcode "url" Script Insertion Vulnerability // 15 views
9. Sun Java JDK / JRE Multiple Vulnerabilities // 13 views
10. XASTIR Insecure Temporary Files // 12 views