Auth bypass in Lunary
CVE-2024-9098
In lunary-ai/lunary before version 1.4.30, a privilege escalation vulnerability exists where admins can invite new members with billing permissions, thereby gaining unauthorized access to billing resources. This issue arises because the user creation endpoint does not restrict admins from inviting users with billing roles. As a result, admins can circumvent the intended access control, posing a risk to the organization's financial resources.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.006, 47.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lunary
- Lunary-Ai Lunary-Ai/lunary — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/75d466ae-8591-44d5-9160-eea7cad0c4fc (Exploit, Third Party Advisory)
- github.com/lunary-ai/lunary/commit/a8d7b2959e87c30fbafdb12af7ffa093385dcc60 (Patch)