Auth bypass in Lunary
CVE-2024-6087
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (35.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 36th percentile — 35.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Lunary
- Lunary-Ai Lunary-Ai/lunary — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/bd9f2301-11c7-4cbd-8d77-3e9225bd67e8 (Exploit, Third Party Advisory)
- github.com/lunary-ai/lunary/commit/844e8855c7a713dc7371766dba4125de4007b1cf (Patch)
Frequently asked questions
- What is CVE-2024-6087?
- CVE-2024-6087 is a medium-severity vulnerability in Lunary, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2024-09-13.
- How severe is CVE-2024-6087?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2024-6087 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.