CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lunary

CVE-2024-7456
Lunary vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Lunary. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Lunary runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Lunary products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.