CVE-2024-1626: lunary-ai - Broken Access Control
- Cve: CVE-2024-1626
- Name: lunary-ai - Broken Access Control
- Description: An Insecure Direct Object Reference (IDOR) vulnerability exists in the lunary-ai/lunary repository, version 0.3.0, within the project update endpoint. The vulnerability allows authenticated users to modify the name of any project within the system without proper authorization checks, by directly referencing the project's ID in the PATCH request to the '/v1/projects/:projectId' endpoint. This issue arises because the endpoint does not verify if the provided project ID belongs to the currently authenticated user, enabling unauthorized modifications across different organizational projects.
- Impact: Authenticated users can modify projects they do not own, leading to unauthorized data alteration and potential data integrity issues.
- Remediation: Implement proper authorization checks to verify project ownership before allowing modifications.
- Vulnerability type: broken_access_control
- Vulnerability impact: data_tampering
- Requirement type: logged_in
- Requirements: Attacker must be logged in
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00479
- Epss percentile: 0.4221
- Assignee: [email protected]
- Published at: 2024-04-16T00:15:09Z
- Age in days: 952
- Modified at: 2026-06-17T07:04:39Z
- 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-1626
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 | nvd | 2024-04-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/lunary-ai/lunary/commit/9eb9e526edff8bf82ae032f7a04867c8d58572bc | nvd | Patch |
| https://huntr.com/bounties/ccc291db-ae9c-403c-b6b5-6fe3f4800933 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lunary:lunary | < 1.0.0 | 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-04-16
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts