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.
Published: 2004-06-10
Score: 10.0 Critical
EPSS: 11.6% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2004-0541 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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-08T00:24:25.880Z

Reserved: 2004-06-08T00:00:00.000Z

Link: CVE-2004-0542

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2004-08-06T04:00:00.000

Modified: 2025-04-03T01:03:51.193

Link: CVE-2004-0542

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses