Description
The domecode function in inc/functions_post.php in MyBulletinBoard (MyBB) 1.1.2, and possibly other versions, allows remote attackers to execute arbitrary PHP code via the username field, which is used in a preg_replace function call with a /e (executable) modifier.
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
- MyBulletinBoard (MyBB) < 1.1.3 - Remote Code Execution EDB-1909 · webapps · Jun 13, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 1086 third-party-advisory
- 1016270 vdb-entry
- 20060612 Secunia Research: MyBB "domecode()" PHP Code ExecutionVulnerability mailing-list
- 18396 vdb-entry
- 20371 third-party-advisory
- ADV-2006-2288 vdb-entry
- 26216 vdb-entry
- 20060613 Proof of concept: mybb 1.1.2 remote code execution mailing-list
- mybb-domecode-code-execution(27046) vdb-entry
- http://secunia.com/secunia_research/2006-40/advisory/
- http://www.514.es/download/mybibi.pl