Secunia Logo
Netsikker nu! 2008
 
PHP "mb_send_mail()" "To:" Header Injection Vulnerability
Secunia Advisory: SA17763
Release Date: 2005-11-28
Last Update: 2005-12-07
Popularity: 12,893 views

Critical:
Moderately critical
Impact: Security Bypass
Manipulation of data
Where: From remote
Solution Status: Partial Fix

Software:PHP 4.4.x
PHP 5.0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3883


Description:
s.masugata has reported a vulnerability in PHP, which potentially can be exploited by malicious people to use it as an open mail relay.

The vulnerability is caused due to an input validation error in the "mb_send_mail()" function. This can be exploited to inject arbitrary headers in a mail sent via a script calling the "mb_send_mail()" function where the "To" parameter can be controlled by the attacker.

Solution:
Update to version 5.1.0.
http://www.php.net/downloads.php

Do not call the "mb_send_mail()" function in scripts where input passed to the "To" parameter originates from untrusted sources.

Provided and/or discovered by:
s.masugata

Changelog:
2005-12-07: Added CVE reference.

Original Advisory:
The PHP Group:
http://www.php.net/release_5_1_0.php

s.masugata:
http://bugs.php.net/bug.php?id=35307


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. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 169 views
2. Microsoft Windows Vista Page Fault Handling Denial of Service // 144 views
3. VMware VirtualCenter Multiple Vulnerabilities // 132 views
4. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 118 views
5. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 100 views
6. AmpJuke "special" SQL Injection Vulnerability // 94 views
7. Nucleus EUC-JP Cross-Site Scripting Vulnerability // 85 views
8. Website Directory "keyword" Cross-Site Scripting Vulnerability // 84 views
9. PHP-Fusion Recepies Module "kat_id" SQL Injection // 62 views
10. Kontiki Delivery Management System "action" Cross-Site Scripting // 58 views