the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2002-0985

Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
Publish Date : 2002-09-24 Last Update Date : 2016-10-17
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access User
Vulnerability Type(s) Bypass a restriction or similar
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low 2002-08-23
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Products Affected By CVE-2002-0985

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 3.0.18 Version Details Vulnerabilities
2 Application PHP PHP 4.0 Version Details Vulnerabilities
3 Application PHP PHP 4.0.1 Version Details Vulnerabilities
4 Application PHP PHP 4.0.1 Patch1 Version Details Vulnerabilities
5 Application PHP PHP 4.0.1 Patch2 Version Details Vulnerabilities
6 Application PHP PHP 4.0.2 Version Details Vulnerabilities
7 Application PHP PHP 4.0.3 Version Details Vulnerabilities
8 Application PHP PHP 4.0.3 Patch1 Version Details Vulnerabilities
9 Application PHP PHP 4.0.4 Version Details Vulnerabilities
10 Application PHP PHP 4.0.5 Version Details Vulnerabilities
11 Application PHP PHP 4.0.6 Version Details Vulnerabilities
12 Application PHP PHP 4.0.7 Version Details Vulnerabilities
13 Application PHP PHP 4.1.0 Version Details Vulnerabilities
14 Application PHP PHP 4.1.1 Version Details Vulnerabilities
15 Application PHP PHP 4.1.2 Version Details Vulnerabilities
16 Application PHP PHP 4.2.0 Version Details Vulnerabilities
17 Application PHP PHP 4.2.1 Version Details Vulnerabilities
18 Application PHP PHP 4.2.2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2002-0985
XF php-mail-safemode-bypass(9966)
REDHAT RHSA-2003:159
REDHAT RHSA-2002:248
REDHAT RHSA-2002:243
REDHAT RHSA-2002:244
REDHAT RHSA-2002:214
REDHAT RHSA-2002:213
SUSE SuSE-SA:2002:036
BUGTRAQ 20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail()
BUGTRAQ 20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php)
CALDERA CSSA-2003-008.0

- Metasploit Modules Related To CVE-2002-0985

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. 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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.