CVE-2004-0542
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- http://www.idefense.com/application/poi/display?id=108
- http://www.php.net/release_4_3_7.php
- php-escapeshellarg-execute-command(16331) https://exchange.xforce.ibmcloud.com/vulnerabilities/16331
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f7262ec0dd8396d148959499d44c04f72ffd44ae817ae17a87e99db1cbd6d05f
- Ingested
- 23 Sep 2026, 07:37:53 UTC
- Source record
- Official CVE record