CVE-2004-0542
HIGH
10.0
CVSS 2.0
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.
Affected products and versions
- PHP — Before 4.3.7
References
- www.idefense.com http://www.idefense.com/application/poi/display?id=108 Not Applicable
- www.php.net http://www.php.net/release_4_3_7.php Patch, Release Notes, Vendor Advisory
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 Third Party Advisory, VDB Entry
- nvd.nist.gov Official NVD record