---------------------------------------------------------------------- Secunia customers receive relevant and filtered advisories. Delivery is done via different channels including SMS, Email, Web, and https based XML feed. http://corporate.secunia.com/trial/38/request/ ---------------------------------------------------------------------- TITLE: PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection SECUNIA ADVISORY ID: SA24824 VERIFY ADVISORY: http://secunia.com/advisories/24824/ CRITICAL: Less critical IMPACT: Security Bypass WHERE: >From remote SOFTWARE: PHP 5.2.x http://secunia.com/product/13446/ PHP 5.1.x http://secunia.com/product/6796/ 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: Do not use the "FILTER_VALIDATE_EMAIL" filter to validate email addresses. PROVIDED AND/OR DISCOVERED BY: Stefan Esser ORIGINAL ADVISORY: http://www.php-security.org/MOPB/PMOPB-45-2007.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------