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

Views This Week

9

Views All Time

219

Info

Last Modified

11 months ago

Percent Complete

65%

Disclosure

Jul 30, 2003

Discovery

Aug 23, 2002

Dates

Exploit

Jul 30, 2003

Solution

Unknown

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

Nessus

11444 12326 13757 15005

Manual Testing Notes

Credit

Unknown or Incomplete

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

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 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use