A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-6186

CVE-2024-6186: Ruijie RG-UAC Firmware RCE Vulnerability

CVE-2024-6186 is a critical remote code execution vulnerability in Ruijie RG-UAC Firmware 1.0 caused by OS command injection in commit.php. This article covers the technical details, affected versions, and mitigation steps.

Published: May 26, 2026

CVE-2024-6186 Overview

CVE-2024-6186 is an operating system command injection vulnerability in the Ruijie RG-UAC unified access controller running firmware version 1.0. The flaw resides in the /view/userAuthentication/SSO/commit.php endpoint, where the ad_log_name parameter is passed to a shell context without proper sanitization. An authenticated remote attacker can manipulate this parameter to execute arbitrary operating system commands on the appliance. Public disclosure occurred through VulDB entry #269157 and a corresponding GitHub write-up. The vendor was contacted prior to disclosure but did not respond, leaving deployed devices exposed without an official patch.

Critical Impact

Remote attackers with low-privileged access can inject arbitrary OS commands into the RG-UAC management interface, compromising the confidentiality, integrity, and availability of the access controller.

Affected Products

  • Ruijie RG-UAC (hardware appliance)
  • Ruijie RG-UAC Firmware 1.0
  • Single Sign-On (SSO) authentication module — /view/userAuthentication/SSO/commit.php

Discovery Timeline

  • 2024-06-20 - CVE-2024-6186 published to NVD with VulDB identifier #269157
  • 2025-08-21 - Last updated in NVD database

Technical Details for CVE-2024-6186

Vulnerability Analysis

The vulnerability is classified as an OS Command Injection flaw [CWE-78]. The affected component is the PHP script commit.php located under the Single Sign-On user authentication path. The script accepts the ad_log_name argument from a client request and forwards the value into a shell execution context without validating, escaping, or filtering shell metacharacters.

Because the RG-UAC appliance serves as a unified access controller, successful exploitation grants the attacker command execution in the context of the web management process. This can be leveraged to read configuration data, pivot into internal network segments, or disrupt authentication services. The attack requires network reachability to the management interface and a low-privileged authenticated session.

Root Cause

The root cause is improper neutralization of special elements used in an OS command. The ad_log_name parameter is concatenated into a shell invocation inside commit.php. Shell metacharacters such as ;, |, &&, and backticks remain unfiltered, allowing the attacker to break out of the intended command and append additional commands.

Attack Vector

The attack vector is network-based. An attacker sends a crafted HTTP request to /view/userAuthentication/SSO/commit.php containing a malicious ad_log_name value. The payload typically appends a shell separator followed by an arbitrary command. Public proof-of-concept material has been disclosed through the GitHub CVE Document and the VulDB entry. No verified exploit code is reproduced here; refer to the linked advisories for technical specifics.

Detection Methods for CVE-2024-6186

Indicators of Compromise

  • HTTP requests targeting /view/userAuthentication/SSO/commit.php containing shell metacharacters such as ;, |, &, $(, or backticks in the ad_log_name parameter.
  • Unexpected child processes spawned by the RG-UAC web server, such as sh, bash, wget, curl, or nc.
  • Outbound network connections initiated by the appliance to attacker-controlled infrastructure shortly after SSO commit requests.

Detection Strategies

  • Inspect web server and reverse proxy logs for requests to the vulnerable endpoint and flag any non-alphanumeric content in the ad_log_name parameter.
  • Deploy network intrusion detection signatures that match shell injection patterns against HTTP POST bodies destined for the RG-UAC management interface.
  • Correlate authentication events with subsequent process execution telemetry on adjacent systems to identify lateral movement from a compromised controller.

Monitoring Recommendations

  • Forward RG-UAC access logs and syslog output to a centralized SIEM and create alerts for repeated requests to commit.php from a single source.
  • Monitor for configuration file changes, new accounts, or unexpected scheduled tasks on the appliance.
  • Baseline outbound traffic from management appliances and alert on deviations such as connections to untrusted IP ranges.

How to Mitigate CVE-2024-6186

Immediate Actions Required

  • Restrict network access to the RG-UAC management interface using firewall rules so only trusted administrative subnets can reach the device.
  • Disable or block the /view/userAuthentication/SSO/commit.php endpoint at an upstream proxy or WAF if it is not required for production use.
  • Rotate administrative credentials and review SSO configuration for unauthorized changes.

Patch Information

No vendor patch has been released. The VulDB advisory notes that Ruijie did not respond to the disclosure. Operators should monitor the VulDB entry and the Ruijie support portal for future firmware updates and apply them as soon as they become available.

Workarounds

  • Place the RG-UAC management interface behind a VPN or jump host to eliminate direct internet exposure.
  • Apply a web application firewall rule that rejects requests to commit.php containing shell metacharacters in the ad_log_name parameter.
  • Audit authentication logs and disable unused SSO accounts to reduce the pool of credentials that can reach the vulnerable code path.
bash
# Example WAF rule (ModSecurity) to block shell metacharacters in ad_log_name
SecRule REQUEST_URI "@contains /view/userAuthentication/SSO/commit.php" \
  "chain,phase:2,deny,status:403,id:1006186,msg:'CVE-2024-6186 RG-UAC command injection attempt'"
  SecRule ARGS:ad_log_name "@rx [;|&`$()<>]" "t:none"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRuijie Rg Uac

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability2.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-78
  • Technical References
  • GitHub CVE Document

  • VulDB CTI ID #269157

  • VulDB #269157

  • VulDB Submission #354122
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English