CVE-2017-7620 MantisBT vulnerable to CSRF and Open Redirect attacks
Attackers can exploit open redirects and permalink injection in MantisBT to bypass security controls or facilitate account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-7620?
CVE-2017-7620 is a medium-severity vulnerability in Mantisbt Mantisbt, published on 21 May 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-352
Which versions are affected by CVE-2017-7620?
6 open source packages ship an affected version, including mantisbt/mantisbt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mantisbt/mantisbt Packagist | All versions | 1.3.11 |
mantisbt/mantisbt Packagist | All versions | 1.3.11 |
mantisbt/mantisbt Packagist | From 2.0.0 | 2.3.3 |
mantisbt/mantisbt Packagist | From 2.0.0 | 2.3.3 |
mantisbt/mantisbt Packagist | From 2.4.0 | 2.4.1 |
mantisbt/mantisbt Packagist | From 2.4.0 | 2.4.1 |
Products include Mantisbt Mantisbt.
How do I fix CVE-2017-7620?
Upgrade mantisbt/mantisbt to a fixed version for your release line: 1.3.11, 2.3.3 or 2.4.1.
Is CVE-2017-7620 being exploited?
There is no known exploitation of CVE-2017-7620 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Mantisbt Mantisbt
- CVE-2019-15074 MantisBT allows cross-site scripting (XSS) via crafted filename
- CVE-2026-30849 MantisBT SOAP API has an authentication bypass vulnerability on MySQL
- CVE-2025-47776 MantisBT: Authentication bypass for some passwords due to PHP type juggling
- CVE-2017-7615 MantisBT allows arbitrary password reset
- CVE-2026-33517 MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Sources
Also known as GHSA-9x76-mp7r-2xc5.