18 Jan 2013
21 Jan 2013
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.
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. Other 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:
This vulnerability is confirmed in version 1.2.12.
Fixed in the GIT repository.
1) Jakub Galczyk, HauntIT