cve/2024/CVE-2024-1902.md
2025-09-29 21:09:30 +02:00

19 lines
1.1 KiB
Markdown

### [CVE-2024-1902](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-1902)
![](https://img.shields.io/static/v1?label=Product&message=lunary-ai%2Flunary&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-821%20Incorrect%20Synchronization&color=brightgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds