Multiple SQL injection vulnerabilities in view_all_bug_page.php in MantisBT before 1.2.18 allow remote attackers to execute arbitrary SQL commands via the (1) sort or (2) dir parameter to view_all_set.php.
https://www.mantisbt.org/bugs/view.php?id=17841
https://github.com/mantisbt/mantisbt/commit/b0021673ab23249244119bde3c7fcecd4daa4e7f
https://euvd.enisa.europa.eu/vulnerability/EUVD-2014-8915
http://www.securityfocus.com/bid/71298
http://www.openwall.com/lists/oss-security/2014/11/26/6
http://www.openwall.com/lists/oss-security/2014/11/25/14