CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2004 · Php

CVE-2004-0542
Php vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Php. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Php products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.