CVE-2023-7304 Ruijie RG-UAC nmc_sync.php Command Injection

Critical 9.3 Published Updated

Unauthenticated attackers can inject shell commands via the nmc_sync.php interface to execute arbitrary code and potentially gain system-level access on Ruijie RG-UAC gateways.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-7304?

CVE-2023-7304 is a critical command injection vulnerability in Ruijie Networks Co., Ltd. RG-UAC, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Ruijie RG-UAC Application Management Gateway contains a command injection vulnerability via the 'nmc_sync.php' interface. An unauthenticated attacker able to reach the affected endpoint can inject shell commands via crafted request data, causing the application to execute arbitrary commands on the host. Successful exploitation can yield full control of the application process and may lead to system-level access depending on the service privileges. VulnCheck has observed this vulnerability being targeted by the RondoDox botnet campaign.

Weakness: CWE-78

Which versions are affected by CVE-2023-7304?

How do I fix CVE-2023-7304?

No fix has been published for CVE-2023-7304 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-7304 being exploited?

There is no known exploitation of CVE-2023-7304 in the wild and no public exploit code.

Sources

Also known as GHSA-f7f9-7865-53wh.

Is CVE-2023-7304 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free