Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335850 (CVE-2010-2574) - <www-apps/mantisbt-1.2.3: Multiple XSS Vulnerabilities (CVE-2010-{2574,3070,3303})
Summary: <www-apps/mantisbt-1.2.3: Multiple XSS Vulnerabilities (CVE-2010-{2574,3070,3...
Status: RESOLVED FIXED
Alias: CVE-2010-2574
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://www.mantisbt.org/bugs/view.php...
Whiteboard: B4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 18:40 UTC by Tim Sammut (RETIRED)
Modified: 2010-10-08 23:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Sammut (RETIRED) gentoo-dev 2010-09-03 18:40:52 UTC
From $url:

The following vulnerabilities were found in Mantis (Version 1.2.2).

1. XSS in "/mantisbt_1_2_2/api/soap/mantisconnect.php"
URI was set to 1<ScRiPt>prompt(923395)</ScRiPt>
The input is reflected inside a text element.
The input is reflected inside a tag element between double quotes.

Sample HTTP request to reproduce the problem:

GET /mantisbt_1_2_2/api/soap/mantisconnect.php/1%3CScRiPt%3Eprompt(923395)%3C/ScRiPt%3E HTTP/1.1
Cookie: PHPSESSID=4a181a89451adb7b5d459ea3252b1f4a; MANTIS_secure_session=0; MANTIS_PROJECT_COOKIE=0
Host: webapps7:80
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)
Comment 1 Tim Sammut (RETIRED) gentoo-dev 2010-09-03 18:45:10 UTC
Found another XSS in www-apps/mantisbt-1.2.2:

CVE-2010-2574 (http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-2574)
Cross-site scripting (XSS) vulnerability in manage_proj_cat_add.php in MantisBT 1.2.2 allows remote authenticated administrators to inject arbitrary web script or HTML via the name parameter in an Add Category action.

This is not the same issue as described in $url.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2010-09-03 21:48:10 UTC
CVE-2010-2574 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2574):
  Cross-site scripting (XSS) vulnerability in manage_proj_cat_add.php
  in MantisBT 1.2.2 allows remote authenticated administrators to
  inject arbitrary web script or HTML via the name parameter in an Add
  Category action.

Comment 3 David Hicks 2010-09-09 04:10:34 UTC
The main concern with MantisBT 1.2.2 is the NuSOAP/mantisconnect vulnerability.

This is actually an upstream issue with the NuSOAP project that has yet to be patched. Reference: http://sourceforge.net/projects/nusoap/forums/forum/193579/topic/3834005

MantisBT bundles NuSOAP and as Gentoo doesn't have a dedicated nusoap package, Gentoo's MantisBT ebuild relies upon the bundled version. Saying that, upstream hasn't released a new build either (although Debian and RedHat have already patched their own packages).

The MantisBT project plans to release a 1.2.3 build shortly to address the bundled NuSOAP XSS issue. The other XSS issues in MantisBT 1.2.2 are not as significant because they require elevated access.
Comment 4 David Hicks 2010-09-09 04:13:17 UTC
Also, if you can't wait for a 1.2.3 release, patches for all these MantisBT 1.2.2 XSS issues have been available for weeks in the repository at http://git.mantisbt.org/?p=mantisbt.git;a=sahortlog;h=refs/heads/master-1.2.x

They should apply cleanly on top of the 1.2.2 release.
Comment 5 David Hicks 2010-09-15 00:30:38 UTC
MantisBT 1.2.3 has been released to fix this XSS vulnerabilitiy in the bundled version of NuSOAP (and another few minor XSS issues).

http://sourceforge.net/mailarchive/message.php?msg_name=4C8FC573.3060900%40leetcode.net

http://sourceforge.net/projects/mantisbt/files/
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-09-15 06:46:06 UTC
Thank you guys. New version is in the tree. Arch teams, please, stabilize.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-09-15 14:26:21 UTC
stable x86
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-09-18 09:02:01 UTC
amd64 done
Comment 9 Tim Sammut (RETIRED) gentoo-dev 2010-09-19 05:06:56 UTC
CVEs CVE-2010-3070 and CVE-2010-3303 have also been assigned to these vulnerabilities.
Comment 10 Brent Baude (RETIRED) gentoo-dev 2010-10-08 19:49:17 UTC
ppc done
Comment 11 Tim Sammut (RETIRED) gentoo-dev 2010-10-08 19:56:02 UTC
GLSA Vote: No, some of the issues require an authenticated attacker with administrator privileges, the other is an unauthenticated reflected XSS.
Comment 12 Stefan Behte (RETIRED) gentoo-dev Security 2010-10-08 23:31:01 UTC
XSS in Webapp -> closing noglsa.