CVE-2024-5129 Privilege Escalation Vulnerability in lunary-ai/lunary

High 8.2 Published Updated

Attackers can delete any dataset by bypassing authorization checks in the Lunary AI platform, leading to unauthorized data modification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5129?

CVE-2024-5129 is a high-severity missing authorization vulnerability in Lunary Lunary, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Privilege Escalation Vulnerability exists in lunary-ai/lunary version 1.2.2, where any user can delete any datasets due to missing authorization checks. The vulnerability is present in the dataset deletion functionality, where the application fails to verify if the user requesting the deletion has the appropriate permissions. This allows unauthorized users to send a DELETE request to the server and delete any dataset by specifying its ID. The issue is located in the datasets.delete function within the datasets index file.

Weakness: CWE-862

Which versions are affected by CVE-2024-5129?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-5129?

No fix has been published for CVE-2024-5129 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-5129 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5129 exists.

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-mj9w-3qrj-p3gj.

Is CVE-2024-5129 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free