Detect CVE-2026-47668: DbGate Unauthenticated RCE via JSON Script Runner in IBM QRadar
Detects exploitation of CVE-2026-47668, a critical unauthenticated remote code execution vulnerability in dbgate-serve <= 7.1.8. The JSON Script Runner endpoint accepts and executes arbitrary JavaScript/JSON payloads without authentication, allowing attackers to achieve full server compromise. A public PoC is available.
MITRE ATT&CK
- Tactic
- Initial Access Execution Persistence Impact
QRadar Detection Query
SELECT
sourceip,
username,
URL,
Method,
"HTTP Status Code",
"User Agent",
starttime,
COUNT(*) AS request_count
FROM events
WHERE
LOGSOURCETYPENAME(logsourceid) IN ('Apache HTTP Server', 'IIS', 'Nginx', 'F5 BIG-IP LTM', 'Squid')
AND Method = 'POST'
AND (
URL ILIKE '%/script/run%'
OR URL ILIKE '%/script/execute%'
OR URL ILIKE '%/run-script%'
OR URL ILIKE '%/api/script%'
)
AND (username IS NULL OR username = '' OR username = '-')
AND DATEFORMAT(starttime, 'yyyy-MM-dd') = DATEFORMAT(NOW(), 'yyyy-MM-dd')
GROUP BY sourceip, username, URL, Method, "HTTP Status Code", "User Agent", starttime
ORDER BY request_count DESC
LAST 24 HOURS QRadar AQL query detecting unauthenticated POST requests to dbgate script runner paths, grouped by source IP and URL to identify exploitation patterns.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate service accounts hitting the dbgate API that are not reflected in the username field
- Reverse proxies that strip authentication headers before logging
- Internal network scanners or monitoring agents
Other platforms for CVE-2026-47668
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2026-47668 PoC — Unauthenticated Script Execution via curl
Expected signal: HTTP POST to /script/run with JSON body containing require('child_process'); Node.js spawns a child process (execve syscall with ppid=node); file /tmp/pwned.txt created by node process user
- Test 2CVE-2026-47668 — Reverse Shell Payload via Script Runner
Expected signal: Node.js spawns /bin/sh child process; outbound TCP connection from node process to ATTACKER_IP:4444 visible in netflow and EDR network telemetry
- Test 3CVE-2026-47668 — Version Fingerprinting and Endpoint Discovery
Expected signal: Multiple GET and POST requests to dbgate host from single source IP in short succession; POST to /script/run with simple JS payload; file write event from node process
Unlock Pro Content
Get the full detection package for CVE-2026-47668 including response playbook, investigation guide, and atomic red team tests.