2111 : PHP Mail Function ASCII Control Character Header Spoofing
Printer | http://osvdb.org/2111 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
16 1422 over 8 years ago about 1 year ago 1 times 65%

Timeline

Discovery Date Disclosure Date Exploit Publish Date
2002-08-23 2003-07-30 2003-07-30
Time to Exploit
341 days

Description

PHP 4.x to 4.2.2 contains a flaw that exist in the mail() function that does not properly sanitize user input. It is possible for a user may pass ASCII control characters to the mail() function that could alter the headers of email. This could result in spoofed mail headers.

Classification

Unknown or Incomplete

Technical

Arbitrary ASCII control characters may be injected into string arguments
of mail() function. If mail() arguments are taken from user's input it
may give the user ability to alter message content including mail
headers.

Solution

Upgrade to the latest version of PHP available, or disable the mail() function in the php.ini.

Products

OpenPKG
Watch-list
OpenPKG
Watch-list
1.0
1.1
1.2
PHP Group
Watch-list
PHP
Watch-list
3.0
4.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.1.0
4.1.1
4.1.2
4.2.0
4.2.1
4.2.2

References

Tools & Filters

11444 12326 13757 15005
1481

Manual Testing Notes

Credit

Unknown or Incomplete

CVSSv2 Score

CVSSv2 Base Score = 7.5
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use