{"id":"CVE-2014-7146","published":"2014-11-18T15:00:00Z","modified":"2024-08-06T12:40:19Z","title":"The XmlImportExport plugin in MantisBT 1.2.17 and earlier allows remote attackers to execute arbitrary PHP code via a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.50561,"percentile":0.98944,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/70993","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.mantisbt.org/bugs/view.php?id=17725","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/commit/bed19db9","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98572","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/mantisbt/mantisbt/commit/84017535","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/62101","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://seclists.org/oss-sec/2014/q4/576","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2015/dsa-3120","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.79},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2014-11-18"},"metasploit":[{"name":"MantisBT XmlImportExport Plugin PHP Code Injection Vulnerability","module":"exploit/multi/http/mantisbt_php_exec","type":"exploit","disclosureDate":"2014-11-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/mantisbt_php_exec.rb"}],"first":{"date":"2014-11-08","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/mantisbt_php_exec.rb"},"provenance":"source"},"euvd":{"id":"EUVD-2014-7023","exploited":false,"provenance":"source"},"exploits":[{"id":35283,"url":"https://www.exploit-db.com/exploits/35283","title":"Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (2)","date":"2014-11-18","verified":true,"provenance":"source"},{"id":41685,"url":"https://www.exploit-db.com/exploits/41685","title":"Mantis Bug Tracker 1.2.0a3 < 1.2.17 XmlImportExport Plugin - PHP Code Injection (Metasploit) (1)","date":"2014-11-18","verified":true,"provenance":"source"}],"lineage":{"familyId":"fam-mantisbt-cve-2012-1119","parents":[{"from":"CVE-2012-1119","to":"CVE-2014-7146","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/bug_api.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/dea7e315f3fc96dfa995e56e8810845fc07a47aa","https://github.com/mantisbt/mantisbt/commit/cf5df427f17cf9204645f83e000665780eb9afe6","https://github.com/mantisbt/mantisbt/commit/bed19db954359043515300c995ebc40ebb97265a","https://github.com/mantisbt/mantisbt/commit/84017535f8718685d755d58af7a39d80f52ffca8"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2014-7146","to":"CVE-2014-8598","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugins/XmlImportExport/pages/export.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/bed19db954359043515300c995ebc40ebb97265a","https://github.com/mantisbt/mantisbt/commit/84017535f8718685d755d58af7a39d80f52ffca8","https://github.com/mantisbt/mantisbt/commit/80a15487cda89afb00ce866da8e24d76808dcdb4"],"basis":"rarely changed file"}]},{"from":"CVE-2014-7146","to":"CVE-2014-9117","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/constant_inc.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/bed19db954359043515300c995ebc40ebb97265a","https://github.com/mantisbt/mantisbt/commit/84017535f8718685d755d58af7a39d80f52ffca8","https://github.com/mantisbt/mantisbt/commit/7bb78e4581ff1092c811ea96582fe602624cdcdd"],"basis":"rarely changed file"}]},{"from":"CVE-2014-7146","to":"CVE-2017-6973","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/constant_inc.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/bed19db954359043515300c995ebc40ebb97265a","https://github.com/mantisbt/mantisbt/commit/84017535f8718685d755d58af7a39d80f52ffca8","https://github.com/mantisbt/mantisbt/commit/034cd07b47af37366fc7b726cb4a4f971d3d3fb9","https://github.com/mantisbt/mantisbt/commit/15e52e84c389afe8b03ed3cdb59b6549257ed197"],"basis":"rarely changed file"}]},{"from":"CVE-2014-7146","to":"CVE-2025-46556","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/bug_api.php","core/bugnote_api.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/bed19db954359043515300c995ebc40ebb97265a","https://github.com/mantisbt/mantisbt/commit/84017535f8718685d755d58af7a39d80f52ffca8","https://github.com/mantisbt/mantisbt/commit/c99a41272532ba49b5c8dccb7797afead9864234","https://github.com/mantisbt/mantisbt/commit/d5cec6bffb44d54bd412c186b9baa409b1aa4238"],"basis":"shared function","functions":["bugnote_add"]}]}]}}