CVE-2024-6862

A Cross-Site Request Forgery (CSRF) vulnerability exists in lunary-ai/lunary version 1.2.34 due to overly permissive CORS settings. This vulnerability allows an attacker to sign up for and create projects or use the instance as if they were a user with local access. The main attack vector is for instances hosted locally on personal machines, which are not publicly accessible. The CORS settings in the backend permit all origins, exposing unauthenticated endpoints to CSRF attacks.
Configurations

Configuration 1 (hide)

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

History

19 Sep 2024, 18:37

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de Cross-Site Request Forgery (CSRF) en la versión 1.2.34 de lunary-ai/lunary debido a una configuración CORS demasiado permisiva. Esta vulnerabilidad permite que un atacante se registre y cree proyectos o utilice la instancia como si fuera un usuario con acceso local. El principal vector de ataque son las instancias alojadas localmente en máquinas personales, que no son de acceso público. La configuración CORS en el backend permite todos los orígenes, lo que expone los endpoints no autenticados a ataques CSRF.
First Time Lunary lunary
Lunary
CVSS v2 : unknown
v3 : 7.4
v2 : unknown
v3 : 8.1
CPE cpe:2.3:a:lunary:lunary:1.2.34:*:*:*:*:*:*:*
References () https://github.com/lunary-ai/lunary/commit/3451fcd7b9d95e9091d62c515752f39f2faa6e54 - () https://github.com/lunary-ai/lunary/commit/3451fcd7b9d95e9091d62c515752f39f2faa6e54 - Patch
References () https://huntr.com/bounties/0b1d851e-3455-480c-ad5a-23565894976f - () https://huntr.com/bounties/0b1d851e-3455-480c-ad5a-23565894976f - Exploit, Third Party Advisory

13 Sep 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-13 17:15

Updated : 2024-09-19 18:37


NVD link : CVE-2024-6862

Mitre link : CVE-2024-6862

CVE.ORG link : CVE-2024-6862


JSON object : View

Products Affected

lunary

  • lunary
CWE
CWE-352

Cross-Site Request Forgery (CSRF)