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-2024-12729

CVE-2024-12729: Sophos Firewall Firmware RCE Vulnerability

CVE-2024-12729 is a post-authenticated remote code execution vulnerability in Sophos Firewall Firmware that lets authenticated users execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-12729 Overview

CVE-2024-12729 is a post-authentication code injection vulnerability affecting Sophos Firewall's User Portal. This security flaw allows authenticated users to execute arbitrary code remotely on vulnerable Sophos Firewall appliances running firmware versions older than 21.0 MR1 (21.0.1). The vulnerability represents a significant risk to enterprise network perimeters, as firewalls are critical security infrastructure components that, when compromised, can provide attackers with privileged access to protected network segments.

Critical Impact

Authenticated attackers can achieve remote code execution on Sophos Firewall appliances, potentially compromising the entire network perimeter security infrastructure and enabling lateral movement into protected networks.

Affected Products

  • Sophos Firewall Firmware versions prior to 21.0 MR1 (21.0.1)
  • Sophos Firewall hardware appliances
  • Sophos Firewall virtual appliances running vulnerable firmware

Discovery Timeline

  • 2024-12-19 - CVE-2024-12729 published to NVD
  • 2025-11-12 - Last updated in NVD database

Technical Details for CVE-2024-12729

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, or 'Code Injection'). The flaw exists within the User Portal component of Sophos Firewall, which is a web-based interface that allows authenticated users to manage their VPN connections, download client software, and perform other user-level tasks.

The code injection vulnerability occurs when user-supplied input is improperly validated or sanitized before being processed by the application. In this context, an authenticated user can craft malicious input that, when processed by the User Portal, results in the execution of arbitrary code on the underlying firewall system.

The network-based attack vector with low complexity makes this vulnerability particularly concerning for organizations with internet-exposed User Portal interfaces. While authentication is required, the ability to execute code remotely on a network security appliance represents a severe compromise of the security boundary.

Root Cause

The root cause of CVE-2024-12729 lies in insufficient input validation within the User Portal component. The application fails to properly sanitize or neutralize user-controlled input before incorporating it into dynamically generated code or commands. This allows an attacker with valid credentials to inject malicious code that the firewall executes with elevated privileges, bypassing the intended security controls of the User Portal interface.

Attack Vector

The attack is executed over the network against the Sophos Firewall User Portal. An attacker must first obtain valid authentication credentials for the User Portal, which could be achieved through:

  1. Compromised user credentials from phishing or credential stuffing attacks
  2. Insider threat scenarios where legitimate users act maliciously
  3. Credential reuse from previously breached services

Once authenticated, the attacker can exploit the code injection vulnerability by submitting specially crafted input through the User Portal interface. The injected code executes in the context of the firewall system, potentially providing full control over the security appliance.

The vulnerability mechanism involves the User Portal processing user input in a way that allows code injection. When an authenticated user submits malicious payloads through vulnerable input fields, the application fails to properly neutralize special elements, resulting in arbitrary code execution on the firewall. For detailed technical information, refer to the Sophos Security Advisory SA-20241219.

Detection Methods for CVE-2024-12729

Indicators of Compromise

  • Unusual process spawning from User Portal service processes
  • Unexpected outbound network connections originating from the firewall appliance
  • Anomalous system commands or shell invocations logged on the firewall
  • Suspicious authentication patterns to the User Portal followed by unusual activity

Detection Strategies

  • Monitor Sophos Firewall logs for unusual User Portal activity patterns or error messages indicating injection attempts
  • Implement network traffic analysis to detect anomalous outbound connections from firewall management interfaces
  • Deploy intrusion detection rules targeting code injection patterns in HTTP requests to the User Portal
  • Review authentication logs for unusual login patterns or credential access from unexpected sources

Monitoring Recommendations

  • Enable verbose logging on Sophos Firewall User Portal components
  • Configure SIEM alerts for code injection indicators and unusual firewall behavior
  • Monitor for unauthorized configuration changes or new administrative accounts on firewall appliances
  • Implement baseline monitoring for normal User Portal usage patterns to detect anomalies

How to Mitigate CVE-2024-12729

Immediate Actions Required

  • Upgrade Sophos Firewall firmware to version 21.0 MR1 (21.0.1) or later immediately
  • Restrict User Portal access to trusted networks only using firewall access rules
  • Audit User Portal user accounts and disable any unnecessary or suspicious accounts
  • Review firewall logs for signs of prior exploitation attempts

Patch Information

Sophos has released firmware version 21.0 MR1 (21.0.1) to address this vulnerability. Organizations should prioritize this update for all Sophos Firewall deployments. The security advisory and patch details are available at the Sophos Security Advisory SA-20241219. Sophos typically provides hotfix updates for supported firewall versions, and administrators should ensure automatic hotfix installation is enabled or manually apply the update through the firewall management console.

Workarounds

  • Disable the User Portal if it is not required for business operations
  • Implement IP address restrictions to limit User Portal access to trusted internal networks only
  • Enable multi-factor authentication for all User Portal accounts to reduce the risk of credential compromise
  • Place additional network security controls (WAF, IPS) in front of the User Portal interface
bash
# Example: Restrict User Portal access via CLI (consult Sophos documentation for exact syntax)
# Access the Sophos Firewall console and navigate to:
# Administration > Device Access > Local Service ACL
# Configure User Portal to accept connections only from trusted networks
# Alternatively, disable User Portal if not required:
# System Services > User Portal > Disable

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSophos Firewall

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.63%

  • 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-94
  • Vendor Resources
  • Sophos Security Advisory SA-20241219
  • Related CVEs
  • CVE-2022-3236: Sophos Firewall RCE Vulnerability

  • CVE-2025-6704: Sophos Firewall Firmware RCE Vulnerability

  • CVE-2025-7624: Sophos Firewall Firmware SQLI Vulnerability

  • CVE-2024-12727: Sophos Firewall Firmware SQLI Vulnerability
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