{"id":"CVE-2017-7620","published":"2017-05-21T14:00:00Z","modified":"2024-08-05T16:12:27Z","title":"MantisBT before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1 omits a backslash check in string_api.php and…","vendor":null,"product":null,"tier":"tail","description":{"text":"MantisBT before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1 omits a backslash check in string_api.php and consequently has conflicting interpretations of an initial \\/ substring as introducing either a local pathname or a remote hostname, which leads to (1) arbitrary Permalink Injection via CSRF attacks on a permalink_page.php?url= URI and (2) an open redirect via a login_page.php?return= URI.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01359,"percentile":0.72373,"provenance":"source"},"cwes":[],"references":[{"url":"https://mantisbt.org/bugs/view.php?id=22816","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038538","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.exploit-db.com/exploits/42043/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://mantisbt.org/bugs/view.php?id=22702","tags":["x_refsource_CONFIRM"]},{"url":"http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt","tags":["x_refsource_MISC"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":14.47},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-05-20"},"first":{"date":"2017-05-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/42043"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":["<1.3.11",">=2.0.0, <2.3.3",">=2.4.0, <2.4.1"],"patched":["1.3.11","2.3.3","2.4.1"],"from":["GHSA-9x76-mp7r-2xc5"],"provenance":"source"}],"summary":{"text":"MantisBT (before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1) has a flaw in string_api.php, where a missing backslash check causes an initial \"\\/\" substring to be read inconsistently as either a local pathname or a remote hostname. An attacker can exploit this through a cross-site request forgery against the permalink_page.php?url= parameter to inject arbitrary permalinks, or through the login_page.php?return= parameter to perform an open redirect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:07Z"},"euvd":{"id":"EUVD-2017-16625","exploited":false,"provenance":"source"},"exploits":[{"id":42043,"url":"https://www.exploit-db.com/exploits/42043","title":"Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery","date":"2017-05-20","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/42043/","https://www.exploit-db.com/exploits/42043"],"lineage":{"familyId":"fam-mantisbt-mantisbt-cve-2011-2938","parents":[{"from":"CVE-2011-2938","to":"CVE-2017-7620","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/filter_api.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/317f3db3a3c68775de3acf3b15f55b1e3c18f93b","https://github.com/mantisbt/mantisbt/commit/2d2309a384bcd9d4b6d7d2928e8ded2c46d2d7b0","https://github.com/mantisbt/mantisbt/commit/8b6787c8d321ee0ced5fb74ac3f34b67b4b7b26c"],"basis":"shared function","functions":["filter_draw_selection_area2"]}]},{"from":"CVE-2014-6316","to":"CVE-2017-7620","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/string_api.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/e66ecc9f886a97a3b54a8bdaa9afbfa6902f1d9a","https://github.com/mantisbt/mantisbt/commit/2d2309a384bcd9d4b6d7d2928e8ded2c46d2d7b0","https://github.com/mantisbt/mantisbt/commit/8b6787c8d321ee0ced5fb74ac3f34b67b4b7b26c"],"basis":"shared function","functions":["string_sanitize_url"]}]}],"children":[{"from":"CVE-2017-7620","to":"CVE-2014-9701","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/string_api.php"],"commits":["https://github.com/mantisbt/mantisbt/commit/d95f070db852614fa18ccca6a4f12f4bffede1fd","https://github.com/mantisbt/mantisbt/commit/e7e2b5503580e42db9d91e0d599d61d3ff03c27e","https://github.com/mantisbt/mantisbt/commit/2d2309a384bcd9d4b6d7d2928e8ded2c46d2d7b0","https://github.com/mantisbt/mantisbt/commit/8b6787c8d321ee0ced5fb74ac3f34b67b4b7b26c"],"basis":"shared function","functions":["string_sanitize_url"]}]}],"packageHistory":[{"cve":"CVE-2017-7309","published":"2017-03-31","fixed":"2.2.3","kev":false},{"cve":"CVE-2017-7615","published":"2017-04-16","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2017-7615","to":"CVE-2017-7620","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"1.3.10","toFixed":"1.3.11","daysApart":35}]}},{"cve":"CVE-2017-7897","published":"2017-04-18","fixed":"2.3.2","kev":false,"link":{"from":"CVE-2017-7897","to":"CVE-2017-7620","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.3.2","toFixed":"2.3.3","daysApart":33}]}},{"cve":"CVE-2017-7620","published":"2017-05-21","fixed":"2.4.1","kev":false},{"cve":"CVE-2017-12061","published":"2017-08-01","fixed":"2.5.2","kev":false,"link":{"from":"CVE-2017-7620","to":"CVE-2017-12061","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.4.1","toFixed":"2.5.2","daysApart":72},{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"1.3.11","toFixed":"1.3.12","daysApart":72}]}},{"cve":"CVE-2017-12062","published":"2017-08-01","fixed":"2.5.2","kev":false,"link":{"from":"CVE-2017-7620","to":"CVE-2017-12062","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.4.1","toFixed":"2.5.2","daysApart":72}]}},{"cve":"CVE-2018-13055","published":"2018-08-03","fixed":"2.15.1","kev":false}],"package":"Packagist:mantisbt/mantisbt"}}