CVE-2004-0542

N/A Unknown
Published: August 06, 2004 Modified: April 16, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.php.net/release_4_3_7.php
Source: cve@mitre.org
Patch Release Notes Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/16331
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://www.idefense.com/application/poi/display?id=108
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://www.php.net/release_4_3_7.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Release Notes Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/16331
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry

6 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
11.6%
94th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

php