CVE-2021-23814
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
This affects the package unisharp/laravel-filemanager from 0.0.0. The upload() function does not sufficiently validate the file type when uploading. An attacker may be able to reproduce the following steps: - Install a package with a web Laravel application. - Navigate to the Upload window - Upload an image file, then capture the request - Edit the request contents with a malicious file (webshell) - 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 the [here](https://unisharp.github.io/laravel-filemanager/configfolder-categories).
Overview
- CVE ID
- CVE-2021-23814
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-12-17T20:15:08
- Last Modified Date
- 2022-01-04T14:01:24
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:unisharp:laravel-filemanager:*:*:*:*:*:*:*:* | 1 | OR | 0.0.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-1567199 | Third Party Advisory |
https://github.com/UniSharp/laravel-filemanager/blob/master/src/Controllers/UploadController.php%23L26 | Broken Link Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23814 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23814 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:39:16 | Added to TrackCVE | |||
2022-12-06 04:19:50 | 2021-12-17T20:15Z | 2021-12-17T20:15:08 | CVE Published Date | updated |
2022-12-06 04:19:50 | 2022-01-04T14:01:24 | CVE Modified Date | updated | |
2022-12-06 04:19:50 | Analyzed | Vulnerability Status | updated |