Vulnerability CVE-2024-5132


Published: 2024-06-06

Description:
In lunary-ai/lunary version 1.2.2, a business logic error allows users to bypass the intended limitations on team member invitations and additions, regardless of their subscription plan. The vulnerability arises due to the lack of validation against the predefined member limits in the SEAT_ALLOWANCE constants during the invitation and joining processes. This issue enables users on any plan, including the free plan, to invite and add more members to a team than allowed, effectively circumventing the system's subscription model. The flaw is located in the backend's handling of user invitations and additions, specifically in the /api/v1/auth/index.ts and /api/v1/users.ts endpoints, where the system fails to check the current number of team members against the allowed limits before proceeding with the invitation and addition operations.

Type:

CWE-840

(Business Logic Errors)

 References:
https://huntr.com/bounties/1a2d462f-ce25-410c-80f1-10546f963d7c

Copyright 2024, cxsecurity.com

 

Back to Top