CVE-2024-7456
SQL Injection in lunary-ai/lunary
CRITICAL 9.8EPSS 1.4%
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
- lunary-ai · lunary-ai/lunary
- CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.0 HUNTR
- 9.8 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.41% chance of exploitation in the next 30 days, 72nd percentile
- Published
- 2024-11-01
Proof-of-concept exploits (1)
- 77Philly/CVE-2024-7456scripts0★ · 2024-11-02
Security advisories
- https://huntr.com/bounties/bfb3015e-5642-4d94-ab49-e8b49c4e07e4
- lunary-ai/lunary/commit/6a0bc201181e0f4a0cc375ccf4ef0d7ae65c8a8e