English
The Internet threat alert status is currently normal. At present, no major epidemics or other serious incidents have been recorded by Kaspersky Lab’s monitoring service. Internet threat level: 1

MantisBT Cross-Site Scripting and Script Insertion Vulnerabilities


Secunia ID

SA51853

CVE-ID

CVE-2013-0197

Release Date

18 Jan 2013

Last Change

31 Jan 2014

Criticality

Less Critical

Solution Status

Vendor Patch

Software

MantisBT 1.x

Where

From remote

Impact
Cross-Site Scripting

Cross-Site Scripting vulnerabilities allow a third party to manipulate the content or behaviour of a web application in a user's browser, without compromising the underlying system.

Different Cross-Site Scripting related vulnerabilities are also classified under this category, including "script insertion" and "cross-site request forgery".

Cross-Site Scripting vulnerabilities are often used against specific users of a website to steal their credentials or to conduct spoofing attacks.

Description

Two vulnerabilities have been discovered in MantisBT, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "match_type" POST parameter in search.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

This vulnerability is confirmed in version 1.2.12. Prior versions may also be affected.

2) Input passed via the "name" parameter to manage_proj_cat_add.php when creating a category is not properly sanitised in core/summary_api.php 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 in the summary.

Successful exploitation of this vulnerability requires "Manager" permissions.

This vulnerability is related to:
SA40832

This vulnerability is confirmed in version 1.2.12.

Solution

Update to version 1.2.13.

Reported by

1) Jakub Galczyk, HauntIT
2) Roland Becker

Original Advisory

MantisBT:
http://www.mantisbt.org/bugs/view.php?id=15373
http://www.mantisbt.org/bugs/view.php?id=15384

Jakub Galczyk:
http://hauntit.blogspot.de/2013/01/en-mantis-bug-tracker-1212-persistent.html