PT-2024-18177 · Lunary Ai · Lunary
Published
2024-04-15
·
Updated
2025-01-31
·
CVE-2024-1626
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
lunary-ai/lunary version 0.3.0
Description
An Insecure Direct Object Reference (IDOR) vulnerability exists in the project update endpoint, allowing authenticated users to modify the name of any project within the system without proper authorization checks. This is achieved by directly referencing the project's ID in the PATCH request to the "/v1/projects/:projectId" endpoint. The issue arises because the endpoint does not verify if the provided project ID belongs to the currently authenticated user, enabling unauthorized modifications across different organizational projects.
Recommendations
For version 0.3.0, as a temporary workaround, consider restricting access to the "/v1/projects/:projectId" endpoint until a patch is available. Additionally, restrict the use of the
:projectId variable in the affected endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
IDOR
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Lunary