GHSA-9x76-mp7r-2xc5

Suggest an improvement
Source
https://github.com/advisories/GHSA-9x76-mp7r-2xc5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9x76-mp7r-2xc5/GHSA-9x76-mp7r-2xc5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9x76-mp7r-2xc5
Aliases
Published
2022-05-17T02:34:08Z
Modified
2025-04-22T19:27:13.460681Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
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 stringapi.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 permalinkpage.php?url= URI and (2) an open redirect via a login_page.php?return= URI.

Database specific
{
    "nvd_published_at": "2017-05-21T14:29:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-22T18:44:43Z"
}
References

Affected packages

Packagist / mantisbt/mantisbt

Package

Name
mantisbt/mantisbt
Purl
pkg:composer/mantisbt/mantisbt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.11

Packagist / mantisbt/mantisbt

Package

Name
mantisbt/mantisbt
Purl
pkg:composer/mantisbt/mantisbt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.3.3

Affected versions

2.*

2.3.0
2.3.1
2.3.2

Packagist / mantisbt/mantisbt

Package

Name
mantisbt/mantisbt
Purl
pkg:composer/mantisbt/mantisbt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.4.0
Fixed
2.4.1

Affected versions

2.*

2.4.0