An Incorrect Authorization vulnerability exists in lunary-ai/lunary versions up to and including 1.2.2, which allows unauthenticated users to delete any dataset. The vulnerability is due to the lack of proper authorization checks in the dataset deletion endpoint. Specifically, the endpoint does not verify if the provided project ID belongs to the current user, thereby allowing any dataset to be deleted without proper authentication. This issue was fixed in version 1.2.8.
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Link | Tags |
---|---|
https://huntr.com/bounties/e81a9871-308d-4628-9726-af66643a16fe | patch exploit third party advisory issue tracking |
https://github.com/lunary-ai/lunary/commit/14078c1d2b8766075bf655f187ece24c7a787776 | patch |