Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery EDB-42043 · webapps · May 20, 2017
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | mantisbt/mantisbt | < 1.3.11 | 1.3.11 | GHSA-9x76-mp7r-2xc5 |
| Packagist | mantisbt/mantisbt | >= 2.0.0, < 2.3.3 | 2.3.3 | GHSA-9x76-mp7r-2xc5 |
| Packagist | mantisbt/mantisbt | >= 2.4.0, < 2.4.1 | 2.4.1 | GHSA-9x76-mp7r-2xc5 |