CVE-2024-1902 Session Reuse Vulnerability in lunary-ai/lunary
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.
Other vulnerabilities in Lunary Lunary
- CVE-2024-8999 Improper Access Control in lunary-ai/lunary
- CVE-2024-9095 Improper Authorization in lunary-ai/lunary
- CVE-2024-7456 SQL Injection in lunary-ai/lunary
- CVE-2024-4146 Incorrect Authorization in lunary-ai/lunary
- CVE-2024-5386 Account Hijacking via Password Reset Token Leak in lunary-ai/lunary
Sources
Also known as GHSA-prc3-79c5-8h62.