Tianxin Behavior Management RCE (CVE-2021-4473)
CVE-2021-4473
CVE-2021-4473 with CVSS 9.8 grants unauthenticated RCE on Tianxin Internet Behavior Management System. Upgrade to NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin now.</description>
Patch now - CVE-2021-4473 is a critical command injection granting unauthenticated RCE on Tianxin Internet Behavior Management System versions before NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin, allowing full system compromise without any user interaction. Upgrade immediately to prevent exploitation.
Overview
A critical command injection vulnerability, tracked as CVE-2021-4473, exists in the Tianxin Internet Behavior Management System. The flaw is located in the Reporter component and allows unauthenticated attackers to execute arbitrary operating system commands on the appliance. This can lead to full system compromise.
Vulnerability Details
The vulnerability is caused by improper neutralization of special elements in the objClass parameter of a specific endpoint. An attacker can send a crafted network request containing shell metacharacters (like semicolons or pipes) and output redirection symbols. The system fails to validate this input, allowing the injected commands to be executed by the underlying server. This provides a direct path for attackers to write malicious PHP files into the web root directory, resulting in persistent remote code execution.
Impact
The impact of successful exploitation is severe. Attackers can gain complete control over the affected appliance with the privileges of the web server process. This access can be used to steal sensitive network data, deploy ransomware, pivot to other internal systems, or use the device as a foothold for further attacks. The vulnerability is network-exploitable, requires no authentication or user interaction, and has a maximum CVSS v3.1 base score of 9.8 (CRITICAL). Exploitation evidence was observed in the wild beginning June 1, 2024.
Affected Products and Remediation
This vulnerability affects Tianxin Internet Behavior Management System versions prior to the fixed release. The vendor has addressed the issue in firmware version NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin.
Action Required:
- Immediate Patching: All users must upgrade to the patched firmware version immediately. Contact the vendor for the specific update.
- Network Controls: If immediate patching is not possible, restrict network access to the management interface of these appliances to only trusted IP addresses. However, this is a temporary workaround and does not replace the need for the patch.
- Monitor for Compromise: Review system and web server logs for any suspicious command execution or unauthorized file creation, particularly PHP files in the web root. For information on how such breaches manifest, you can review recent incidents in our breach reports.
Security Insight
This vulnerability, discovered in 2021 but observed being exploited years later, highlights the persistent threat posed by unpatched network security appliances. These devices are high-value targets because they often sit at network perimeters and manage sensitive traffic. The pattern of command injection in management interfaces remains a common weakness, suggesting that vendors must implement stricter input validation and sandboxing for administrative functions, a lesson frequently underscored in security news covering similar incidents.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Related Advisories
An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a remote unauthenticated user to achieve root-level remote code execution...
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. Prior to version 2.1.0, all Docker container management endpoints in Termix interpolate th...
Synway SMG Gateway Management Software contains an OS command injection vulnerability in the RADIUS configuration endpoint at /en/9-2radius.php where the radius_address POST parameter is split and int...
WWBN AVideo is an open source video platform. In versions up to and including 29.0, an incomplete fix for AVideo's `test.php` adds `escapeshellarg` for wget but leaves the `file_get_contents` and `cur...