CVE-2014-7146 Code injection in n/a

High 7.5 Published Updated

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.

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-7fwg-rf8j-m3gv.

Is CVE-2014-7146 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free