CVE-2017-7620: MantisBT CSRF and Open Redirect Vulnerability

mantisbt/mantisbt Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
6.5

CVE-2017-7620: MantisBT vulnerable to CSRF and Open Redirect attacks. Affects mantisbt/mantisbt across 3 version ranges.

< 1.3.11 >= 2.0.0, < 2.3.3 >= 2.4.0, < 2.4.1

Fixed in 1.3.11, 2.3.3 or 2.4.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MantisBT is an open-source bug tracking system that helps teams manage software development projects by tracking issues and bugs. It provides features such as issue tracking, project management, and reporting. However, certain versions of MantisBT are vulnerable to CSRF and Open Redirect attacks, which can compromise the integrity of the application and its users.

Vulnerability Detail

The vulnerability arises from a lack of proper validation in the string_api.php file in MantisBT versions before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1. This oversight allows an attacker to exploit the application by injecting arbitrary permalinks through CSRF attacks on the permalink_page.php?url= URI. Additionally, it enables open redirects via the login_page.php?return= URI, potentially leading users to malicious sites. The conflicting interpretations of an initial backslash in URLs can lead to unauthorized access and manipulation of user sessions.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.3.11 1.3.11
    composer require mantisbt/mantisbt:1.3.11
  • >= 2.0.0, < 2.3.3 2.3.3
    composer require mantisbt/mantisbt:2.3.3
  • >= 2.4.0, < 2.4.1 2.4.1
    composer require mantisbt/mantisbt:2.4.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, ensure that users are educated about the risks of clicking on untrusted links and consider implementing additional security measures such as CSRF tokens for sensitive actions until the software can be updated.

Conclusion

The MantisBT vulnerability CVE-2017-7620 poses significant risks through CSRF and Open Redirect attacks. It is crucial for users to update to the latest versions to protect their applications and users from potential exploitation. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain application security.

See every vulnerability recorded for mantisbt/mantisbt →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.

MantisBT versions before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

CSRF (Cross-Site Request Forgery) attacks trick users into executing unwanted actions on a web application in which they are authenticated, while Open Redirect attacks redirect users to malicious sites.

If immediate updates are not possible, implement security measures such as user education and additional validation checks to mitigate the risks.

Related vulnerabilities

Recent vulnerabilities recorded for mantisbt/mantisbt.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.3.11 1.3.11
    composer require mantisbt/mantisbt:1.3.11
  • >= 2.0.0, < 2.3.3 2.3.3
    composer require mantisbt/mantisbt:2.3.3
  • >= 2.4.0, < 2.4.1 2.4.1
    composer require mantisbt/mantisbt:2.4.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback