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-6187

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

CVE-2024-6187 is a critical remote code execution flaw in Ruijie RG-UAC Firmware 1.0 allowing OS command injection via the sub_commit.php file. This article covers technical details, affected versions, and mitigation steps.

Published: May 26, 2026

CVE-2024-6187 Overview

CVE-2024-6187 is an operating system command injection vulnerability affecting Ruijie RG-UAC 1.0. The flaw resides in the /view/vpn/autovpn/sub_commit.php script, where the key parameter is passed to a shell context without proper sanitization [CWE-78]. An authenticated remote attacker can manipulate this argument to execute arbitrary operating system commands on the underlying device.

The exploit details have been disclosed publicly through VulDB entry #269158 and a GitHub advisory. According to the disclosure, the vendor was contacted before publication but did not respond. Ruijie RG-UAC appliances function as unified access control gateways, so command execution on these devices can compromise network segmentation and VPN access policies.

Critical Impact

Remote attackers with low-privilege access can execute arbitrary OS commands on Ruijie RG-UAC appliances via the autovpn sub_commit.php endpoint, enabling full device compromise.

Affected Products

  • Ruijie RG-UAC 1.0 (hardware appliance)
  • Ruijie RG-UAC Firmware 1.0
  • Deployments exposing the /view/vpn/autovpn/ web management interface

Discovery Timeline

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

Technical Details for CVE-2024-6187

Vulnerability Analysis

The vulnerability is classified as OS command injection under [CWE-78]. The affected code path lies in the PHP handler /view/vpn/autovpn/sub_commit.php, which is part of the auto-VPN provisioning workflow exposed by the device web interface. The handler accepts a user-supplied key parameter and passes it to a system shell call without sufficient escaping or allow-listing.

Because RG-UAC devices typically run web services as a privileged user, injected commands execute with elevated rights on the appliance. The attack can be initiated remotely over the network. Exploitation requires low privileges according to the CVSS v4.0 vector, indicating that an authenticated session to the management interface is necessary.

The EPSS probability score of 2.428% with percentile 85.339 indicates relatively elevated exploitation interest compared to most CVEs, even though no confirmed in-the-wild activity has been reported.

Root Cause

The root cause is the absence of input validation and shell metacharacter neutralization on the key argument before it is concatenated into a command string. Standard mitigations such as PHP's escapeshellarg(), parameter allow-listing, or moving away from system()-style invocations were not applied to this code path.

Attack Vector

An attacker reaches the vulnerable endpoint over HTTP/HTTPS against the appliance management interface. After submitting a crafted key value containing shell metacharacters such as ;, |, or backticks, the appended commands are executed in the device shell. Successful exploitation can lead to credential theft, configuration modification, persistent backdoors, and lateral movement into protected network segments served by the gateway.

No verified exploit code is published in the enriched data set. Refer to the GitHub CVE documentation and VulDB entry #269158 for the public technical write-up.

Detection Methods for CVE-2024-6187

Indicators of Compromise

  • HTTP POST or GET requests to /view/vpn/autovpn/sub_commit.php containing shell metacharacters such as ;, &&, |, $(, or backticks in the key parameter
  • Unexpected child processes spawned by the web server account on the RG-UAC appliance, such as sh, wget, curl, or nc
  • Outbound connections from the appliance to unfamiliar hosts shortly after requests to the autovpn path

Detection Strategies

  • Inspect web server and reverse proxy logs for requests to sub_commit.php and decode the key parameter for shell syntax
  • Deploy signatures in network IDS/IPS that match command injection patterns in URL or POST body parameters targeting the autovpn endpoint
  • Baseline normal administrative traffic to the RG-UAC management interface and alert on anomalous source IPs or off-hours access

Monitoring Recommendations

  • Forward appliance syslog and HTTP access logs to a centralized analytics platform for retention and correlation
  • Monitor for new cron entries, modified startup scripts, or unexpected listening ports on the appliance
  • Track authentication events on the management interface for brute force or unusual session activity that may precede exploitation

How to Mitigate CVE-2024-6187

Immediate Actions Required

  • Restrict access to the RG-UAC web management interface to a dedicated administrative network or VPN, blocking exposure from the internet and general user VLANs
  • Rotate administrator credentials and audit all accounts permitted to authenticate to the management UI
  • Review device configuration, scheduled tasks, and firmware integrity for signs of tampering

Patch Information

As of the last NVD modification on 2025-08-21, no vendor advisory or fixed firmware version is listed in the enriched data. The disclosure notes that Ruijie did not respond to the reporter. Operators should contact Ruijie support directly to request a remediation timeline and apply any subsequent firmware updates as they become available.

Workarounds

  • Place the RG-UAC management interface behind an upstream access control list that permits only known administrator source addresses
  • Disable the auto-VPN provisioning workflow if it is not required in the deployment
  • Add WAF or reverse proxy rules to reject requests to /view/vpn/autovpn/sub_commit.php containing shell metacharacters in the key parameter
bash
# Example upstream firewall rule restricting RG-UAC management access
# Replace ADMIN_NET and UAC_MGMT_IP with your environment values
iptables -A FORWARD -s ADMIN_NET -d UAC_MGMT_IP -p tcp --dport 443 -j ACCEPT
iptables -A FORWARD -d UAC_MGMT_IP -p tcp --dport 443 -j DROP

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.43%

  • 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 Documentation

  • VulDB CTI ID #269158

  • VulDB #269158

  • VulDB Submission #354125
  • 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