CVE-2021-4473

Tianxin Internet Behavior Management System Command Injection via toQuery.php

Published Apr 7, 2026 CVSS 4.0 · 9.3 Critical EPSS 6.3% KEV · Not listed
Description
Tianxin Internet Behavior Management System contains a command injection vulnerability in the Reporter component endpoint that allows unauthenticated attackers to execute arbitrary commands by supplying a crafted objClass parameter containing shell metacharacters and output redirection. Attackers can exploit this vulnerability to write malicious PHP files into the web root and achieve remote code execution with the privileges of the web server process. This vulnerability has been fixed in version NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-06-01 (UTC).

Analysis

AI-generated

Technical impact

The Tianxin Internet Behavior Management System contains an OS command injection flaw in the Reporter component endpoint. By supplying a crafted objClass parameter that includes shell metacharacters and output redirection, an unauthenticated attacker can execute arbitrary system commands. This allows the attacker to write malicious PHP files into the web root and achieve remote code execution with the privileges of the web server process, resulting in full control over the affected device. The weakness is a classic command injection issue, identified as CWE‑78.

Affected Systems

The flaw affects Beijing Topsec Network Security Technology Co., Ltd.'s Tianxin Internet Behavior Management System. While specific vulnerable firmware revisions are not listed, all releases prior to NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin are potentially impacted. The Reporter component, which processes the toQuery.php endpoint, is the entry point for exploitation.

Risk and Exploitability

The vulnerability is assessed with a CVSS score of 9.3, indicating critical severity. The EPSS score of 5% suggests a moderate likelihood of exploitation, and the flaw is not currently listed in the CISA KEV catalog. Exploitation is straightforward for an attacker with network access to the device, as it is unauthenticated and driven by simple HTTP requests to the Reporter endpoint. Public exploitation was observed by ShadowServer on June 1 2024, confirming real‑world risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Download and install the official firmware update NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin.
  • Verify the integrity of the firmware using the provided checksums or digital signatures.
  • Reboot the device to apply the patch and confirm the Reporter endpoint no longer accepts crafted parameters.
  • Monitor logs for attempted command injection attempts.
  • If unable to update immediately, restrict network access to the device and block HTTP requests to the Reporter endpoint to mitigate exposure.

Generated by OpenCVE AI on April 28, 2026 at 08:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Topsecgroup
Topsecgroup tianxin Internet Behavior Management System
CPEs cpe:2.3:a:topsecgroup:tianxin_internet_behavior_management_system:*:*:*:*:*:*:*:*
Vendors & Products Topsecgroup
Topsecgroup tianxin Internet Behavior Management System
Type Values Removed Values Added
First Time appeared Beijing Topsec Network Security
Beijing Topsec Network Security tianxin Internet Behavior Management System
Vendors & Products Beijing Topsec Network Security
Beijing Topsec Network Security tianxin Internet Behavior Management System
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Tianxin Internet Behavior Management System contains a command injection vulnerability in the Reporter component endpoint that allows unauthenticated attackers to execute arbitrary commands by supplying a crafted objClass parameter containing shell metacharacters and output redirection. Attackers can exploit this vulnerability to write malicious PHP files into the web root and achieve remote code execution with the privileges of the web server process. This vulnerability has been fixed in version NACFirmware_4.0.0.7_20210716.180815_topsec_0_basic.bin. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-06-01 (UTC).
Title Tianxin Internet Behavior Management System Command Injection via toQuery.php
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 14, 2026, 2:06 AM
Reserved
Jan 15, 2026, 8:57 PM
Status
Analyzed
Published
Apr 7, 2026, 1:16 PM
Modified
Jun 17, 2026, 4:19 AM