Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-7456 PoC — SQL Injection in lunary-ai/lunary

Source
Associated Vulnerability
Title:SQL Injection in lunary-ai/lunary (CVE-2024-7456)
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.
Readme
Some simple scripts to help exploit SQLi using both bash and Node.js based on CVE-2024-7456 (https://nvd.nist.gov/vuln/detail/CVE-2024-7456).
File Snapshot

[4.0K] /data/pocs/3dfa2f28b1620b5c0dbc5f1f53367df1beac0e7a ├── [1.1K] 20247456.js ├── [ 660] 20247456.sh └── [ 142] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →