CVE-2024-1902

High

Description

lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLunary
PublishedApr 10, 2024
First seenApr 10, 2024
Weakness typeCWE-821CWE-821

How to fix

Update
  • lunary lunary1.2.8 or later

Affected products

ProductAffected versionsFixed in
lunary lunaryv < 1.2.81.2.8

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.