Vulnerability · Published May 13, 2024 · Assigned by GitHub_M
CVE-2024-34077MantisBT user account takeover in the signup/reset password process
High 7.3
In plain English
A high-severity security flaw in mantisbt from mantisbt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
MantisBT (Mantis Bug Tracker) is an open source issue tracker. Insufficient access control in the registration and password reset process allows an attacker to reset another user's password and takeover their account, if the victim has an incomplete request pending. The exploit is only possible while the verification token is valid, i.e for 5 minutes after the confirmation URL sent by e-mail has been opened, and the user did not complete the process by updating their password. A brute-force attack calling account_update.php with increasing user IDs is possible. A successful takeover would grant the attacker full access to the compromised account, including sensitive information and functionalities associated with the account, the extent of which depends on its privileges and the data it has access to. Version 2.26.2 contains a patch for the issue. As a workaround, one may mitigate the risk by reducing the verification token's validity (change the value of the `TOKEN_EXPIRY_AUTHENTICATED` constant in `constants_inc.php`).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | 2.26.2 | GHSA-93x3-m7pw-ppqm |
Affected products (as reported)
Weakness: CWE-305, CWE-620 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-93x3-m7pw-ppqm x_refsource_CONFIRM
- https://github.com/mantisbt/mantisbt/commit/92d11a01b195a1b6717a2f205218089158ea6d00 x_refsource_MISC
- https://mantisbt.org/bugs/view.php?id=34433 x_refsource_MISC