In lunary-ai/lunary version v1.2.13, an improper authorization vulnerability exists that allows unauthorized users to access and manipulate projects within an organization they should not have access to. Specifically, the vulnerability is located in the `checkProjectAccess` method within the authorization middleware, which fails to adequately verify if a user has the correct permissions to access a specific project. Instead, it only checks if the user is part of the organization owning the project, overlooking the necessary check against the `account_project` table for explicit project access rights. This flaw enables attackers to gain complete control over all resources within a project, including the ability to create, update, read, and delete any resource, compromising the privacy and security of sensitive information.
References
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-08T19:41:25.437Z
Updated: 2024-06-08T19:41:25.437Z
Reserved: 2024-04-24T20:53:36.842Z
Link: CVE-2024-4146
JSON object: View
NVD Information
Status : Awaiting Analysis
Published: 2024-06-08T20:15:52.117
Modified: 2024-06-10T02:52:08.267
Link: CVE-2024-4146
JSON object: View
Redhat Information
No data.
CWE