SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   Limbo CMS Vendors:   limbo-cms.com
Limbo CMS Input Validation Holes Let Remote Users Include Local Files, Execute SQL Commands, and Execute Arbitrary Code
SecurityTracker Alert ID:  1015364
SecurityTracker URL:  http://securitytracker.com/id/1015364
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 15 2005
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 1.0.4.2 and prior versions
Description:   rgod reported a vulnerability in Limbo CMS. A remote user can include and execute local PHP files. A remote user can determine the installation path. A remote user can inject SQL commands, which can be exploited to execute arbitrary code on the target system.

If register_globals is disabled, a remote user can supply specially crafted parameter values to overwrite the _SERVER[] & _SERVER[REMOTE_ADDR] values. If the system uses MySQL for database storage, a remote user can supply specially crafted parameter values to execute SQL commands on the underlying database. This can be exploited to write PHP code to a local file. Then, the remote user can invoke the file to cause the PHP code to be executed.

A demonstration exploit URL is provided:

http://[target]/[path]/index.php?_SERVER[]&_SERVER[REMOTE_ADDR]=999'UNION%20SELECT
%20null,'<?php%20system($_G','ET[cmd]);?>'%20INTO%20DUMPFILE
%20'[full_application_path]shell.php'%20FROM
%20lm_simple_stats/*&option=weblinks&Itemid=999/*

A remote user can also create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Limbo CMS software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit URL is provided:

http://[target]/[path]/?_SERVER[]=&_SERVER[REMOTE_ADDR]=<script>alert(document.cookie)</script>

A remote user can include and execute arbitrary PHP files located on the target system. A demonstration exploit URL is provided:

http://[target]/[path_to_limbo]/index2.php?option=frontpage/../../../../../../../../../../../script

A remote user can directly request the following URLs to cause the system to disclose the installation path:

http://[target]/[path_to_limbo]/admin/classes/minixml/classes/doc.inc.php
http://[target]/[path_to_limbo]/admin/classes/minixml/classes/element.inc.php
http://[target]/[path_to_limbo]/admin/classes/minixml/classes/node.inc.php

The original advisory is available at:

http://rgod.altervista.org/limbo1042_xpl.html

Impact:   A remote user can include and execute local PHP files.

A remote user can determine the installation path.

A remote user can execute SQL commands on the underlying database. This can be exploited to execute arbitrary code on the target system.

A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Limbo CMS software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.limbo-cms.com/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  LIMBO CMS <= v1.0.4.2 _SERVER[] array overwrite / remote code execution

http://rgod.altervista.org/limbo1042_xpl.html

rgod
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC