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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- PHP 4.3.7 - 'php-exec-dir' Patch Command Access Restriction Bypass EDB-384 · webapps · Aug 8, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- phpexecdir-semicolon-restriction-bypass(16498) vdb-entry
- 20040708 php-exec-dir vulnerable after latest upgrade mailing-list
- 7243 vdb-entry
- 11928 third-party-advisory
- 20040708 Re: php-exec-dir vulnerable after latest upgrade mailing-list
- http://kyberdigi.cz/projects/execdir/english.html
- 20040708 RE: php-exec-dir vulnerable after latest upgrade mailing-list
- 10598 vdb-entry