Description
mainfile.php in XOOPS 2.0.13.2 and earlier, when register_globals is enabled, allows remote attackers to overwrite variables such as $xoopsOption['nocommon'] and conduct directory traversal attacks or include PHP files via (1) xoopsConfig[language] to misc.php or (2) xoopsConfig[theme_set] to index.php, as demonstrated by injecting PHP sequences into a log file.
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
- XOOPS 2.0.13.2 - 'xoopsOption[nocommon]' Remote Command Execution EDB-1811 · webapps · May 21, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060521 XOOPS <= 2.0.13.2 'xoopsOption[nocommon]' exploit mailing-list
- 25683 vdb-entry
- 20176 third-party-advisory
- 18061 vdb-entry
- 1811 exploit
- ADV-2006-1895 vdb-entry
- 934 third-party-advisory