CVE-2017-7620 MantisBT vulnerable to CSRF and Open Redirect attacks

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
mantisbt/mantisbt PackagistAll versions1.3.11
mantisbt/mantisbt PackagistAll versions1.3.11
mantisbt/mantisbt PackagistFrom 2.0.02.3.3
mantisbt/mantisbt PackagistFrom 2.0.02.3.3
mantisbt/mantisbt PackagistFrom 2.4.02.4.1
mantisbt/mantisbt PackagistFrom 2.4.02.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.

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-9x76-mp7r-2xc5.

Is CVE-2017-7620 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free