Skip to main content
← All vulnerabilities
CVE-2024-7456

SQL Injection in lunary-ai/lunary

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.3
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • lunary-ai lunary-ai/lunary

    fixed in 1.4.3

References 3

huntr.com

GitHub · lunary-ai/lunary

GitHub · 77Philly/CVE-2024-7456scripts