| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| Laravel Media Library Pro 2.1.6 Shell Upload Vulnerability | 16 Mar 202200:00 | – | zdt | |
| CVE-2021-45040 | 17 Mar 202223:26 | – | circl | |
| Spatie Laravel Media Library Pro 代码问题漏洞 | 15 Mar 202200:00 | – | cnnvd | |
| CVE-2021-45040 | 17 Mar 202220:22 | – | cve | |
| CVE-2021-45040 | 17 Mar 202220:22 | – | cvelist | |
| EUVD-2021-31837 | 3 Oct 202520:07 | – | euvd | |
| CVE-2021-45040 | 17 Mar 202221:15 | – | nvd | |
| CVE-2021-45040 | 17 Mar 202221:15 | – | osv | |
| Design/Logic Flaw | 17 Mar 202221:15 | – | prion | |
| CVE-2021-45040 | 22 May 202518:53 | – | redhatcve |
`# Exploit Title: Laravel Media Library Pro <=2.1.6 - Arbitrary File Upload (Unauthenticated)
# Google Dork: -
# Date: Mar 13, 2022
# Exploit Author: Kelvin Yip <[email protected]>
# Vendor Homepage: https://spatie.be/
# Software Link: https://spatie.be/products/media-library-pro
# Version: <=1.17.10 & <=2.1.6
# Tested on: Laradock (PHP 8.0) inside Ubuntu 20.04
# CVE : CVE-2021-45040
#######################################################################################################
Description:
The Spatie media-library-pro library through 1.17.10 & 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.
#######################################################################################################
Xploit : Arbitrary File Upload (Unauthenticated)
Default URL: http://server/api/media-library-pro/uploads OR http://server/media-library-pro/uploads
Note: The URL can be changed by developer.
Upload a PHP webshell or shell file with 3 parameters: (uuid, name and file), the JSON response will contain “original_url”, access the URL in the browser to get the shell access.
#######################################################################################################
Additional Information for setup, test and solutions: https://cybersecthreat.com/2022/03/14/cve-2021-45040/
#######################################################################################################
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation