TITLE: Xoops Local File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA20176 VERIFY ADVISORY: http://secunia.com/advisories/20176/ CRITICAL: Moderately critical IMPACT: Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: Xoops 2.x http://secunia.com/product/327/ DESCRIPTION: rgod has reported two vulnerabilities in Xoops, which can be exploited by malicious people to disclose sensitive information and potentially compromise a vulnerable system. Input passed to the "xoopsConfig" array parameter when the "xoopsOption[nocommon]" parameter is defined isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. Examples: http://[host]/misc.php?xoopsOption[nocommon]=1&xoopsConfig[language]=[file]%00 http://[host]/index.php?xoopsOption[nocommon]=1&xoopsConfig[theme_set]=[file]%00 Successful exploitation requires that "register_globals" is enabled and that "magic_quotes_gpc" is disabled. This can further be exploited to include PHP code injected into Apache web logs or include PHP code injected into uploaded avatar images (requires that avatar upload support is enabled and knowledge of the uploaded filename). The vulnerabilities have been reported in version 2.0.13.2. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified. Set "register_globals" to "Off". PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://milw0rm.com/exploits/1811 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------