First published: Fri Sep 13 2024(Updated: )
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.
Credit: security@huntr.dev security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
npm/lunary | <1.4.10 | 1.4.10 |
lunary lunary | =1.2.34 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-6862 is classified as a moderate severity vulnerability due to its potential for unauthorized access.
To mitigate CVE-2024-6862, update the lunary package to version 1.4.10 or later to ensure secure CORS settings.
CVE-2024-6862 can be exploited for Cross-Site Request Forgery (CSRF) attacks, allowing unauthorized actions on behalf of users.
CVE-2024-6862 affects lunary version 1.2.34 and earlier versions.
Yes, CVE-2024-6862 can compromise user data by allowing attackers to create projects and perform actions with user privileges.