VYPR
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

2
  • PHP/PHP2 versions
    cpe:2.3:a:php:php:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*range: <4.3.7
    • (no CPE)range: <4.3.7

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.