CVE-2024-5129: lunary-ai - Broken Access Control
- Cve: CVE-2024-5129
- Name: lunary-ai - Broken Access Control
- 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.
- Impact: Unauthorized users can delete any dataset, leading to data loss and potential service disruption.
- Remediation: Implement proper authorization checks in the datasets.delete function to verify user permissions before allowing dataset deletion.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- Epss score: 0.0045
- Epss percentile: 0.39897
- Assignee: [email protected]
- Published at: 2024-06-06T19:16:04Z
- Age in days: 901
- Modified at: 2026-06-17T08:15:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5129
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/a6c0deb3-6a4c-4188-8aaa-9e6207f82f44 | nvd | 2024-06-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/lunary-ai/lunary/commit/14078c1d2b8766075bf655f187ece24c7a787776 | nvd | Patch |
| https://huntr.com/bounties/a6c0deb3-6a4c-4188-8aaa-9e6207f82f44 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lunary:lunary | < 1.2.8 | no | nvd | /v1/products/lunary/lunary |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lunary-ai/lunary | commit | yes | /v1/repositories/lunary-ai/lunary |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-06-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts