CVE-2021-47942
Last modified
CVE-2021-47942 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. Home Assistant Community Store (HACS) prior to 1.10.0 contains a path traversal vulnerability that allows unauthenticated attackers to read sensitive files by traversing directories via the /hacsfiles/ endpoint. Attackers can retrieve the .storage/auth file containing user credentials and refresh tokens, then craft valid JWT tokens to gain administrative access to Home Assistant instances.. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
Home Assistant Community Store (HACS) prior to 1.10.0 contains a path traversal vulnerability that allows unauthenticated attackers to read sensitive files by traversing directories via the /hacsfiles/ endpoint. Attackers can retrieve the .storage/auth file containing user credentials and refresh tokens, then craft valid JWT tokens to gain administrative access to Home Assistant instances.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hacs | Home Assistant Community Store | < 1.10.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47942?
How severe is CVE-2021-47942?
How do I fix CVE-2021-47942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47936OpenCATS 0.9.4 contains a remote code execution vulnerabilit…9.8
- CVE-2021-47937e107 CMS 2.3.0 contains a remote code execution vulnerabilit…8.8
- CVE-2021-47938ImpressCMS 1.4.2 contains a remote code execution vulnerabil…8.8
- CVE-2021-47939Evolution CMS 3.1.6 contains a remote code execution vulnera…8.8
- CVE-2021-47940WordPress Plugin Download From Files version 1.48 and earlie…9.8
- CVE-2021-47941WordPress Plugin Survey & Poll 1.5.7.3 contains an SQL injec…8.8
- CVE-2021-47943TextPattern CMS 4.8.7 contains a remote code execution vulne…8.8
- CVE-2021-47944memono Notepad 4.2 contains a denial of service vulnerabilit…8.7
- CVE-2021-47945Argus Surveillance DVR 4.0 contains an unquoted service path…8.5
- CVE-2021-47946OpenCart 3.0.3.6 contains a cross-site request forgery vulne…6.9
- CVE-2021-47947Projectsend r1295 contains a stored cross-site scripting vul…6.4
- CVE-2021-47948WordPress GetPaid Plugin 2.4.6 contains an HTML injection vu…5.4
Are you affected by CVE-2021-47942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
