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

Published May 13, 2024
·
Updated

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 accountupdate.php with increasing user IDs is possible. Impact

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.

Patches

92d11a01b195a1b6717a2f205218089158ea6d00

Workarounds

Mitigate the risk by reducing the verification token's validity (change the value of the TOKENEXPIRYAUTHENTICATED constant in constantsinc.php).

References

https://mantisbt.org/bugs/view.php?id=34433

Credits

Alexander Christian, from Vantage Point Security Indonesia

Other sources

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 accountupdate.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 TOKENEXPIRYAUTHENTICATED constant in constantsinc.php).

NVD

Affected Software

2 affected componentsFixes available
composer/mantisbt/mantisbt<=2.26.1
2.26.2
MantisBT mantisbt<2.26.2

Event History

May 13, 2024
Advisory Published
via GitHub·02:57 PM
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
DescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:38 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-34077?

CVE-2024-34077 has a severity rating that indicates a critical vulnerability due to insufficient access control in the password reset process.

2

How do I fix CVE-2024-34077?

To fix CVE-2024-34077, upgrade to MantisBT version 2.26.2 or later.

3

Who is affected by CVE-2024-34077?

CVE-2024-34077 affects users of MantisBT versions up to and including 2.26.1.

4

What is the exploit mechanism of CVE-2024-34077?

CVE-2024-34077 allows an attacker to reset another user's password using an incomplete request if the verification token is still valid.

5

When does CVE-2024-34077 need immediate attention?

CVE-2024-34077 requires immediate attention if you are using an affected version of MantisBT and have users with pending password reset requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203