CVE-2004-0542
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 31.1%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 2.0
- 10.0 HIGHAV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 31.11% probability · 98th percentile
- CISA KEV
- Not listed
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://www.idefense.com/application/poi/display?id=108Not Applicable
- http://www.php.net/release_4_3_7.phpPatch, Release Notes, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16331Third Party Advisory, VDB Entry
- http://www.idefense.com/application/poi/display?id=108Not Applicable
- http://www.php.net/release_4_3_7.phpPatch, Release Notes, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16331Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.