PT-2024-37911 · Lunary Ai · Lunary

·

CVE-2024-6862

·

Published

2024-09-13

·

Updated

2024-09-19

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions lunary-ai/lunary version 1.2.34
Description A Cross-Site Request Forgery (CSRF) vulnerability exists due to overly permissive CORS settings, allowing 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.
Recommendations For lunary-ai/lunary version 1.2.34, consider restricting the CORS settings to only permit necessary origins, and implement proper CSRF protection mechanisms to prevent unauthorized access. As a temporary workaround, consider disabling unauthenticated endpoints until a patch is available. Restrict access to the instance, especially for those hosted locally on personal machines, to minimize the risk of exploitation.

Exploit

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-6862
GHSA-V6X6-4V4X-2FX9

Affected Products

Lunary