Vulnerability Description
In lunary-ai/lunary version 1.2.4, an improper access control vulnerability allows members with team management permissions to manipulate project identifiers in requests, enabling them to invite users to projects in other organizations, change members to projects in other organizations with escalated privileges, and change members from other organizations to their own or other projects, also with escalated privileges. This vulnerability is due to the backend's failure to validate project identifiers against the current user's organization ID and projects belonging to it, as well as a misconfiguration in attribute naming (`org_id` should be `orgId`) that prevents proper user organization validation. As a result, attackers can cause inconsistencies on the platform for affected users and organizations, including unauthorized privilege escalation. The issue is present in the backend API endpoints for user invitation and modification, specifically in the handling of project IDs in requests.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lunary | Lunary | 1.2.4 |
Related Weaknesses (CWE)
References
- https://github.com/lunary-ai/lunary/commit/43206bacac3b43ad9f2db6dafd165e61a21e6
- https://huntr.com/bounties/8cff4afa-131b-4a7e-9f0d-8a3c69f3d024ExploitThird Party Advisory
- https://huntr.com/bounties/8cff4afa-131b-4a7e-9f0d-8a3c69f3d024ExploitThird Party Advisory
FAQ
What is CVE-2024-5714?
CVE-2024-5714 is a vulnerability with a CVSS score of 6.8 (MEDIUM). In lunary-ai/lunary version 1.2.4, an improper access control vulnerability allows members with team management permissions to manipulate project identifiers in requests, enabling them to invite users...
How severe is CVE-2024-5714?
CVE-2024-5714 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-5714?
Check the references section above for vendor advisories and patch information. Affected products include: Lunary Lunary.