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-2020-15504

CVE-2020-15504: Sophos XG Firewall SQLI Vulnerability

CVE-2020-15504 is a SQL injection flaw in Sophos XG Firewall that could allow attackers to execute arbitrary code remotely. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 4, 2026

CVE-2020-15504 Overview

CVE-2020-15504 is a critical SQL injection vulnerability affecting the user and admin web interfaces of Sophos XG Firewall. This vulnerability exists in firmware versions v18.0 MR1 and older, potentially allowing unauthenticated remote attackers to execute arbitrary code on affected firewall devices. The severity of this vulnerability stems from its ability to chain SQL injection with remote code execution capabilities, making it particularly dangerous for organizations relying on Sophos XG Firewall for perimeter security.

Critical Impact

This SQL injection vulnerability enables unauthenticated attackers to achieve remote code execution on Sophos XG Firewall devices through the web management interfaces, potentially compromising the entire network perimeter security infrastructure.

Affected Products

  • Sophos XG Firewall Firmware v18.0 (including Maintenance Release 1)
  • Sophos XG Firewall Firmware v17.5 (Maintenance Releases 1-12)
  • Sophos XG Firewall Firmware versions >= 17.0

Discovery Timeline

  • 2020-07-10 - CVE-2020-15504 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-15504

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), affecting the web-based management interfaces of Sophos XG Firewall devices. The flaw exists in both the user portal and administrator web interfaces, where user-supplied input is not properly sanitized before being incorporated into SQL queries. This lack of input validation creates an opportunity for attackers to inject malicious SQL statements that can be leveraged to execute arbitrary code on the underlying system.

The attack can be conducted remotely over the network without requiring any authentication or user interaction, making it particularly dangerous for internet-facing firewall management interfaces. Once exploited, an attacker could potentially gain complete control over the firewall device, allowing them to intercept network traffic, modify firewall rules, pivot to internal networks, or establish persistent access.

Root Cause

The root cause of CVE-2020-15504 is improper input validation and sanitization in the web interface components of Sophos XG Firewall. User-supplied data passed to the user and admin web interfaces is directly incorporated into SQL queries without proper parameterization or escaping, creating an SQL injection vector. This fundamental input validation failure allows attackers to break out of the intended query context and inject arbitrary SQL commands.

Attack Vector

The vulnerability is exploitable via network access to the Sophos XG Firewall web management interfaces. An attacker can craft malicious HTTP requests containing SQL injection payloads targeting the vulnerable input fields in either the user portal or administrator interface. The attack requires no prior authentication and no user interaction, making it suitable for automated exploitation.

The exploitation chain typically involves:

  1. Identifying an internet-exposed Sophos XG Firewall web interface
  2. Crafting SQL injection payloads to escape the query context
  3. Leveraging database-specific functionality to achieve code execution on the underlying operating system
  4. Establishing persistent access or performing malicious actions on the compromised device

Detailed technical exploitation information can be found in the Sophos Security Advisory.

Detection Methods for CVE-2020-15504

Indicators of Compromise

  • Unusual or malformed HTTP requests to the XG Firewall web management interfaces containing SQL syntax characters
  • Unexpected database queries or errors in firewall logs
  • Unauthorized configuration changes to firewall rules or settings
  • New or suspicious user accounts created on the firewall device
  • Unexpected outbound network connections from the firewall device

Detection Strategies

  • Monitor web server logs for requests containing common SQL injection patterns such as single quotes, UNION statements, or SQL comments
  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection attempts targeting the management interfaces
  • Review firewall authentication logs for suspicious login attempts or unauthorized access
  • Deploy network-based intrusion detection signatures for known Sophos XG exploitation patterns

Monitoring Recommendations

  • Enable comprehensive logging on all Sophos XG Firewall management interfaces
  • Centralize log collection to a SIEM platform for correlation and anomaly detection
  • Configure alerts for failed authentication attempts and configuration changes
  • Regularly audit firewall configurations for unauthorized modifications

How to Mitigate CVE-2020-15504

Immediate Actions Required

  • Update Sophos XG Firewall to patched versions immediately: v18 MR-1-Build396 or v17.5 MR13
  • Restrict access to the firewall management interfaces to trusted networks only
  • Review firewall configurations and logs for signs of compromise
  • Implement network segmentation to limit exposure of management interfaces
  • Enable multi-factor authentication for administrator access where supported

Patch Information

Sophos has released security patches addressing this vulnerability. The fix is incorporated into the re-release of XG Firewall v18 MR-1 (Build396) and the v17.5 MR13 release. For all other firmware versions >= 17.0, Sophos has distributed hotfixes through their automatic update mechanism. Organizations should verify their devices have received the appropriate updates by checking the firmware version in the management console.

For detailed patch information and update instructions, refer to the Sophos Security Advisory for CVE-2020-15504.

Workarounds

  • Disable external access to the XG Firewall management interfaces if not required
  • Implement IP-based access control lists to restrict management interface access to authorized administrator workstations
  • Deploy a jump server or VPN requirement for remote administration
  • Consider implementing additional network-layer protections such as a separate management VLAN
bash
# Recommended: Verify firmware version and ensure patches are applied
# Access the Sophos XG Firewall console and navigate to:
# System > Firmware - Verify running version is v18 MR-1-Build396 or later
# or v17.5 MR13 or later

# Restrict management interface access (example ACL concept)
# Configure Device Access settings to limit management access
# to trusted IP ranges only in the XG Firewall admin console

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSophos Xg Firewall

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Vendor Resources
  • Sophos Security Advisory CVE-2020-15504
  • Related CVEs
  • CVE-2020-12271: Sophos XG Firewall SQL Injection Flaw

  • CVE-2020-15069: Sophos XG Firewall Firmware RCE Flaw

  • CVE-2022-3713: Sophos XG Firewall Firmware RCE Flaw
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