CVE-2024-1902 Session Reuse Vulnerability in lunary-ai/lunary

High 7.5 Published Updated

A removed user can modify organization settings using an old token due to missing authorization checks in the Lunary AI platform.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-1902?

CVE-2024-1902 is a high-severity missing authorization vulnerability in Lunary Lunary, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-821

Which versions are affected by CVE-2024-1902?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-1902?

No fix has been published for CVE-2024-1902 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-1902 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1902 exists.

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-prc3-79c5-8h62.

Is CVE-2024-1902 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free