Skip to content

CVE-2024-5133 Account Takeover via Exposed Recovery Token in lunary-ai/lunary

HighCVSS 8.1 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
lunary < 1.2.14 1.2.14 Fixed
lunary-ai lunary <= 1.2.4 after 1.2.4 Fixed
lunary-ai/lunary <= latest after latest Fixed

Affected products

ProductAffected versionsFixed in
lunary-ai/lunary <= latest No fix listed
lunary-ai lunary <= 1.2.4 No fix listed
lunary < 1.2.14 1.2.14

References