Skip to content

Authentication bypass Supervisor API

Critical
frenck published GHSA-2j8f-h4mr-qr25 Mar 8, 2023

Package

Home Assistant Core

Affected versions

<2023.3.2

Patched versions

2023.3.2
Home Assistant Supervisor
<2023.03.3
2023.03.3

Description

Impact

A remotely exploitable vulnerability bypassing authentication for accessing the Supervisor API through Home Assistant has been discovered.

This impacts all Home Assistant installation types that use the Supervisor 2023.03.2 or older.

  • Home Assistant OS
  • Home Assistant Supervised

Other installation types, like Home Assistant Container (for example Docker), or Home Assistant Core manually in a Python environment, are not affected.

Patches

The issue has been mitigated and closed in Supervisor version 2023.03.3, which has been rolled out to all affected installations via the auto-update feature of the Supervisor. This rollout has been completed at the time of publication of this advisory.

Home Assistant Core 2023.3.2 included mitigation for this vulnerability. Upgrading to at least that version is thus advised.

Workarounds

In case one is not able to upgrade the Home Assistant Supervisor or the Home Assistant Core application at this time, it is advised to not expose your Home Assistant instance to the internet.

Credits

The security issue was found by Joseph Surin from elttam. Many thanks for bringing this to our attention.

References

Edit history

  • Adjusted Home Assistant Core version to 2023.3.2
  • Adjusted Home Assistant Supervisor version to 2023.03.3

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2023-27482

Weaknesses

No CWEs

Credits