Vulnerability · Published Nov 14, 2025 · Assigned by VulnCheck
CVE-2021-4470TG8 Firewall Unauthenticated RCE via runphpcmd.php
Critical 9.3
In plain English
A critical-severity OS command injection in TG8 Firewall from TG8. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities).
Official description
TG8 Firewall contains a pre-authentication remote code execution vulnerability in the runphpcmd.php endpoint. The syscmd POST parameter is passed directly to a system command without validation and executed with root privileges. A remote, unauthenticated attacker can supply crafted values to execute arbitrary operating system commands as root, resulting in full device compromise.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| TG8 | TG8 Firewall | 0 |
Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://ssd-disclosure.com/ssd-advisory-tg8-firewall-preauth-rce-and-password-disclosure/ technical-description, exploit
- https://web.archive.org/web/20211024224240/http://www.tg8security.com/ product
- https://www.vulncheck.com/advisories/tg8-firewall-unauthenticated-rce-via-runphpcmd-php third-party-advisory