SecurityContext

CVE-2024-4151: lunary-ai lunary - Broken Access Control

  • Cve: CVE-2024-4151
  • Name: lunary-ai lunary - Broken Access Control
  • Description: An Improper Access Control vulnerability exists in lunary-ai/lunary version 1.2.2, where users can view and update any prompts in any projects due to insufficient access control checks in the handling of PATCH and GET requests for template versions. This vulnerability allows unauthorized users to manipulate or access sensitive project data, potentially leading to data integrity and confidentiality issues.
  • Impact: Unauthorized users can access and modify sensitive project data, leading to data integrity and confidentiality breaches.
  • Remediation: Update to the latest version where access controls are properly enforced.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • 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.00391
  • Epss percentile: 0.33966
  • Assignee: [email protected]
  • Published at: 2024-05-20T15:15:08Z
  • Age in days: 918
  • Modified at: 2026-06-17T08:01:13Z
  • 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-4151
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/4acfef85-dedf-43bd-8438-0d8aaa4ffa01nvd2024-05-20

References

UrlSourceTags
https://huntr.com/bounties/4acfef85-dedf-43bd-8438-0d8aaa4ffa01nvdExploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bfnvd

Products

ProductAffectedPlatform boundSourcesUrl
lunary:lunary< 1.2.25nonvd/v1/products/lunary/lunary

Projects

RepositoryLink kindsIndexedUrl
lunary-ai/lunarycommityes/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-05-20
  • 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