CWE
200
EPSS
0.043%
Advisory Published
Updated

CVE-2024-5133: Account Takeover via Exposed Recovery Token in lunary-ai/lunary

First published: Thu Jun 06 2024(Updated: )

In lunary-ai/lunary version 1.2.4, an account takeover vulnerability exists due to the exposure of password recovery tokens in API responses. Specifically, when a user initiates the password reset process, the recovery token is included in the response of the `GET /v1/users/me/org` endpoint, which lists all users in a team. This allows any authenticated user to capture the recovery token of another user and subsequently change that user's password without consent, effectively taking over the account. The issue lies in the inclusion of the `recovery_token` attribute in the users object returned by the API.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
lunary lunary<1.2.14

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-5133?

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

  • How do I fix CVE-2024-5133?

    To fix CVE-2024-5133, update to lunary version 1.2.14 or later where the vulnerability has been addressed.

  • What causes CVE-2024-5133?

    CVE-2024-5133 is caused by the exposure of password recovery tokens in API responses during the password reset process.

  • Who is affected by CVE-2024-5133?

    Users of lunary-ai/lunary versions prior to 1.2.14 are affected by CVE-2024-5133.

  • What can attackers do with CVE-2024-5133?

    Attackers can exploit CVE-2024-5133 to perform unauthorized account takeovers by accessing exposed recovery tokens.

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