Description
b2edit.showposts.php in B2 2.0.6pre2 and earlier does not properly load the b2config.php file in some configurations, which allows remote attackers to execute arbitrary PHP code via a URL that sets the $b2inc variable to point to a malicious program stored on a remote server.
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
- B2 0.6 - 'b2edit.showposts.php?b2inc' Remote File Inclusion EDB-21436 · webapps · May 6, 2002 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://cafelog.com/
- 4673 vdb-entry
- b2-b2inc-command-execution(9013) vdb-entry
- 20020506 b2 php remote command execution mailing-list