CVE-2024-6087 Improper Access Control in lunary-ai/lunary

Medium 6.5 Published Updated

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.

All Lunary Lunary vulnerabilities

Sources

Is CVE-2024-6087 in your software?

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

Check your SBOMs for free