CVE-2004-0542 Details
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
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 | CVE | Third Party AdvisoryVDB Entry |
| http://www.idefense.com/application/poi/display?id=108 | CVE | Not Applicable |
| http://www.php.net/release_4_3_7.php | CVE | PatchRelease NotesVendor Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/16331 | [email protected] | Third Party AdvisoryVDB Entry |
| http://www.idefense.com/application/poi/display?id=108 | [email protected] | Not Applicable |
| http://www.php.net/release_4_3_7.php | [email protected] | PatchRelease NotesVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | < 4.3.7 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Apr 16, 2026 | [email protected] | |
| Nov 20, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 1, 2022 | Modified Analysis | [email protected] |
| Jul 11, 2017 | CVE Modified | [email protected] |
| Jan 1, 2004 | Initial Analysis | [email protected] |