CVE-2014-7146
Description
The XmlImportExport plugin in MantisBT 1.2.17 and earlier allows remote attackers to execute arbitrary PHP code via a crafted (1) description field or (2) issuelink attribute in an XML file, which is not properly handled when executing the preg_replace function with the e modifier.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (2)
Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (1)
Metasploit modules
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mantisbt | mantisbt | 1.2.17 | |
References
- http://seclists.org/oss-sec/2014/q4/576
- http://secunia.com/advisories/62101
- http://www.debian.org/security/2015/dsa-3120
- http://www.mantisbt.org/bugs/view.php?id=17725
- http://www.securityfocus.com/bid/70993
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98572
- https://github.com/mantisbt/mantisbt/commit/84017535
- https://github.com/mantisbt/mantisbt/commit/bed19db9
- http://seclists.org/oss-sec/2014/q4/576
- http://secunia.com/advisories/62101
- http://www.debian.org/security/2015/dsa-3120
- http://www.mantisbt.org/bugs/view.php?id=17725
- http://www.securityfocus.com/bid/70993
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98572
- https://github.com/mantisbt/mantisbt/commit/84017535
- https://github.com/mantisbt/mantisbt/commit/bed19db9
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.