Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2024-7456 EUVD-2024-48378GHSA-g58p-2mpf-2cpr

SQL Injection in lunary-ai/lunary

Published Nov 1, 2024 · Updated Nov 1, 2024 · Assigned by @huntr_ai

Description

A SQL injection vulnerability exists in the `/api/v1/external-users` route of lunary-ai/lunary version v1.4.2. The `order by` clause of the SQL query uses `sql.unsafe` without prior sanitization, allowing for SQL injection. The `orderByClause` variable is constructed without server-side validation or sanitization, enabling an attacker to execute arbitrary SQL commands. Successful exploitation can lead to complete data loss, modification, or corruption.

Affected products

VendorProductAffectedFixed
lunary-ai lunary-ai/lunary unspecified – < 1.4.3 1.4.3

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References