CVE-2017-12061
Last modified
CVE-2017-12061 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. EPSS estimates a 2.95% chance of exploitation in the next 30 days.
Description
An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mantisbt | Mantisbt | >= 1.3.0, < 1.3.12 |
| Mantisbt | Mantisbt | >= 2.0.0, < 2.5.2 |
References
- http://openwall.com/lists/oss-security/2017/08/01/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2017/08/01/2Mailing List, Third Party Advisory
- http://www.securitytracker.com/id/1039030Third Party Advisory, VDB Entry
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0Patch, Third Party Advisory
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5Patch, Third Party Advisory
- https://mantisbt.org/bugs/view.php?id=23146Issue Tracking, Vendor Advisory
- http://openwall.com/lists/oss-security/2017/08/01/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2017/08/01/2Mailing List, Third Party Advisory
- http://www.securitytracker.com/id/1039030Third Party Advisory, VDB Entry
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0Patch, Third Party Advisory
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5Patch, Third Party Advisory
- https://mantisbt.org/bugs/view.php?id=23146Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12061?
How severe is CVE-2017-12061?
How do I fix CVE-2017-12061?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-1200IBM BigFix Compliance 1.7 through 1.9.91 (TEMA SUAv1 SCA SCM…3.7
- CVE-2017-1201IBM BigFix Compliance Analytics 1.9.79 (TEMA SUAv1 SCA SCM) …
- CVE-2017-1202IBM BigFix Compliance 1.7 through 1.9.91 (TEMA SUAv1 SCA SCM…5.4
- CVE-2017-1203IBM Tivoli Endpoint Manager (for Lifecycle/Power/Patch) Plat…
- CVE-2017-1204IBM Tealeaf Customer Experience 8.7, 8.8, and 9.0.2 contains…
- CVE-2017-1205IBM Platform LSF 10.1 contains an unspecified vulnerability …
- CVE-2017-12062An XSS issue was discovered in manage_user_page.php in Manti…
- CVE-2017-12064The csv_log_html function in library/edihistory/edih_csv_inc…
- CVE-2017-12065spikekill.php in Cacti before 1.1.16 might allow remote atta…
- CVE-2017-12066Cross-site scripting (XSS) vulnerability in aggregate_graphs…
- CVE-2017-12067Potrace 1.14 has a heap-based buffer over-read in the interp…
- CVE-2017-12068The Event List plugin 0.7.9 for WordPress has XSS in the slu…
Are you affected by CVE-2017-12061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
