Skip to content

PHP before 4.3.7 on Win32 platforms does not properly...

High severity Unreviewed Published Apr 29, 2022 to the GitHub Advisory Database • Updated Jan 30, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Aug 6, 2004
Published to the GitHub Advisory Database Apr 29, 2022
Last updated Jan 30, 2023

Severity

High

EPSS score

54.927%
(98th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2004-0542

GHSA ID

GHSA-ccf6-wjg8-65fx

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.