| Title | Krayin Krayin CRM ≤ 2.2.5 Broken Access Control |
|---|
| Description | Krayin CRM 2.2.5 contains an Insecure Direct Object Reference (IDOR) vulnerability in the email attachment download functionality. The vulnerability exists in the GET /admin/mail/attachment-download/{id} endpoint, where the application retrieves email attachments using a user-controlled numeric identifier without performing proper authorization checks. An authenticated low-privileged user can manipulate the attachment ID to access files belonging to other users, including attachments stored on the application's private filesystem. The issue is caused by missing object-level authorization validation, combined with insufficient route permission enforcement, allowing unauthorized disclosure of sensitive documents such as contracts, invoices, and confidential email attachments. Successful exploitation requires only a valid authenticated account and knowledge or enumeration of attachment identifiers. |
|---|
| Source | ⚠️ https://github.com/carlosalbertotuma/advisory/blob/main/advisory-06-IDOR-Email-Attachment%20Download.md |
|---|
| User | bl4dsc4n (UID 94778) |
|---|
| Submission | 08/05/2026 16:06 (2 months ago) |
|---|
| Moderation | 09/27/2026 06:10 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 410814 [Krayin laravel-crm up to 2.2.5 attachment-download Endpoint acl.php Storage::download id resource injection] |
|---|
| Points | 20 |
|---|