{"id":"CVE-2004-2692","aliases":["EUVD-2004-2682","GHSA-4h82-3wj3-6799"],"status":"published","title":"The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote...","description":"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.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04506,"percentile":0.91571,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-16","CWE-264"],"published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:10:08Z","exploits":[{"source":"exploitdb","id":"EDB-384","title":"PHP 4.3.7 - 'php-exec-dir' Patch Command Access Restriction Bypass","type":"webapps","platform":"php","date":"2004-08-08","verified":true,"url":"https://www.exploit-db.com/exploits/384"}],"products":[{"vendor":"kyberdigi_labs","product":"php-exec-dir"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16498","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2004/Jul/0347.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://www.osvdb.org/7243","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://secunia.com/advisories/11928","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://seclists.org/fulldisclosure/2004/Jul/0357.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://kyberdigi.cz/projects/execdir/english.html","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://seclists.org/fulldisclosure/2004/Jul/0350.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/10598","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2692"},{"url":"https://github.com/advisories/GHSA-4h82-3wj3-6799"}],"sources":{"cve":[{"id":"CVE-2004-2692","description":"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.","status":"published","published":"2007-10-06T20:00:00Z","modified":"2024-08-08T01:36:25.181Z","updated_at":"2026-11-02T14:34:53.70484Z"}],"euvd":[{"id":"EUVD-2004-2682","description":"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.","status":"published","published":"2007-10-06T20:00:00Z","modified":"2024-08-08T01:36:25Z","updated_at":"2026-11-03T01:15:09.127613Z"}],"ghsa":[{"id":"GHSA-4h82-3wj3-6799","title":"The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote...","description":"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.","status":"published","published":"2022-04-29T03:01:56Z","modified":"2023-01-30T05:04:21Z","updated_at":"2026-11-02T14:47:01.801326Z"}],"nvd":[{"id":"CVE-2004-2692","description":"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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:10:08.717Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-16","CWE-264"],"updated_at":"2026-11-02T14:00:53.133049Z"}]}}
