Information disclosure in Lunary
CVE-2024-5133
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.
Vulnerability class: Information Disclosure
EPSS: 0.005 (42.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Lunary
- Lunary-ai Lunary-ai/lunary — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-5133?
- CVE-2024-5133 is a high-severity vulnerability in Lunary, classified under Information Disclosure. CVSS score: 8.1/10. Published 2024-06-06.
- How severe is CVE-2024-5133?
- High severity. CVSS v3 base score is 8.1 out of 10.