CVE-2024-5128 IDOR Vulnerability in lunary-ai/lunary

Critical 9.4 Published Updated

Attackers can view, update, or delete dataset prompts in Lunary AI due to missing authorization checks on object references.

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-5128?

CVE-2024-5128 is a critical 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

An Insecure Direct Object Reference (IDOR) vulnerability was identified in lunary-ai/lunary, affecting versions up to and including 1.2.2. This vulnerability allows unauthorized users to view, update, or delete any dataset_prompt or dataset_prompt_variation within any dataset or project. The issue stems from improper access control checks in the dataset management endpoints, where direct references to object IDs are not adequately secured against unauthorized access. This vulnerability was fixed in version 1.2.25.

Weakness: CWE-639

Which versions are affected by CVE-2024-5128?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-5128?

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

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

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-7g45-4xm2-qxvf.

Is CVE-2024-5128 in your software?

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

Check your SBOMs for free