CVE-2024-5336: Ruijie RG-UAC vlan_add_commit.php addVlan os command injection

Published May 25, 2024
·
Updated

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

57 affected components
Ruijie RG-UAC<=20240516
All of the following
Ruijie Rg-uac 6000-cc Firmware
Ruijie Rg-uac 6000-cc
All of the following
Ruijie Rg-uac 6000-e10 Firmware
Ruijie Rg-uac 6000-e10
All of the following
Ruijie Rg-uac 6000-e10 Firmware
Ruijie Rg-uac 6000-e10=3.0
All of the following
Ruijie Rg-uac 6000-e10c Firmware
Ruijie Rg-uac 6000-e10c
All of the following
Ruijie Rg-uac 6000-e20 Firmware
Ruijie Rg-uac 6000-e20
All of the following
Ruijie Rg-uac 6000-e20c Firmware
Ruijie Rg-uac 6000-e20c
All of the following
Ruijie Rg-uac 6000-e20m Firmware
Ruijie Rg-uac 6000-e20m
All of the following
Ruijie Rg-uac 6000-e50 Firmware
Ruijie RG-UAC 6000-E50
All of the following
Ruijie Rg-uac 6000-e50c Firmware
Ruijie Rg-uac 6000-e50c
All of the following
Ruijie Rg-uac 6000-e50m Firmware
Ruijie Rg-uac 6000-e50m
All of the following
Ruijie Rg-uac 6000-ea Firmware
Ruijie Rg-uac 6000-ea
All of the following
Ruijie Rg-uac 6000-ei Firmware
Ruijie Rg-uac 6000-ei
All of the following
Ruijie Rg-uac 6000-isg02 Firmware
Ruijie Rg-uac 6000-isg02
All of the following
Ruijie Rg-uac 6000-isg10 Firmware
Ruijie Rg-uac 6000-isg10
All of the following
Ruijie Rg-uac 6000-isg200 Firmware
Ruijie Rg-uac 6000-isg200
All of the following
Ruijie Rg-uac 6000-isg40 Firmware
Ruijie Rg-uac 6000-isg40
All of the following
Ruijie Rg-uac 6000-si Firmware
Ruijie Rg-uac 6000-si
All of the following
Ruijie Rg-uac 6000-u3100 Firmware
Ruijie Rg-uac 6000-u3100
All of the following
Ruijie Rg-uac 6000-u3210 Firmware
Ruijie Rg-uac 6000-u3210
All of the following
Ruijie Rg-uac 6000-x100 Firmware
Ruijie Rg-uac 6000-x100
All of the following
Ruijie Rg-uac 6000-x100s Firmware
Ruijie Rg-uac 6000-x100s
All of the following
Ruijie Rg-uac 6000-x20 Firmware
Ruijie Rg-uac 6000-x20
All of the following
Ruijie Rg-uac 6000-x200 Firmware
Ruijie Rg-uac 6000-x200
All of the following
Ruijie Rg-uac 6000-x20m Firmware
Ruijie Rg-uac 6000-x20m
All of the following
Ruijie Rg-uac 6000-x20me Firmware
Ruijie Rg-uac 6000-x20me
All of the following
Ruijie Rg-uac 6000-x300d Firmware
Ruijie Rg-uac 6000-x300d
All of the following
Ruijie Rg-uac 6000-x60 Firmware
Ruijie Rg-uac 6000-x60
All of the following
Ruijie Rg-uac 6000-xs Firmware
Ruijie Rg-uac 6000-xs

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch VDB-266242
  2. 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

May 25, 2024
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5336?

CVE-2024-5336 is classified as critical due to its potential for OS command injection.

2

How do I fix CVE-2024-5336?

To mitigate CVE-2024-5336, update the Ruijie RG-UAC firmware to a version later than 20240516.

3

What functions are vulnerable in CVE-2024-5336?

The function addVlan in the file vlan_add_commit.php is vulnerable in CVE-2024-5336.

4

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.

5

Which devices are affected by CVE-2024-5336?

CVE-2024-5336 affects Ruijie RG-UAC devices running firmware up to version 20240516.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203