CVE-2004-0542
Last modified
CVE-2004-0542 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 31.11% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | < 4.3.7 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2004-0542?
How severe is CVE-2004-0542?
How do I fix CVE-2004-0542?
Are you affected by CVE-2004-0542?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
