CVE-2017-7620
MEDIUM 6.5CVSS 3.0MantisBT vulnerable to CSRF and Open Redirect attacks
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.
- Published
- 21 May 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-9x76-mp7r-2xc5
- Sources
- NVDJSONOSV GHSA-9x76-mp7r-2xc5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:* |
<= 1.3.10 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.2.0:*:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.2.2:*:*:*:*:*:*:* |
= 2.2.2 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.2.3:*:*:*:*:*:*:* |
= 2.2.3 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.2.4:*:*:*:*:*:*:* |
= 2.2.4 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| OSV | Packagist | mantisbt/mantisbt | < 1.3.11 | 1.3.11 |
| OSV | Packagist | mantisbt/mantisbt | >= 2.0.0, < 2.3.3 | 2.3.3 |
| OSV | Packagist | mantisbt/mantisbt | >= 2.4.0, < 2.4.1 | 2.4.1 |
References
- http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt · Exploit, Third Party Advisory, WEB
- http://www.securitytracker.com/id/1038538
- https://mantisbt.org/bugs/view.php?id=22702 · Issue Tracking, WEB
- https://mantisbt.org/bugs/view.php?id=22816 · Issue Tracking, WEB
- https://www.exploit-db.com/exploits/42043/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-7620 · ADVISORY
- https://github.com/mantisbt/mantisbt/commit/2d2309a384bcd9d4b6d7d2928e8ded2c46d2d7b0 · WEB
- https://github.com/mantisbt/mantisbt/commit/8b6787c8d321ee0ced5fb74ac3f34b67b4b7b26c · WEB
- https://github.com/mantisbt/mantisbt/commit/c4f50e5df6b189abb1d717a5f7dbab5cbfef8165 · WEB
- https://github.com/mantisbt/mantisbt · PACKAGE
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 21 May 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 May 2022)