Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2017-7620 EUVD-2017-16625GHSA-9x76-mp7r-2xc5

MantisBT vulnerable to CSRF and Open Redirect attacks

Published May 21, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References