CVE-2024-5714 Improper Access Control in lunary-ai/lunary
Attackers with team management permissions can manipulate project identifiers to invite or modify users in other organizations, causing unauthorized privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5714?
CVE-2024-5714 is a high-severity missing authorization vulnerability in Lunary Lunary, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2024-5714?
It affects 1 product.
Products include Lunary Lunary.
How do I fix CVE-2024-5714?
No fix has been published for CVE-2024-5714 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-5714 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5714 exists.
Other vulnerabilities in Lunary Lunary
- CVE-2024-8999 Improper Access Control in lunary-ai/lunary
- CVE-2024-9095 Improper Authorization in lunary-ai/lunary
- CVE-2024-7456 SQL Injection in lunary-ai/lunary
- CVE-2024-4146 Incorrect Authorization in lunary-ai/lunary
- CVE-2024-5386 Account Hijacking via Password Reset Token Leak in lunary-ai/lunary
Sources
Also known as GHSA-v845-m469-p8w3.