External risk intelligence

Ruijie RG-UAC Command Injection Vulnerability Allows Arbitrary Command Execution.

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2023-7304

The affected product is an Application Management Gateway, which is typically deployed as an internet-facing network appliance. As an edge device, its management interfaces and web endpoints are frequently exposed to the public internet to facilitate remote management and traffic control functions, making the vulnerable endpoint reachable by design.

OS Command Injection

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a critical vulnerability in Ruijie RG-UAC Application Management Gateway that allows unauthenticated attackers to execute arbitrary commands. The issue, identified through the 'nmc_sync.php' interface, could grant attackers full control over the application process and potentially system-level access. This vulnerability is actively being exploited by the RondoDox botnet.

  • Unauthenticated access allows remote command execution.
  • Critical gateway vulnerability actively exploited.
  • Confirm relevance and exposure of affected systems.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending specially crafted requests to the 'nmc_sync.php' interface of the Ruijie RG-UAC Application Management Gateway. This interface allows an unauthenticated attacker to inject shell commands. Successful exploitation can lead to the execution of arbitrary commands on the host system, potentially granting the attacker full control over the application process and even system-level access. This vulnerability has been observed being targeted by the RondoDox botnet.

  • No authentication or prior access required.
  • Crafted request data to 'nmc_sync.php' interface.
  • Execute arbitrary commands and gain system access.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated attacker to execute arbitrary commands on the host system by sending crafted requests to the 'nmc_sync.php' interface of the Ruijie RG-UAC Application Management Gateway. This could lead to full control of the application process and potentially system-level access, depending on the privileges of the running service. The RondoDox botnet has been observed targeting this vulnerability.

  • System access and application control.
  • Via crafted requests to a web interface.
  • Potential for system-level compromise.

Operational Fix

Recommended remediation, mitigation, and detection steps

The Ruijie RG-UAC Application Management Gateway's command injection vulnerability requires immediate attention from teams responsible for network edge devices and application gateways. The first practical step is to identify all instances of this technology within your environment, confirm their exposure to the internet, and determine their criticality. This will enable you to assign ownership and prioritize remediation efforts based on potential impact.

  • Assign ownership to network or platform teams.
  • Verify external reachability and business criticality.
  • Plan coordinated vendor and remediation efforts.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the Ruijie RG-UAC Application Management Gateway?

The Ruijie RG-UAC is a network appliance designed for application management, traffic control, and gateway functions. These devices are typically deployed at the network edge to monitor and regulate data flow. Because they handle traffic management and administrative tasks, they often provide web-based interfaces to help network administrators configure policies and oversee system performance.

How does command injection work in CVE-2023-7304?

This vulnerability involves a weakness classified as CWE-78 (OS Command Injection). It occurs when an application improperly filters input before passing it to a system shell. In this case, the 'nmc_sync.php' interface accepts user-supplied data that is not properly sanitized. By sending a specially crafted request, an attacker can append their own shell commands, tricking the device into executing unauthorized actions with the system's privileges.

When does this vulnerability trigger?

The flaw triggers when an attacker sends a malicious HTTP request to the 'nmc_sync.php' file on the gateway. No authentication is needed, meaning the attacker does not need to log in to the device to initiate the attack. However, simply browsing to the interface normally or sending standard, non-malicious traffic will not trigger the command injection; the request must specifically contain the payload designed to manipulate the underlying system commands.

How do I know if my Ruijie RG-UAC is relevant to this threat?

According to Halo Surface Signal, this product is designed as an internet-facing edge device, meaning its management interfaces are often exposed to the public internet by default to support remote operations. You should consider any instance of this gateway reachable from outside your local network as highly relevant, as attackers can reach the vulnerable 'nmc_sync.php' endpoint directly from the internet without traversing internal security boundaries.

What should I do if I run this software?

First, conduct an inventory to locate all instances of the Ruijie RG-UAC within your environment. Once identified, verify if the management interface is accessible from the internet. You should coordinate with your network or platform management teams to prioritize these devices for security review. Ensure you are tracking vendor communications for official patches or configuration guidance to mitigate the risk of unauthorized system access.

References