Advisory

GHSA-9x76-mp7r-2xc5

Also known as: CVE-2017-7620

Summary

MantisBT vulnerable to CSRF and Open Redirect attacks

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 02:34 UTC
Modified
2025-04-22 19:27 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 1.3.11 (ecosystem)

Fixed versions

1.3.11

Fix

The export has no generic command for this ecosystem.

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.3.3 (ecosystem)

Fixed versions

2.3.3

Fix

The export has no generic command for this ecosystem.

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.4.0, fixed 2.4.1 (ecosystem)

Fixed versions

2.4.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences