TG8 Firewall Unauthenticated RCE via runphpcmd.php
CVE-2021-4470

9.3CRITICAL

Key Information:

Vendor

Tg8

Vendor
CVE Published:
14 November 2025

Badges

👾 Exploit Exists

What is CVE-2021-4470?

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 Version(s)

TG8 Firewall 0

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

SSD Secure Disclosure
.
CVE-2021-4470 : Remote Code Execution Vulnerability in TG8 Firewall by TG8 Security