Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


PHP "mb_send_mail()" "To:" Header Injection Vulnerability Advisory Available in Danish 

Secunia Advisory: SA17763  
Release Date: 2005-11-28
Last Update: 2005-12-07

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

CVE reference:CVE-2005-3883 (Secunia mirror)



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



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.

34 Related Secunia Security Advisories, displaying 10

1. PHP Multiple Vulnerabilities
2. PHP Multiple Vulnerabilities
3. PHP COM Objects Security Bypass
4. PHP crypt() Race Condition Vulnerability
5. PHP "gdPngReadData()" Truncated PNG Data Denial of Service
6. PHP Multiple Vulnerabilities
7. PHP "readwbmp()" Integer Overflow Vulnerability
8. PHP Multiple Code Execution Vulnerabilities
9. PHP Interbase Extension "isc_attach_database()" Buffer Overflow
10. PHP Session Handling Double Free Vulnerabilities

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
dotProject SQL Injection and Cross-Site Scripting
2.
Sun Solaris Kernel Covert Channel Security Bypass
3.
HP TCP/IP Services for OpenVMS Finger Format String Vulnerability
4.
Novell eDirectory Multiple Vulnerabilities
5.
Red Hat update for libtiff
6.
Ultra Office ActiveX Control Multiple Vulnerabilities
7.
Adium MSN SLP Message Integer Overflow Vulnerabilities
8.
IBM WebSphere Application Server for z/OS HTTP Server mod_proxy_ftp Vulnerability
9.
GpsDrive "geo-code" Insecure Temporary Files
10.
Red Hat update for libtiff





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia