Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSelf-register account on default MantisBT
-
DeliveryRead own MANTIS_STRING_COOKIE cookie value
-
ExploitSend SOAP login as 'administrator' with own cookie_string
-
ExecutionBypass password via missing ownership check
-
PersistGain full SOAP admin access
-
ImpactExfiltrate or destroy all project data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The affected component is the legacy SOAP API (Mantis Connect) endpoint at api/soap/mc_api.php - the REST API and Web UI are explicitly not vulnerable, so the SOAP API must be reachable. The attacker must know the target's username (the 'administrator' account name is a predictable default) and must possess any single valid cookie_string; on default installations this condition is trivially met because self-registration is enabled by default ($g_allow_signup = ON), letting an attacker generate their own valid cookie_string from a self-created account with zero prior access. Limiting factors that reduce exploitability: deployments with self-registration disabled require the attacker to already hold a valid (any-privilege) account to obtain a working cookie_string, and deployments that do not expose or have disabled the SOAP API are not exploitable at all. |
| Impact | No official CVSS score or vector is provided by NVD or the vendor (CVSS: N/A), and the vulnerability is not in CISA KEV, so exploitation-probability signals such as EPSS are unavailable. However, the technical facts point to critical real-world risk: exploitation is network-reachable via the SOAP endpoint, requires no password, and on default installations needs zero prior access because self-registration is on by default, allowing an attacker to mint their own valid cookie_string. My independent assessment is CVSS:3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) - full administrator compromise with high confidentiality, integrity, and availability impact. The one nuance is deployment-dependent: installations that disable self-registration and are not otherwise exposed to untrusted user accounts raise the practical bar to PR:L (a valid low-privileged account is then required), so real risk is highest for internet-facing default deployments. Absence of a published POC and KEV listing lowers the immediacy of mass exploitation, but the bug is simple and reliable enough that weaponization would be straightforward; this is a genuine high-priority patch, not a high-CVSS-but-low-real-risk case. |
| Exploit ScenarioDerived | An attacker visits an internet-facing MantisBT instance with default self-registration enabled, creates their own account, and reads their MANTIS_STRING_COOKIE value from the browser after logging in. They then send a SOAP request with username 'administrator' and their own cookie_string as the password/credential; mci_check_login() accepts it, and the attacker gains full administrator access to all 71 SOAP operations to exfiltrate every bug report, attachment, and user account, or delete projects and issues. No public exploit code is identified at time of analysis, but the attack requires only a standard SOAP client and is highly reliable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Privilege escalation to administrator in MantisBT 2.28.3 and earlier lets a low-privileged or self-registered user impersonate any account, including the administrator, through the SOAP API's flawed mci_check_login() function. Because the function accepts any valid cookie_string without checking that it belongs to the supplied username, an attacker who knows a target username (e.g. 'administrator') and possesses their own MANTIS_STRING_COOKIE can authenticate as that user without a password. With self-registration enabled by default ($g_allow_signup = ON), this is exploitable from zero prior access, granting full read/write and destructive control over all projects, issues, and user data. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the underlying bug is trivially reliable.
RemediationAI
Vendor-released patch: upgrade to MantisBT 2.28.4, which contains fix commit e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee adding a username-to-cookie ownership check in mci_check_login(). The advisory states there are no official workarounds, but if immediate upgrade is impossible, compensating controls include disabling the SOAP API entirely if it is not in use (the REST API and Web UI are unaffected and can continue to serve integrations), and disabling self-registration by setting $g_allow_signup = OFF to remove the zero-prior-access path - note this stops new users from registering and forces admin-created accounts, but does not fully close the hole for anyone who already holds a valid low-privileged account. Additionally restrict network access to the SOAP endpoint (api/soap/) to trusted hosts via reverse-proxy or firewall rules as a stopgap. Advisory and patch: https://github.com/mantisbt/mantisbt/security/advisories/GHSA-c2xg-qjqw-2v98 and https://github.com/mantisbt/mantisbt/commit/e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MantisBT is a widely used open-source PHP web-based bug tracker, distributed via Composer as mantisbt/mantisbt (CPE pkg:composer/mantisbt_mantisbt). The flaw resides in api/soap/mc_api.php, in the SOAP (Mantis Connect) authentication path. MantisBT maintains a per-user secret 'cookie_string' stored in the MANTIS_STRING_COOKIE browser cookie. The vulnerable mci_check_login() validated that the presented cookie_string corresponded to some valid user, but never verified that the resolved user identity matched the $p_username the client claimed to be - the classic CWE-287 (Improper Authentication) root cause. The patch (commit e3571c31) adds a strcasecmp() check comparing user_get_username() of the cookie's owner against the requested username, rejecting the login when they differ. Notably, only the legacy SOAP API is affected; the REST API's AuthMiddleware and the Web UI both derive the username server-side from the token/session cookie rather than trusting a client-supplied username, so they are immune to the same trick.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Default self-registration gives a zero-prior-access attacker a valid cookie_string (PR:N) over the network with low complexity, yielding full admin impersonation with high C/I/A.
Primary rating from Vendor (https://github.com/mantisbt/mantisbt).
CVSS VectorVendor: https://github.com/mantisbt/mantisbt
DescriptionCVE.org
MantisBT 2.28.3 and earlier contains a critical authentication bypass in the SOAP API's mci_check_login() function. Any user knowing any valid cookie_string can authenticate as any other user (knowing their username), including the administrator, without knowing the target's password.
The vulnerability is exploitable with zero prior access on default MantisBT installations because self-registration is enabled by default ($g_allow_signup = ON). A self-registered user can use their own cookie_string (readable from their browser's MANTIS_STRING_COOKIE cookie after login) to impersonate the administrator via the SOAP API.
The REST API is NOT affected. The REST API's AuthMiddleware derives the username server-side from the API token or session cookie, so the username cannot be spoofed.
The Web UI is NOT affected. The Web UI authenticates via PHP session cookies (PHPSESSID) and validates the MANTIS_STRING_COOKIE against the logged-in user through auth_is_cookie_valid(). The username is derived server-side from the cookie, not supplied by the client.
Impact
- Full administrator access to the SOAP API from zero prior access (with self-registration enabled, which is the default)
- Read/write all issues including private issues and notes across all projects
- Full data exfiltration of all bug reports, attachments, user accounts (id, name, email), and non-private configuration values via the 71 SOAP operations available
- Destructive operations: delete projects, issues, attachments, tags, categories, and versions
- Data manipulation: create/modify issues, impersonate reporters, manage project structure
- Chains with other vulnerabilities: the SOAP admin access enables exploitation of SOAP vulnerabilities that require administrator privileges
Patches
- https://github.com/mantisbt/mantisbt/commit/e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee
Workarounds
None
Resources
- https://mantisbt.org/bugs/view.php?id=37121
Credits
MantisBT would like to thank McCaulay Hudson (@_McCaulay) of watchTowr for originally identifying and responsibly reporting the issue.
The vulnerability was subsequently discovered by other researchers, while the team was working on fixing and preparing the release. MantisBT credits them here, in chronological order of their reports:
- Keitaro Yamazaki (@tyage)
- Harrison Keating (@voraci0us)
- Chandler Johnson (@chndlrx)
- Bharat Devasani (@bharatdevasani)
Articles & Coverage 1
Executive ViewAI
MantisBT 2.28.3 and earlier contains a critical privilege escalation vulnerability in its SOAP API that allows attackers to impersonate any user, including administrators, and gain full read/write control over all projects, issues, and user data. Organizations operating with default configurations-which enable self-registration-face immediate risk. This vulnerability threatens data integrity, confidentiality, and availability and poses significant compliance and operational risks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-75087
GHSA-c2xg-qjqw-2v98
NVD
CVE.org
EPSS
Exploit-DB