7.5
CWE
640
EPSS
0.043%
Advisory Published
Updated

CVE-2024-5277: Weak Password Recovery Mechanism in lunary-ai/lunary

First published: Thu Jun 06 2024(Updated: )

In lunary-ai/lunary version 1.2.4, a vulnerability exists in the password recovery mechanism where the reset password token is not invalidated after use. This allows an attacker who compromises the recovery token to repeatedly change the password of a victim's account. The issue lies in the backend's handling of the reset password process, where the token, once used, is not discarded or invalidated, enabling its reuse. This vulnerability could lead to unauthorized account access if an attacker obtains the recovery token.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
lunary lunary<1.4.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-5277?

    CVE-2024-5277 is classified as a high-severity vulnerability due to its potential for account takeover.

  • How do I fix CVE-2024-5277?

    To fix CVE-2024-5277, ensure that the password recovery mechanism invalidates the reset token after it has been used.

  • Which versions of Lunary are affected by CVE-2024-5277?

    CVE-2024-5277 affects Lunary version 1.2.4 up to but not including 1.4.9.

  • What type of attack can exploit CVE-2024-5277?

    CVE-2024-5277 can be exploited through a replay attack where an attacker uses a compromised recovery token to change a victim's password repeatedly.

  • Is there a workaround for CVE-2024-5277?

    A temporary workaround for CVE-2024-5277 includes manually verifying user identity before allowing password resets until a patch is implemented.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203