CVE-2024-5336: Ruijie RG-UAC vlan_add_commit.php addVlan os command injection
A vulnerability has been found in Ruijie RG-UAC up to 20240516 and classified as critical. This vulnerability affects the function addVlan of the file /view/networkConfig/vlan/vlanaddcommit.php. The manipulation of the argument phyport leads to os command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-266242 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch VDB-266242 - Compensating control
Restrict network access to the affected Ruijie RG-UAC application so the vulnerable function /view/networkConfig/vlan/vlan_add_commit.php (addVlan in vlan_add_commit.php) cannot be reached remotely.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5336?
CVE-2024-5336 is classified as critical due to its potential for OS command injection.
How do I fix CVE-2024-5336?
To mitigate CVE-2024-5336, update the Ruijie RG-UAC firmware to a version later than 20240516.
What functions are vulnerable in CVE-2024-5336?
The function addVlan in the file vlan_add_commit.php is vulnerable in CVE-2024-5336.
How can an attacker exploit CVE-2024-5336?
An attacker can exploit CVE-2024-5336 by manipulating the phyport argument to execute arbitrary commands on the system.
Which devices are affected by CVE-2024-5336?
CVE-2024-5336 affects Ruijie RG-UAC devices running firmware up to version 20240516.