Lucene search
K

Laravel Media Library Pro 2.1.6 Shell Upload Vulnerability

🗓️ 16 Mar 2022 00:00:00Reported by Kelvin YipType 
zdt
 zdt
🔗 0day.today👁 411 Views

Laravel Media Library Pro 2.1.6 Shell Upload Vulnerability - Arbitrary File Upload (Unauthenticated) CVE-2021-4504

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-45040
17 Mar 202223:26
circl
CNNVD
Spatie Laravel Media Library Pro 代码问题漏洞
15 Mar 202200:00
cnnvd
CVE
CVE-2021-45040
17 Mar 202220:22
cve
Cvelist
CVE-2021-45040
17 Mar 202220:22
cvelist
EUVD
EUVD-2021-31837
3 Oct 202520:07
euvd
NVD
CVE-2021-45040
17 Mar 202221:15
nvd
OSV
CVE-2021-45040
17 Mar 202221:15
osv
Packet Storm
Laravel Media Library Pro 2.1.6 Shell Upload
15 Mar 202200:00
packetstorm
Prion
Design/Logic Flaw
17 Mar 202221:15
prion
RedhatCVE
CVE-2021-45040
22 May 202518:53
redhatcve
Rows per page
# Exploit Title: Laravel Media Library Pro <=2.1.6 - Arbitrary File Upload (Unauthenticated)  
# 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.

#######################################################################################################

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