7.5
HIGH CVSS 2.0
CVE-2002-0985
"PHP Mail Function Argument Injection Vulnerability"
Description

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.

INFO

Published Date :

Sept. 24, 2002, 4 a.m.

Last Modified :

April 3, 2025, 1:03 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2002-0985 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
1 Openpkg openpkg
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
Solution
The PHP mail function is vulnerable to argument injection; upgrading the PHP packages is recommended.
  • Update PHP packages to a version greater than 4.2.2.
  • Contact your vendor for the latest PHP release.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2002-0985.

URL Resource
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt Broken Link
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545 Broken Link
http://marc.info/?l=bugtraq&m=103011916928204&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=105760591228031&w=2 Third Party Advisory
http://www.debian.org/security/2002/dsa-168 Broken Link Patch Vendor Advisory
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082 Broken Link
http://www.novell.com/linux/security/advisories/2002_036_modphp4.html Broken Link
http://www.osvdb.org/2111 Broken Link
http://www.redhat.com/support/errata/RHSA-2002-213.html Broken Link Patch Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2002-214.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-243.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-244.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-248.html Broken Link
http://www.redhat.com/support/errata/RHSA-2003-159.html Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 Third Party Advisory VDB Entry
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt Broken Link
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545 Broken Link
http://marc.info/?l=bugtraq&m=103011916928204&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=105760591228031&w=2 Third Party Advisory
http://www.debian.org/security/2002/dsa-168 Broken Link Patch Vendor Advisory
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082 Broken Link
http://www.novell.com/linux/security/advisories/2002_036_modphp4.html Broken Link
http://www.osvdb.org/2111 Broken Link
http://www.redhat.com/support/errata/RHSA-2002-213.html Broken Link Patch Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2002-214.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-243.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-244.html Broken Link
http://www.redhat.com/support/errata/RHSA-2002-248.html Broken Link
http://www.redhat.com/support/errata/RHSA-2003-159.html Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 Third Party Advisory VDB Entry
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2002-0985 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2002-0985 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2002-0985 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 20, 2024

    Action Type Old Value New Value
    Added Reference ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt
    Added Reference http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545
    Added Reference http://marc.info/?l=bugtraq&m=103011916928204&w=2
    Added Reference http://marc.info/?l=bugtraq&m=105760591228031&w=2
    Added Reference http://www.debian.org/security/2002/dsa-168
    Added Reference http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082
    Added Reference http://www.novell.com/linux/security/advisories/2002_036_modphp4.html
    Added Reference http://www.osvdb.org/2111
    Added Reference http://www.redhat.com/support/errata/RHSA-2002-213.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2002-214.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2002-243.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2002-244.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2002-248.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2003-159.html
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/9966
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 13, 2024

    Action Type Old Value New Value
    Changed Reference Type ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt No Types Assigned ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt Broken Link
    Changed Reference Type http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545 No Types Assigned http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545 Broken Link
    Changed Reference Type http://marc.info/?l=bugtraq&m=103011916928204&w=2 No Types Assigned http://marc.info/?l=bugtraq&m=103011916928204&w=2 Third Party Advisory
    Changed Reference Type http://marc.info/?l=bugtraq&m=105760591228031&w=2 No Types Assigned http://marc.info/?l=bugtraq&m=105760591228031&w=2 Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2002/dsa-168 Patch, Vendor Advisory http://www.debian.org/security/2002/dsa-168 Broken Link, Patch, Vendor Advisory
    Changed Reference Type http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082 No Types Assigned http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082 Broken Link
    Changed Reference Type http://www.novell.com/linux/security/advisories/2002_036_modphp4.html No Types Assigned http://www.novell.com/linux/security/advisories/2002_036_modphp4.html Broken Link
    Changed Reference Type http://www.osvdb.org/2111 No Types Assigned http://www.osvdb.org/2111 Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2002-213.html Patch, Vendor Advisory http://www.redhat.com/support/errata/RHSA-2002-213.html Broken Link, Patch, Vendor Advisory
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2002-214.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2002-214.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2002-243.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2002-243.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2002-244.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2002-244.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2002-248.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2002-248.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2003-159.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2003-159.html Broken Link
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 Third Party Advisory, VDB Entry
    Removed CWE NIST NVD-CWE-Other
    Added CWE NIST CWE-88
    Changed CPE Configuration OR *cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (including) 4.2.2
    Added CPE Configuration OR *cpe:2.3:a:openpkg:openpkg:1.1:*:*:*:*:*:*:* *cpe:2.3:a:openpkg:openpkg:1.2:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 10, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/9966 [Vendor Advisory]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 18, 2016

    Action Type Old Value New Value
    Removed Reference http://marc.theaimsgroup.com/?l=bugtraq&m=105760591228031&w=2
    Removed Reference http://marc.theaimsgroup.com/?l=bugtraq&m=103011916928204&w=2
    Added Reference http://marc.info/?l=bugtraq&m=103011916928204&w=2
    Added Reference http://marc.info/?l=bugtraq&m=105760591228031&w=2
  • Initial Analysis by [email protected]

    Jan. 01, 2004

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.30 }} -0.16%

score

0.78858

percentile