Unrated severityNVD Advisory· Published Aug 6, 2004· Updated Jun 16, 2026
CVE-2004-0542
CVE-2004-0542
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 Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2Patches
Vulnerability mechanics
References
3- www.php.net/release_4_3_7.phpnvdPatchRelease NotesVendor Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/16331nvdThird Party AdvisoryVDB Entry
- www.idefense.com/application/poi/displaynvdNot Applicable
News mentions
0No linked articles in our index yet.