RCE in Tg8 Firewall
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
EPSS exploit prediction
EPSS 0.008, 58.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Tg8 Firewall — versions 0
Weakness classification (CWE)
References
- ssd-disclosure.com/ssd-advisory-tg8-firewall-preauth-rce-and-password-disclosur… (technical-description, exploit)
- web.archive.org/web/20211024224240/http://www.tg8security.com/ (product)
- www.vulncheck.com/advisories/tg8-firewall-unauthenticated-rce-via-runphpcmd-php (third-party-advisory)