CVE-2024-1626

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*

History

31 Jan 2025, 11:15

Type Values Removed Values Added
CWE CWE-250

10 Jan 2025, 14:32

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.1
v2 : unknown
v3 : 8.1
CPE cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*
CWE CWE-639
First Time Lunary lunary
Lunary
References () https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bc - () https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bc - Patch
References () https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 - () https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 - Exploit, Issue Tracking, Patch, Third Party Advisory

21 Nov 2024, 08:50

Type Values Removed Values Added
References () https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bc - () https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bc -
References () https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 - () https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 -

16 Apr 2024, 13:24

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de referencia directa a objetos inseguros (IDOR) en el repositorio lunary-ai/lunary, versión 0.3.0, dentro del endpoint de actualización del proyecto. La vulnerabilidad permite a los usuarios autenticados modificar el nombre de cualquier proyecto dentro del sistema sin las comprobaciones de autorización adecuadas, haciendo referencia directamente al ID del proyecto en la solicitud PATCH al endpoint '/v1/projects/:projectId'. Este problema surge porque el endpoint no verifica si el ID del proyecto proporcionado pertenece al usuario actualmente autenticado, lo que permite modificaciones no autorizadas en diferentes proyectos organizacionales.

16 Apr 2024, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-16 00:15

Updated : 2025-01-31 11:15


NVD link : CVE-2024-1626

Mitre link : CVE-2024-1626

CVE.ORG link : CVE-2024-1626


JSON object : View

Products Affected

lunary

  • lunary
CWE
CWE-639

Authorization Bypass Through User-Controlled Key