Auth bypass in Lunary
CVE-2024-6582
A broken access control vulnerability exists in the latest version of lunary-ai/lunary. The `saml.ts` file allows a user from one organization to update the Identity Provider (IDP) settings and view the SSO metadata of another organization. This vulnerability can lead to unauthorized access and potential account takeover if the email of a user in the target organization is known.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 36.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lunary
- Lunary-Ai Lunary-Ai/lunary — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/251d138c-3911-4a81-96e5-5a4ab59a0b59 (Exploit, Third Party Advisory)
- github.com/lunary-ai/lunary/commit/1f043d8798ad87346dfe378eea723bff78ad7433 (Patch)