CVE-2024-5338 Ruijie RG-UAC online.php os command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary OS commands via the peernode argument in online.php, requiring immediate attention from network administrators.

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

What is CVE-2024-5338?

CVE-2024-5338 is a medium-severity command injection vulnerability in Ruijie RG-UAC, published on 25 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in Ruijie RG-UAC up to 20240516. It has been classified as critical. Affected is an unknown function of the file /view/vpn/autovpn/online.php. The manipulation of the argument peernode leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-266244. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-78

Which versions are affected by CVE-2024-5338?

It affects 27 products.

Products include Ruijie Rg-Uac 6000-Cc Firmware, Ruijie Rg-Uac 6000-E10 Firmware, Ruijie Rg-Uac 6000-E10c Firmware, Ruijie Rg-Uac 6000-E20 Firmware, Ruijie Rg-Uac 6000-E20c Firmware, Ruijie Rg-Uac 6000-E20m Firmware and 21 more.

How do I fix CVE-2024-5338?

No fix has been published for CVE-2024-5338 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-2024-5338 being exploited?

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

Sources

Is CVE-2024-5338 in your software?

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

Check your SBOMs for free