Vulnerabilities · 2024 · Lunary
CVE-2024-5133
Lunary vulnerability
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.
Affected products
Lunary. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lunary runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Lunary products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.