Arbitrary file upload in Spatie Laravel Media Library
CVE-2021-45040
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.032 · 88.3th percentile
- Published
- 2022-03-17
The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.032, 88.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- spatie.be/docs/laravel-medialibrary/v9/handling-uploads-with-media-library-pro/… (Vendor Advisory)
- cybersecthreat.com/2022/03/14/cve-2021-45040/ (Exploit, Third Party Advisory, Mitigation)