CVE-2024-7456

CRITICAL

lunary v1.4.2 - SQL Injection via Unsafe Order By Clause

Title source: llm
STIX 2.1

Exploitation 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)

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

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.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Unknown (CVE-2024-7456)
No auth needed
Prerequisites: Target URL with vulnerable endpoint · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

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

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

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