CVE-2024-7456
CRITICALlunary v1.4.2 - SQL Injection via Unsafe Order By Clause
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-7456. PoCs published by 77Philly.
AI-analyzed exploit summary This repository contains a SQL injection (SQLi) proof-of-concept for CVE-2024-7456, with scripts in Node.js and Bash that send a malicious payload via the 'orderByClause' parameter to exploit a vulnerable endpoint.
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)
This repository contains a SQL injection (SQLi) proof-of-concept for CVE-2024-7456, with scripts in Node.js and Bash that send a malicious payload via the 'orderByClause' parameter to exploit a vulnerable endpoint.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H