CVE-2017-7620 json
MantisBT vulnerable to CSRF and Open Redirect attacks
published 2017-05-21 9 y ago modified 2026-06-17 4 mo ago also GHSA-9x76-mp7r-2xc5 , EUVD-2017-16625
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- packagist mantisbt/mantisbt 1.3.11, 2.3.3, 2.4.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-7620 updated cvss 5.4
mantis: Permalink Injection via CSRF attacks on a permalink_page.php?url= URI
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-42043)
- Published
Exploit prediction
1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-42043 Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery webapps, 2017-05-20
- hyp3rlinx.altervista.org http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | <1.3.11 >=2.0.0, <2.3.3 >=2.4.0, <2.4.1 |
1.3.11 2.3.3 2.4.1 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/mantisbt/mantisbt/commit/2d2309a384bcd9d4b6d7d2928e8ded2c46d2d7b0
web
-
github.com
/mantisbt/mantisbt/commit/8b6787c8d321ee0ced5fb74ac3f34b67b4b7b26c
web
-
github.com
/mantisbt/mantisbt/commit/c4f50e5df6b189abb1d717a5f7dbab5cbfef8165
web
-
exploit-db.com
/exploits/42043/
exploit, third-party-advisory
-
hyp3rlinx.altervista.org
/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt
web, exploit, third-party-advisory
-
mantisbt.org
/bugs/view.php?id=22816
web, issue-tracking
-
securitytracker.com
/id/1038538
vdb-entry
-
mantisbt.org
/bugs/view.php?id=22702
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2017-7620
advisory
-
github.com
/mantisbt/mantisbt
package
-
exploit-db.com
/exploits/42043
web
Sources
- CVE List CVE-2017-7620
- GitHub Advisory GHSA-9x76-mp7r-2xc5
- NVD CVE-2017-7620
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.