Account Takeover Vulnerability in lunary version 1.2.4
CVE-2024-5133
8.1HIGH
What is CVE-2024-5133?
In Lunary AI version 1.2.4, a security vulnerability enables account takeover due to the exposure of password recovery tokens in API responses. When a user initiates a password reset, the recovery token is visible in the response of the GET /v1/users/me/org
endpoint. This endpoint, which lists all team users, permits authenticated users to intercept another user's recovery token, allowing them to reset that user's password without consent. The vulnerability arises from the inclusion of the recovery_token
attribute within the user object returned by this API, thereby creating potential risks of unauthorized account access.
Affected Version(s)
lunary-ai/lunary <= unspecified