CVE-2024-7456

CRITICAL

Lunary - SQL Injection

Title source: rule

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.

Exploits (1)

nomisec WORKING POC
by 77Philly · poc
https://github.com/77Philly/CVE-2024-7456scripts

Scores

CVSS v3 9.8
EPSS 0.2925
EPSS Percentile 96.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (1)
lunary/lunary 1.4.2
Published Nov 01, 2024
Tracked Since Feb 18, 2026