LiveActive security incident?Get immediate response
CVE Record

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

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.

CriticalCVSS 9.3Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A flaw in the TG8 Firewall lets anyone on the network take full control of the device without logging in. Because firewalls sit at the edge of the network, a successful attack hands an outsider root-level control of a security appliance and a foothold to pivot deeper into the business.

Executive priority

Treat as urgent. An unauthenticated root-level takeover of an internet-edge firewall is a worst-case scenario. If TG8 devices are in use, isolate them today and accelerate replacement planning, because vendor support appears uncertain.

Technical view

The runphpcmd.php endpoint accepts a syscmd POST parameter and passes it unsanitized to a system call running as root, a textbook OS command injection (CWE-78). No authentication is required, so a remote attacker can issue crafted requests to execute arbitrary commands and fully compromise the appliance, per the SSD and VulnCheck advisories.

Likely exposure

Any TG8 Firewall whose management or web interface is reachable from untrusted networks is exposed. Affected versions are not enumerated in the sources, and the vendor site is only available via Internet Archive, suggesting the product line may be unsupported or end-of-life.

Exploitation context

CVSS 4.0 base score is 9.3 with network attack vector and no privileges or user interaction required. The CVE is not listed in CISA KEV, and the cited advisories describe the technique but do not confirm in-the-wild exploitation. Public disclosure with technical detail raises opportunistic risk.

Researcher notes

Pre-auth OS command injection via syscmd to runphpcmd.php executes as root. Affected version data is incomplete (CVE lists version "0" and no CPEs), so coverage detection should be appliance-fingerprint based. Vendor website is only reachable through web.archive.org, indicating likely abandonment. No KEV listing or confirmed ITW activity in cited sources.

Mitigation direction

  • Remove TG8 Firewall management interfaces from internet exposure immediately.
  • Restrict access to runphpcmd.php with upstream ACLs or a WAF until vendor guidance is confirmed.
  • Contact TG8 or an authorized reseller for patch availability and EOL status.
  • Plan migration to a supported firewall platform if no fix is available.
  • Monitor egress and admin traffic from TG8 devices for signs of compromise.

Validation and detection

  • Inventory all TG8 Firewall appliances and record firmware versions and exposure.
  • Review web server and reverse proxy logs for POST requests to runphpcmd.php.
  • Check authentication and command history on the device for unexpected root activity.
  • Validate management plane is segmented from untrusted networks.
  • Confirm vendor support status and current advisories before declaring the device safe.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4470 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.3 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.3CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

9.3Critical
CVSS 4.0 vector shape for CVE-2021-4470Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
TG8TG8 Firewall0unknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.