An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat version v0.7.5-rc2. The endpoint does not verify whether the provided attachment ID belongs to the current user, allowing any authenticated user to delete attachments of other users.
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/cde47cf8-dc81-46ab-b472-f7e44a981a7e | third party advisory exploit |
https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116 | patch |