CVE-2023-5511: Cross-Site Request Forgery (CSRF) in snipe/snipe-it
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25498%
CWE
Published
10/11/2023
Updated
11/8/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| snipe/snipe-it | composer | <= 6.2.2 | 6.2.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from:
- The route was originally configured as GET ('reports/unaccepted_assets/{acceptanceId}/sent_reminder'), which is unsafe for state-changing operations.
- The controller method directly accepted acceptanceId from the URL parameter without CSRF token validation.
- The patch changed the route to POST and added CSRF protection via form submission, confirming the original GET implementation was vulnerable. The function's pre-patch behavior matches classic CSRF vulnerability patterns where state-changing actions lack POST+CSRF validation.