|
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.
|