10.0
CRITICAL
CVE-2004-0542
Apache PHP Command Injection Vulnerability
Description

PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute arbitrary code, overwrite files, and access internal environment variables via (1) the "%", "|", or ">" characters to the escapeshellcmd function, or (2) the "%" character to the escapeshellarg function.

INFO

Published Date :

Aug. 6, 2004, 4 a.m.

Last Modified :

Nov. 20, 2024, 11:48 p.m.

Remotely Exploitable :

Yes !

Impact Score :

10.0

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2004-0542 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
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-2004-0542.

URL Resource
http://www.idefense.com/application/poi/display?id=108 Not Applicable
http://www.php.net/release_4_3_7.php Patch Release Notes Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 Third Party Advisory VDB Entry
http://www.idefense.com/application/poi/display?id=108 Not Applicable
http://www.php.net/release_4_3_7.php Patch Release Notes Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 Third Party Advisory VDB Entry

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-2004-0542 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2004-0542 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 [email protected]

    May. 14, 2024

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

    Jul. 01, 2022

    Action Type Old Value New Value
    Changed Reference Type http://www.idefense.com/application/poi/display?id=108 Vendor Advisory http://www.idefense.com/application/poi/display?id=108 Not Applicable
    Changed Reference Type http://www.php.net/release_4_3_7.php Patch http://www.php.net/release_4_3_7.php Patch, Release Notes, Vendor Advisory
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 Third Party Advisory, VDB Entry
    Removed CWE NIST NVD-CWE-Other
    Added CWE NIST NVD-CWE-noinfo
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (excluding) 4.3.7
  • CVE Modified by [email protected]

    Jul. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/16331 [Patch, Vendor Advisory]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 [No Types Assigned]
  • 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.
CWE - Common Weakness Enumeration

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

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2004-0542 weaknesses.

Exploit Prediction

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

92.00 }} 0.00%

score

0.98336

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability