Description
prefs.php in phpBB 1.4.0 and earlier allows remote authenticated users to execute arbitrary PHP code via an invalid language value, which prevents the variables (1) $l_statsblock in prefs.php or (2) $l_privnotify in auth.php from being properly initialized, which can be modified by the user and later used in an eval statement.
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
- phpBB 1.x - Page Header Arbitrary Command Execution EDB-21065 · webapps · Jul 31, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20010804 Re: phpBB 1.4.0 bug leads to easy admin privileges mailing-list
- 20010810 Easily and Remotely Pipe a Covert Shell on phpBB version 1.4.0 and below mailing-list
- phpbb-admin-access(6944) vdb-entry
- VU#920931 third-party-advisory
- 3167 vdb-entry