CVE-2021-23814
Last modified
CVE-2021-23814 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. This affects versions of the package unisharp/laravel-filemanager before 2.6.2. The upload() function does not sufficiently validate the file type when uploading. An attacker may be able to reproduce the following steps: 1. EPSS estimates a 1.82% chance of exploitation in the next 30 days.
Description
This affects versions of the package unisharp/laravel-filemanager before 2.6.2. The upload() function does not sufficiently validate the file type when uploading. An attacker may be able to reproduce the following steps: 1. Install a package with a web Laravel application. 2. Navigate to the Upload window 3. Upload an image file, then capture the request 4. Edit the request contents with a malicious file (webshell) 5. Enter the path of file uploaded on URL - Remote Code Execution **Note:** Prevention for bad extensions can be done by using a whitelist in the config file(lfm.php). Corresponding document can be found in [here](https://unisharp.github.io/laravel-filemanager/configfolder-categories).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Unisharp | Laravel-Filemanager | >= 0.0.0 |
References
- https://github.com/UniSharp/laravel-filemanager/blob/master/src/Controllers/UploadController.php%23L26Broken Link, Third Party Advisory
- https://github.com/UniSharp/laravel-filemanager/blob/master/src/Controllers/UploadController.php%23L26Broken Link, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-1567199Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23814?
How severe is CVE-2021-23814?
How do I fix CVE-2021-23814?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23792The package com.twelvemonkeys.imageio:imageio-metadata befor…9.8
- CVE-2021-23797All versions of package http-server-node are vulnerable to D…9.8
- CVE-2021-2380Vulnerability in the Oracle Applications Framework product o…7.6
- CVE-2021-23803This affects the package latte/latte before 2.10.6. There is…9.8
- CVE-2021-23807This affects the package jsonpointer before 5.0.0. A type co…9.8
- CVE-2021-2381Vulnerability in the Oracle Solaris product of Oracle System…3.9
- CVE-2021-2382Vulnerability in the Oracle WebLogic Server product of Oracl…9.8
- CVE-2021-23820This affects all versions of package json-pointer. A type co…9.8
- CVE-2021-23824This affects the package Crow before 0.3+4. When using attri…6.1
- CVE-2021-23827Keybase Desktop Client before 5.6.0 on Windows and macOS, an…5.5
- CVE-2021-2383Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2021-23835An issue was discovered in flatCore before 2.0.0 build 139. …4.9
Are you affected by CVE-2021-23814?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
