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
    • 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-2022-31793

CVE-2022-31793: Muhttpd Path Traversal Vulnerability

CVE-2022-31793 is a path traversal flaw in Inglorion muhttpd that allows attackers to read arbitrary files by manipulating URL paths. This article covers technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-31793 Overview

CVE-2022-31793 is a path traversal vulnerability in the do_request function within request.c of muhttpd before version 1.1.7. This flaw allows remote attackers to read arbitrary files from the filesystem by constructing a malicious URL with a single character prepended to the desired path. The vulnerability stems from a critical coding error where the HTTP server implementation skips over the first character when serving files, effectively bypassing path validation mechanisms.

This vulnerability has significant real-world impact as muhttpd is embedded in numerous widely-deployed Arris network devices, including consumer and ISP-provided routers. The affected devices include Arris NVG443, NVG599, NVG589, NVG510, as well as Arris-derived BGW210 and BGW320 devices commonly used by major telecommunications providers.

Critical Impact

Remote attackers can read sensitive configuration files, credentials, and other confidential data from millions of vulnerable Arris routers without authentication, potentially exposing entire networks to further compromise.

Affected Products

  • Inglorion muhttpd (versions before 1.1.7)
  • Arris NVG443 (firmware)
  • Arris NVG599 (firmware)
  • Arris NVG589 (firmware)
  • Arris NVG510 (firmware)
  • Arris BGW210 (firmware)
  • Arris BGW320 (firmware)

Discovery Timeline

  • 2022-08-04 - CVE-2022-31793 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-31793

Vulnerability Analysis

The vulnerability resides in the do_request function within request.c of the muhttpd lightweight HTTP server. When processing incoming HTTP requests, the server incorrectly skips the first character of the requested path before serving files. This off-by-one error in path handling creates a trivial path traversal condition that allows attackers to escape the web root directory.

By prepending any single character (such as / or .) to a relative path like ../etc/passwd, an attacker can effectively bypass the server's path normalization logic. The server strips the first character, leaving a path that traverses outside the intended web root and into the underlying filesystem.

This vulnerability is particularly severe because muhttpd is typically embedded in router firmware with root-level access to the filesystem. Sensitive files such as /etc/passwd, /etc/shadow, configuration files containing WiFi credentials, VPN configurations, and administrative passwords become accessible to unauthenticated remote attackers.

Root Cause

The root cause is an off-by-one programming error in the do_request function within request.c. The code incorrectly increments a pointer or index before processing the requested file path, causing the first character to be skipped during path resolution. This fundamentally breaks the path validation and sanitization logic that would otherwise prevent directory traversal attacks.

The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as "Path Traversal." This class of vulnerability occurs when user-controllable input is used to construct file paths without proper validation, allowing attackers to access files outside the intended directory structure.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability remotely over the network by sending a specially crafted HTTP GET request to the vulnerable muhttpd server.

The exploitation is straightforward: an attacker constructs a URL where the path begins with any arbitrary character followed by a directory traversal sequence. For example, a request to GET /x../../../etc/passwd HTTP/1.1 would result in the server stripping the leading x character, then attempting to serve ../../../etc/passwd relative to the web root, ultimately returning the contents of /etc/passwd.

This attack can be performed using standard tools like curl or a web browser, making it trivially exploitable at scale. The Malwarebytes Vulnerability Analysis notes that millions of Arris routers deployed by ISPs are potentially vulnerable.

Detection Methods for CVE-2022-31793

Indicators of Compromise

  • HTTP access logs showing requests with unusual path patterns containing single-character prefixes followed by ../ sequences
  • Requests targeting sensitive system files such as /etc/passwd, /etc/shadow, or device-specific configuration paths
  • Network traffic showing HTTP responses containing system file contents from router management interfaces
  • Unexpected external connections to router web interfaces on ports 80, 443, or custom management ports

Detection Strategies

  • Deploy network intrusion detection rules to identify HTTP requests containing path traversal patterns with single-character prefixes (e.g., /x../, /.../, /a../)
  • Monitor HTTP response sizes from router management interfaces for anomalously large responses that may indicate file disclosure
  • Implement web application firewall (WAF) rules to block requests containing ../ sequences regardless of prefix characters
  • Enable verbose logging on network perimeter devices to capture and analyze suspicious HTTP request patterns

Monitoring Recommendations

  • Configure SIEM correlation rules to alert on multiple path traversal attempts against router management interfaces
  • Establish baseline network behavior for router management traffic and alert on deviations
  • Monitor for reconnaissance activity targeting router web interfaces from external IP addresses
  • Review access logs from router management interfaces regularly for signs of exploitation attempts

How to Mitigate CVE-2022-31793

Immediate Actions Required

  • Update muhttpd to version 1.1.7 or later where the vulnerability has been patched
  • Contact your ISP or router vendor to determine if firmware updates are available for affected Arris devices
  • Restrict access to router management interfaces to trusted internal networks only
  • Implement network segmentation to limit exposure of vulnerable devices to the internet
  • Deploy firewall rules to block external access to router HTTP/HTTPS management ports

Patch Information

The muhttpd project has addressed this vulnerability in version 1.1.7. Users running the standalone muhttpd server should upgrade to this version or later immediately. Information about the muhttpd project and updates is available from the Inglorion Software Overview.

For Arris router users, firmware updates must be obtained from Arris or the ISP providing the device. The CERT Vulnerability Notification #495801 provides additional guidance and coordination information. Users of ISP-provided equipment (such as AT&T customers with BGW210 or BGW320 gateways) should contact their service provider to request patched firmware.

The Derek Abdine Advisory on Arris provides detailed technical information about the vulnerability and affected device versions.

Workarounds

  • Disable the web management interface on affected routers if not required for operations
  • Place affected devices behind a firewall that blocks external access to HTTP/HTTPS management ports
  • Use VPN or other secure access methods to reach router management interfaces rather than exposing them directly
  • If possible, replace vulnerable devices with equipment running patched or unaffected firmware
bash
# Example firewall rules to restrict access to router management interface
# Block external access to common management ports (adjust for your environment)
iptables -A INPUT -i eth0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 443 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j DROP

# Allow management access only from trusted internal subnet
iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -s 192.168.1.0/24 -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
  • TypePath Traversal

  • Vendor/TechMuhttpd

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability93.82%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Inglorion Software Overview

  • Malwarebytes Vulnerability Analysis

  • Derek Abdine Advisory on Arris

  • CERT Vulnerability Notification #495801

  • CERT Vulnerability Notification #495801
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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