Skip to content

CVE-2021-47942 Home Assistant Community Store 1.10.0 Path Traversal Account Takeover

HighCVSS 8.7 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
hacs home assistant community store < 1.10.0 1.10.0 Fixed
home-assistant Home Assistant Community Store (HACS) < 1.10.0 1.10.0 Fixed

Affected products

ProductAffected versionsFixed in
home-assistant Home Assistant Community Store (HACS) < 1.10.0 1.10.0
hacs home assistant community store < 1.10.0 1.10.0

References