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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-06-06T18:21:53.548Z

Updated: 2024-08-01T21:03:10.849Z

Reserved: 2024-05-19T18:19:36.613Z

Link: CVE-2024-5133

cve-icon Vulnrichment

Updated: 2024-08-01T21:03:10.849Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-06-06T19:16:05.557

Modified: 2024-06-07T14:56:05.647

Link: CVE-2024-5133

cve-icon Redhat

No data.