Description
prepend.php3 in PHPLib before 7.2d, when register_globals is enabled for PHP, allows remote attackers to execute arbitrary scripts via an HTTP request that modifies $_PHPLIB[libdir] to point to malicious code on another server, as seen in Horde 1.2.5 and earlier, IMP before 2.2.6, and other packages that use PHPLib.
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.
Exploit-DB 1
- PHPLib Team PHPLIB 7.2 - Remote Script Execution EDB-21022 · webapps · Jul 21, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- CLA-2001:410 vendor-advisory
- DSA-073 vendor-advisory
- 20010721 IMP 2.2.6 (SECURITY) released mailing-list
- phplib-script-execution(6892) vdb-entry
- 20010722 [SEC] Hole in PHPLib 7.2 prepend.php3 mailing-list
- 20010726 TSLSA-2001-0014 - PHPLib mailing-list
- 3079 vdb-entry