CVE-2014-7146 Code injection in n/a
Remote attackers can execute arbitrary PHP code in MantisBT via crafted XML input in the XmlImportExport plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-7146?
CVE-2014-7146 is a high-severity code injection vulnerability in Mantisbt Mantisbt, published on 18 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2014-7146?
It affects 1 product.
Products include Mantisbt Mantisbt.
How do I fix CVE-2014-7146?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2014-7146 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-7146 exists.
Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.
Other vulnerabilities in Mantisbt Mantisbt
- CVE-2019-15074 MantisBT allows cross-site scripting (XSS) via crafted filename
- CVE-2026-30849 MantisBT SOAP API has an authentication bypass vulnerability on MySQL
- CVE-2025-47776 MantisBT: Authentication bypass for some passwords due to PHP type juggling
- CVE-2017-7615 MantisBT allows arbitrary password reset
- CVE-2026-33517 MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Sources
Also known as GHSA-7fwg-rf8j-m3gv.