Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Sat, 08 Nov 2014 00:07:03 +0100
From: Damien Regad <>
Cc: Egidio Romano <>
Subject: CVE-2014-7146: MantisBT XmlImportExport plugin PHP Code Injection

Egidio "EgiX" Romano discovered a vulnerability in the MantisBT XML 
import plugin, and reserved CVE-2014-7146 for it.

This message provides details on the issue, including resolution. Kindly 
update the CVE database accordingly.


When importing data with the plugin, user input passed through the 
"description" field (and the "issuelink" attribute) of the uploaded XML 
file isn't properly sanitized before being used in a call to the 
preg_replace() function which uses the 'e' modifier. This can be 
exploited to inject and execute arbitrary PHP code when the 
Import/Export plugin is installed.

The XML Import/Export "official" plugin comes bundled with MantisBT 

Affected versions:
>= 1.2.0a3, <= 1.2.17

Fixed in versions:
1.2.18 (not yet released)

See Github [4]

This fix is a backport of an existing commit [1] from master branch, 
which has been confirmed as addressing the issue.

Issue was discovered by Egidio Romano (
Original fix (master branch) by Dominik Blunk
Backporting fix to 1.2.x branch by Damien Regad (MantisBT Developer)

Further details available in our issue tracker [2]
See also related issue/vulnerability [3] (CVE-2014-8598)


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.