Описание
Snipe-IT: Cross-company deletion of pending checkout acceptances via unscoped report endpoint
Impact
A user with the reports.view permission can delete pending checkout acceptance records by global ID, even when the acceptance belongs to an asset in another company.
The report listing page appears to scope visible unaccepted assets, but the delete endpoint directly looks up CheckoutAcceptance::pending()->find($acceptanceId) and deletes it without checking whether the current user has access to the related checkoutable asset.
Preconditions
The attacker needs:
- A valid authenticated web session.
reports.viewpermission.- Knowledge or guessability of a pending
checkout_acceptances.id.
The attacker does not need access to the asset/company associated with the target acceptance.
Root cause
The delete action authorizes only report access, then deletes a pending acceptance by global ID:
The code does not check whether the current user can access the acceptance’s related checkoutable asset/accessory/license/etc. In multi-company mode, this allows a reports user from one company to delete acceptance records belonging to another company.
Proof of concept
Target acceptance belongs to Company B
The target pending acceptance was identified as id=1.
Observed result:
This shows the pending acceptance belongs to asset 2, which is in Company B.
Attacker user belongs to Company A
The attacker account was reporter_a, assigned to Company A with only report viewing permission:
Login as Company A reports user
Observed response:
Fetch report CSRF token
Observed result:
Delete Company B acceptance as Company A reporter
Observed response:
Final state
Observed result:
This confirms that reporter_a from Company A deleted a pending acceptance for Company B’s asset.
Security impact
This is a cross-company authorization bypass affecting checkout acceptance integrity. An attacker with report access can:
- Delete pending acceptance records for assets they cannot access.
- Suppress evidence that a user has not accepted custody or terms.
- Interfere with asset handoff/compliance workflows.
- Tamper with another company’s pending acceptance queue.
This is not intended functionality because the application should enforce company scope on destructive actions, not only on report display.
Пакеты
snipe/snipe-it
<= 8.6.1
8.6.2
Связанные уязвимости
Snipe-IT is an IT asset/license management system. Prior to 8.6.2, the unaccepted-assets report delete endpoint authorizes only reports.view and deletes CheckoutAcceptance::pending()->find($acceptanceId) by global ID without checking access to the related checkoutable asset, allowing a reports user in one company to delete pending checkout acceptance records for another company. This issue is fixed in version 8.6.2.
Snipe-IT is an IT asset/license management system. Prior to 8.6.2, the ...