Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lunary | Lunary | < 1.2.14 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/6057598d-93c4-4a94-bb80-5bd508013c5bExploitThird Party Advisory
- https://huntr.com/bounties/6057598d-93c4-4a94-bb80-5bd508013c5bExploitThird Party Advisory
FAQ
What is CVE-2024-5133?
CVE-2024-5133 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 pro...
How severe is CVE-2024-5133?
CVE-2024-5133 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-5133?
Check the references section above for vendor advisories and patch information. Affected products include: Lunary Lunary.