CVE-2024-5389 Insufficient Access Control in lunary-ai/lunary

Medium 5.7 Published Updated

Attackers can modify or delete dataset prompts belonging to other organizations due to missing ownership validation in Lunary AI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5389?

CVE-2024-5389 is a medium-severity missing authorization vulnerability in Lunary Lunary, published on 9 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In lunary-ai/lunary version 1.2.13, an insufficient granularity of access control vulnerability allows users to create, update, get, and delete prompt variations for datasets not owned by their organization. This issue arises due to the application not properly validating the ownership of dataset prompts and their variations against the organization or project of the requesting user. As a result, unauthorized modifications to dataset prompts can occur, leading to altered or removed dataset prompts without proper authorization. This vulnerability impacts the integrity and consistency of dataset information, potentially affecting the results of experiments.

Weakness: CWE-1220

Which versions are affected by CVE-2024-5389?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-5389?

No fix has been published for CVE-2024-5389 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-5389 being exploited?

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

All Lunary Lunary vulnerabilities

Sources

Is CVE-2024-5389 in your software?

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

Check your SBOMs for free