Secunia Research: MantisBT "Add Category" Script Insertion Vulnerability

2010-08-08T00:00:00
ID SECURITYVULNS:DOC:24425
Type securityvulns
Reporter Securityvulns
Modified 2010-08-08T00:00:00

Description

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

                 Secunia Research 05/08/2010

  - MantisBT "Add Category" Script Insertion 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 References...........................................................8 About Secunia........................................................9 Verification........................................................10

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

  • MantisBT 1.2.2

NOTE: Other versions may also be affected.

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

Rating: Less critical Impact: Cross Site Scripting Where: From remote

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

"MantisBT is a free popular web-based bugtracking system. It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver."

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

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

Secunia Research has discovered a vulnerability in MantisBT, which can be exploited by malicious users to conduct script insertion attacks.

Input passed via the "name" parameter to manage_proj_cat_add.php when creating a project category is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.

Successful exploitation requires "manager" permissions.

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

Fixed in the GIT repository.

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

03/08/2010 - Vendor notified. 04/08/2010 - Vendor response. 05/08/2010 - Vendor releases patch in GIT repository. 05/08/2010 - Public disclosure.

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

Discovered by Secunia Research.

====================================================================== 8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned CVE-2010-2574 for the vulnerability.

====================================================================== 9) About Secunia

Secunia offers vulnerability management solutions to corporate customers with verified and reliable vulnerability intelligence relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory database as a service to the security community and private individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to do active vulnerability research in order to aid improving the security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

====================================================================== 10) Verification

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

Complete list of vulnerability reports published by Secunia Research: http://secunia.com/secunia_research/

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