CVE-2014-7146
Status: ModifiedHigh (7.5)—💥 Exploit
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.
CVSS
- Version: 2.0
- Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
- Base score: 7.5
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 51%
- Percentile among all scored CVEs: 99
- Score date: 10/7/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
💥 Public exploits
Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.
- Metasploit module (reliable, widely available exploit) · MantisBT XmlImportExport Plugin PHP Code Injection Vulnerability
- Published on Exploit-DB · Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (2) (11/18/2014)
- Published on Exploit-DB · Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (1) (11/18/2014)
Affected technologies (1)
CWEs
- CWE-20
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
Raw JSON (NVD)
Show
{
"id": "CVE-2014-7146",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2014-11-18T15:59:02.500",
"references": [
{
"url": "http://seclists.org/oss-sec/2014/q4/576",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/62101",
"source": "cve@mitre.org"
},
{
"url": "http://www.debian.org/security/2015/dsa-3120",
"source": "cve@mitre.org"
},
{
"url": "http://www.mantisbt.org/bugs/view.php?id=17725",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/70993",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/98572",
"source": "cve@mitre.org"
},
{
"url": "https://github.com/mantisbt/mantisbt/commit/84017535",
"tags": [
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://github.com/mantisbt/mantisbt/commit/bed19db9",
"tags": [
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://seclists.org/oss-sec/2014/q4/576",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/62101",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2015/dsa-3120",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mantisbt.org/bugs/view.php?id=17725",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/70993",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/98572",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/mantisbt/mantisbt/commit/84017535",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/mantisbt/mantisbt/commit/bed19db9",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "El plugin XmlImportExport en MantisBT 1.2.15 y versiones anteriores, permite a atacantes remotos ejecutar código arbitrario PHP a mediante campos de descripción o modificaciones en el atributo issuelink en ficheros XML, que no es correctamente gestionada cuando se ejecuta la función preg_replace con el modidicador."
}
],
"lastModified": "2026-06-17T00:14:26.920",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:mantisbt:mantisbt:1.2.17:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4C54ABCB-AD1B-4C34-927A-D9D560EA4C07"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}