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

CVE-2022-0824: Webmin RCE Vulnerability via Access Control

CVE-2022-0824 is a remote code execution vulnerability in Webmin caused by improper access control that enables attackers to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation.

Published: February 17, 2026

CVE-2022-0824 Overview

CVE-2022-0824 is an Improper Access Control vulnerability in Webmin that enables Remote Code Execution (RCE) in versions prior to 1.990. The vulnerability exists due to broken access control mechanisms that allow authenticated low-privileged users to bypass authorization checks and execute arbitrary commands on the underlying server with root privileges.

Critical Impact

Authenticated attackers can bypass access controls to achieve remote code execution on systems running vulnerable Webmin installations, potentially gaining complete server control.

Affected Products

  • Webmin versions prior to 1.990
  • Webmin File Manager module (affected versions)
  • Systems running Webmin web-based administration interface

Discovery Timeline

  • 2022-03-02 - CVE CVE-2022-0824 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0824

Vulnerability Analysis

This vulnerability stems from improper access control (CWE-284) and incorrect authorization (CWE-863) in Webmin's module access verification mechanism. The flaw allows authenticated users with limited privileges to bypass the access control checks that should restrict them from accessing certain administrative modules. When exploited successfully, an attacker with a low-privileged Webmin account can execute arbitrary commands on the server, typically with root-level privileges since Webmin commonly runs as root to perform system administration tasks.

The attack can be conducted remotely over the network without requiring any user interaction. Successful exploitation results in complete compromise of confidentiality, integrity, and availability of the target system.

Root Cause

The root cause lies in the web-lib-funcs.pl module's handling of foreign module access checks. The vulnerable code only checked for the presence of the FOREIGN_MODULE_NAME environment variable but failed to properly verify authorization when this variable was set. This allowed attackers to manipulate requests to bypass the normal access control checks that would otherwise prevent unauthorized module access.

Attack Vector

The attack is network-based and requires the attacker to have valid credentials for a low-privileged Webmin account. The attacker can then craft malicious requests that exploit the broken access control to access modules they should not have permission to use, ultimately achieving remote code execution. Public exploits are available through ExploitDB and Packet Storm, making this vulnerability particularly dangerous for unpatched systems.

perl
// Security patch in web-lib-funcs.pl - Foreign module access check fix
 	}
 
if ($module_name && !$main::no_acl_check &&
-    !defined($ENV{'FOREIGN_MODULE_NAME'}) &&
+    (!defined($ENV{'FOREIGN_MODULE_NAME'}) ||
+      defined($ENV{'FOREIGN_MODULE_SEC_CHECK'})) &&
     $main::webmin_script_type eq 'web') {
 	# Check if the HTTP user can access this module
 	if (!&foreign_available($module_name)) {

Source: GitHub Webmin Commit

The patch introduces an additional security check via the FOREIGN_MODULE_SEC_CHECK environment variable. The corrected logic ensures that access control verification is performed even when a foreign module name is defined, closing the bypass condition that allowed unauthorized access.

Detection Methods for CVE-2022-0824

Indicators of Compromise

  • Unusual access patterns to Webmin File Manager module from low-privileged accounts
  • Unexpected command execution or process spawning from the Webmin service
  • Log entries showing access to administrative modules by non-admin users
  • Suspicious HTTP requests targeting /file/show.cgi or similar File Manager endpoints

Detection Strategies

  • Monitor Webmin access logs for authorization bypass attempts and access to restricted modules
  • Implement network intrusion detection rules to identify known exploit patterns targeting Webmin
  • Review user account activity for low-privileged accounts attempting to access administrative functions
  • Deploy endpoint detection to identify suspicious process chains originating from Webmin

Monitoring Recommendations

  • Enable detailed logging in Webmin and forward logs to a centralized SIEM solution
  • Create alerts for any access to the File Manager module by users without explicit permissions
  • Monitor for outbound connections or reverse shells originating from the Webmin process
  • Track file system changes made by the Webmin service outside normal administrative operations

How to Mitigate CVE-2022-0824

Immediate Actions Required

  • Upgrade Webmin to version 1.990 or later immediately
  • Review all Webmin user accounts and remove unnecessary low-privileged accounts
  • Restrict network access to Webmin interface using firewall rules to trusted IP addresses only
  • Audit Webmin access logs for signs of previous exploitation attempts

Patch Information

Webmin has released version 1.990 which addresses this vulnerability. The fix is available in commit 39ea464f0c40b325decd6a5bfb7833fa4a142e38 on the official Webmin GitHub repository. Organizations should prioritize upgrading to the patched version as public exploits are widely available.

Workarounds

  • Disable the File Manager module if not required for operations
  • Implement network-level access controls to restrict Webmin access to trusted administrators only
  • Use a reverse proxy with additional authentication layers in front of Webmin
  • Consider temporarily disabling Webmin until patching can be completed if the risk is deemed critical
bash
# Restrict Webmin access to specific IP addresses using iptables
iptables -A INPUT -p tcp --dport 10000 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 10000 -j DROP

# Alternative: Disable Webmin service temporarily
systemctl stop webmin
systemctl disable webmin

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWebmin

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability93.88%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-284

  • CWE-863
  • Technical References
  • Packet Storm RCE Exploit

  • Packet Storm RCE File Manager

  • Huntr Bounty Report

  • NetByteSec Webmin Analysis
  • Vendor Resources
  • GitHub Webmin Commit
  • Related CVEs
  • CVE-2024-12828: Webmin CGI Command Injection RCE Vulnerability

  • CVE-2020-35606: Webmin Package Updates RCE Vulnerability

  • CVE-2022-0829: Webmin Auth Bypass Vulnerability

  • CVE-2021-31760: Webmin CSRF to 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