CVE-2024-6087 Improper Access Control in lunary-ai/lunary
Attackers can hijack user accounts by exploiting improper access control in the invite functionality to reset passwords and gain full access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-6087?
CVE-2024-6087 is a medium-severity authentication bypass vulnerability in Lunary Lunary, published on 13 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An improper access control vulnerability exists in lunary-ai/lunary at the latest commit (a761d83) on the main branch. The vulnerability allows an attacker to use the auth tokens issued by the 'invite user' functionality to obtain valid JWT tokens. These tokens can be used to compromise target users upon registration for their own arbitrary organizations. The attacker can invite a target email, obtain a one-time use token, retract the invite, and later use the token to reset the password of the target user, leading to full account takeover.
Weakness: CWE-639
Which versions are affected by CVE-2024-6087?
It affects 1 product.
Products include Lunary Lunary.
How do I fix CVE-2024-6087?
No fix has been published for CVE-2024-6087 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-6087 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6087 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