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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.securityfocus.com/archive/1/434698/100/0/threaded | mailing list |
http://www.osvdb.org/25683 | vdb entry |
http://secunia.com/advisories/20176 | vendor advisory third party advisory exploit |
http://www.securityfocus.com/bid/18061 | vdb entry exploit |
https://www.exploit-db.com/exploits/1811 | exploit |
http://www.vupen.com/english/advisories/2006/1895 | vdb entry vendor advisory |
http://securityreason.com/securityalert/934 | third party advisory |