The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2025-4999

CVE-2025-4999: Linksys FGW3000 Firmware RCE Vulnerability

CVE-2025-4999 is a critical remote code execution vulnerability in Linksys FGW3000-AH and FGW3000-HK firmware that allows attackers to execute unauthorized commands. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-4999 Overview

A critical command injection vulnerability has been identified in Linksys FGW3000-AH and FGW3000-HK routers running firmware versions up to 1.0.17.000000. The vulnerability exists within the sub_4153FC function in the /cgi-bin/sysconf.cgi component, which is part of the HTTP POST Request Handler. Attackers can exploit improper handling of the supplicant_rnd_id_en argument to inject and execute arbitrary commands on the affected device.

This vulnerability is particularly concerning as it can be exploited remotely over the network, allowing attackers to potentially gain unauthorized access to the router and underlying network infrastructure. The exploit has been publicly disclosed, and the vendor was contacted but did not respond to the disclosure.

Critical Impact

Remote attackers can inject arbitrary commands through the supplicant_rnd_id_en parameter in HTTP POST requests, potentially leading to complete device compromise and network intrusion.

Affected Products

  • Linksys FGW3000-AH Firmware (up to version 1.0.17.000000)
  • Linksys FGW3000-AH Hardware
  • Linksys FGW3000-HK Firmware (up to version 1.0.17.000000)
  • Linksys FGW3000-HK Hardware

Discovery Timeline

  • 2025-05-20 - CVE-2025-4999 published to NVD
  • 2025-06-12 - Last updated in NVD database

Technical Details for CVE-2025-4999

Vulnerability Analysis

This command injection vulnerability (CWE-77) stems from insufficient input validation in the router's web management interface. The sub_4153FC function within /cgi-bin/sysconf.cgi fails to properly sanitize user-supplied input passed through the supplicant_rnd_id_en parameter during HTTP POST request handling. This allows an authenticated attacker to inject shell metacharacters and arbitrary commands that are subsequently executed by the underlying operating system with elevated privileges.

The vulnerability falls under both CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) and CWE-77 (Command Injection), indicating a fundamental failure in input validation and output encoding practices within the firmware's CGI handler components.

Root Cause

The root cause lies in the improper neutralization of special elements within the supplicant_rnd_id_en parameter. When processing HTTP POST requests to /cgi-bin/sysconf.cgi, the sub_4153FC function directly incorporates user-supplied data into system command execution without adequate sanitization or escaping. This allows shell metacharacters such as semicolons, backticks, and pipe operators to break out of the intended command context and execute attacker-controlled commands.

Attack Vector

The attack can be launched remotely over the network by sending a specially crafted HTTP POST request to the vulnerable CGI endpoint. An attacker with low-privilege access to the router's web interface can manipulate the supplicant_rnd_id_en argument to inject malicious commands. The attack requires network access to the router's management interface but does not require user interaction beyond initial authentication.

The vulnerability manifests when the router processes configuration requests through the sysconf.cgi handler. Attackers can embed shell commands within the supplicant_rnd_id_en parameter value, which are then passed unsanitized to system command execution functions. For detailed technical analysis, refer to the GitHub Resource Guide and VulDB Advisory #309650.

Detection Methods for CVE-2025-4999

Indicators of Compromise

  • Unusual HTTP POST requests to /cgi-bin/sysconf.cgi containing shell metacharacters (;, |, `, $()) in the supplicant_rnd_id_en parameter
  • Unexpected outbound network connections originating from the router device
  • Modified system files or unauthorized processes running on the router
  • Authentication logs showing repeated access attempts to the router's web management interface

Detection Strategies

  • Implement network intrusion detection rules to identify malicious POST requests targeting /cgi-bin/sysconf.cgi with command injection patterns
  • Monitor router logs for unusual CGI handler activity or error messages related to command execution
  • Deploy web application firewall (WAF) rules to block requests containing shell metacharacters in form parameters
  • Perform regular firmware integrity checks to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging on the router's web management interface if supported
  • Configure network monitoring to alert on traffic patterns consistent with command injection exploitation
  • Implement periodic vulnerability scanning against router management interfaces
  • Monitor for DNS queries or network connections to suspicious external hosts from the router's IP address

How to Mitigate CVE-2025-4999

Immediate Actions Required

  • Restrict access to the router's web management interface to trusted IP addresses only using firewall rules
  • Disable remote management access if not required for operations
  • Implement network segmentation to isolate the router's management interface from untrusted networks
  • Monitor for exploitation attempts while awaiting a vendor patch

Patch Information

As of the last update, Linksys has not released a security patch addressing this vulnerability. The vendor was contacted during the disclosure process but did not respond. Organizations should monitor Linksys Security Resources for future firmware updates that may address this issue.

Until a patch is available, implementing the recommended workarounds and mitigations is critical for reducing exposure to this vulnerability.

Workarounds

  • Disable the web management interface entirely and manage the device via physical console access where possible
  • Place the router's management interface on an isolated VLAN accessible only to authorized administrators
  • Implement strong access controls and multi-factor authentication for any remaining web management access
  • Consider deploying an upstream firewall or IPS to filter malicious requests before they reach the vulnerable device
bash
# Example: Restrict management access via iptables on upstream firewall
# Block external access to router management interface
iptables -A FORWARD -d <ROUTER_IP> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <ROUTER_IP> -p tcp --dport 443 -j DROP

# Allow only trusted admin subnet
iptables -I FORWARD -s 192.168.100.0/24 -d <ROUTER_IP> -p tcp --dport 443 -j ACCEPT

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLinksys

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability1.95%

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

  • CWE-77
  • Technical References
  • GitHub Resource Guide

  • VulDB CTI ID #309650

  • VulDB #309650

  • VulDB Submission #565909

  • Linksys Security Overview
  • Related CVEs
  • CVE-2026-4558: Linksys MR9600 RCE Vulnerability

  • CVE-2025-34037: Linksys E-Series Router RCE Vulnerability

  • CVE-2025-5447: Linksys RE9000 Firmware RCE Vulnerability

  • CVE-2025-5441: Linksys RE9000 Firmware RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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