CVE-2024-1626
CVE-2024-1626
8.1
HighPublished:
Last updated:
Source:security@huntr.dev
Modified
Weakness (CWE)
CVSS Vector
v3.1- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- Low
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Description
An Insecure Direct Object Reference (IDOR) vulnerability exists in the lunary-ai/lunary repository, version 0.3.0, within the project update endpoint. The vulnerability allows authenticated users to modify the name of any project within the system without proper authorization checks, by directly referencing the project's ID in the PATCH request to the '/v1/projects/:projectId' endpoint. This 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.
References
security@huntr.dev
https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bcsecurity@huntr.dev
https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933af854a3a-2127-422b-91ae-364da2661108
https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bcaf854a3a-2127-422b-91ae-364da2661108
https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933