SecurityContext

CVE-2024-1902: lunary-ai/lunary - Broken Access Control

  • Cve: CVE-2024-1902
  • Name: lunary-ai/lunary - Broken Access Control
  • Description: lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route.
  • Impact: Removed users can modify organization details, leading to unauthorized data changes and potential security breaches.
  • Remediation: Implement validation to verify user membership before allowing organization modifications, and invalidate old tokens upon user removal.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00387
  • Epss percentile: 0.33542
  • Assignee: [email protected]
  • Published at: 2024-04-10T17:15:53Z
  • Age in days: 958
  • Modified at: 2026-06-17T07:05: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-1902
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-821Incorrect Synchronization
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8nvd2024-04-10

References

UrlSourceTags
https://github.com/lunary-ai/lunary/commit/d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2nvdPatch
https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
lunary:lunary< 1.2.8nonvd/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-04-10
  • 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