CVE-2024-5133

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductLunary
PublishedJun 6, 2024
First seenJun 6, 2024

How to fix

Update
  • lunary lunary1.2.14 or later

Affected products

ProductAffected versionsFixed in
lunary lunaryv < 1.2.141.2.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.