MantisBT vulnerable to CSRF and Open Redirect attacks
Moderate severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Apr 22, 2025
Package
Affected versions
< 1.3.11
>= 2.0.0, < 2.3.3
>= 2.4.0, < 2.4.1
Patched versions
1.3.11
2.3.3
2.4.1
Description
Published by the National Vulnerability Database
May 21, 2017
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Apr 22, 2025
Last updated
Apr 22, 2025
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.
References