CVE Catalog

CVE-2004-2692

High
Published: Translated: NVD NIST

Summary

Vulnerability in the exec_dir PHP patch (php-exec-dir) versions 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to bypass restrictions and execute arbitrary commands via a backtick operator, which is not handled using the php_escape_shell_cmd function.

Risk Assessment

The risk involves the possibility of remote arbitrary command execution, which could lead to full server compromise, data theft, or further network propagation.

Recommendation

Immediately upgrade PHP to a version later than 4.3.7 or apply the official security patch. In the meantime, enable safe mode or disable the exec_dir function.

Related vulnerabilities

Original NVD description (English source)

The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to bypass restrictions and execute arbitrary commands via a backtick operator, which is not handled using the php_escape_shell_cmd function.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS