Description
The XML Import/Export plugin in MantisBT 1.2.x does not restrict access, which allows remote attackers to (1) upload arbitrary XML files via the import page or (2) obtain sensitive information via the export page. NOTE: this issue can be combined with CVE-2014-7146 to execute arbitrary PHP code.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | mantis | 1.2.18-1 | DSA-3120-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
MantisBT XmlImportExport Plugin PHP Code Injection Vulnerability
exploit/multi/http/mantisbt_php_exec
Exploit-DB 1
- Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (1) EDB-41685 · webapps · Nov 18, 2014 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-3120-1 mantis - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/mantisbt/mantisbt/commit/80a15487
- [oss-security] 20141108 CVE-2014-8598: MantisBT XML Import/Export plugin unrestricted access mailing-list
- mantisbt-cve20148598-sec-bypass(98573) vdb-entry
- 70996 vdb-entry
- http://www.mantisbt.org/bugs/view.php?id=17780
- 62101 third-party-advisory
- DSA-3120 vendor-advisory