Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2020-8022

CVE-2020-8022: Apache Tomcat Privilege Escalation Flaw

CVE-2020-8022 is a privilege escalation vulnerability in Apache Tomcat packaging on SUSE Linux systems, allowing local attackers to escalate from group tomcat to root access. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-8022 Overview

CVE-2020-8022 is an Incorrect Default Permissions vulnerability affecting the packaging of Apache Tomcat on multiple SUSE Linux Enterprise products. This flaw allows local attackers who have access to the tomcat group to escalate their privileges to root, potentially leading to complete system compromise.

The vulnerability stems from improper permission settings in the SUSE-specific Tomcat packaging, where critical files and directories are configured with overly permissive access rights. An attacker with local access and membership in the tomcat group can exploit these misconfigurations to gain root-level access to the affected system.

Critical Impact

Local attackers can escalate from the tomcat group to root, enabling full system compromise on affected SUSE Linux Enterprise servers and OpenStack Cloud deployments.

Affected Products

  • Apache Tomcat (versions prior to 8.0.53-29.32.1 and 9.0.35-3.39.1/3.57.3)
  • SUSE Enterprise Storage 5
  • SUSE Linux Enterprise Server 12-SP2-BCL, 12-SP2-LTSS, 12-SP3-BCL, 12-SP3-LTSS, 12-SP4, 12-SP5, 15-LTSS
  • SUSE Linux Enterprise Server for SAP 12-SP2, 12-SP3, 15
  • SUSE OpenStack Cloud 7, 8
  • SUSE OpenStack Cloud Crowbar 8
  • openSUSE Leap 15.1

Discovery Timeline

  • June 29, 2020 - CVE-2020-8022 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-8022

Vulnerability Analysis

This vulnerability is classified as CWE-276 (Incorrect Default Permissions), which occurs when software incorrectly sets permissions for resources, enabling unauthorized access to protected resources. In the case of CVE-2020-8022, the SUSE packaging of Apache Tomcat sets default permissions that are too permissive, allowing users in the tomcat group to modify files that should only be writable by root.

The vulnerability requires local access and membership in the tomcat group as a prerequisite, but once these conditions are met, exploitation can lead to complete root access. This makes the vulnerability particularly dangerous in shared hosting environments or systems where multiple users have access to the tomcat group.

Root Cause

The root cause lies in the SUSE-specific packaging scripts for Apache Tomcat, which configure file and directory permissions incorrectly during installation or upgrades. Specifically, certain configuration files, startup scripts, or library directories are assigned group-writable permissions to the tomcat group, when they should be read-only or restricted to root ownership.

This packaging flaw affects multiple versions of Tomcat across various SUSE products:

  • Tomcat 8.x versions prior to 8.0.53-29.32.1 on SLES 12-based systems
  • Tomcat 9.x versions prior to 9.0.35-3.39.1 on SLES 12-SP4 and 12-SP5
  • Tomcat 9.x versions prior to 9.0.35-3.57.3 on SLES 15-based systems

Attack Vector

The attack requires local access to the system and membership in the tomcat group. An attacker with these prerequisites can exploit the misconfigured permissions to modify Tomcat configuration files, startup scripts, or related components. By injecting malicious code into these files, the attacker can achieve code execution with elevated privileges when the Tomcat service is restarted or when the system boots.

The exploitation flow typically involves:

  1. Identifying writable files owned by root but group-writable to tomcat
  2. Modifying startup scripts or configuration files to include malicious commands
  3. Waiting for a service restart or triggering one
  4. Gaining root-level command execution

This is a classic privilege escalation pattern where misconfigured file permissions create an unintended path from a limited user context to full system control.

Detection Methods for CVE-2020-8022

Indicators of Compromise

  • Unexpected modifications to Tomcat configuration files such as server.xml, catalina.sh, or setenv.sh
  • Changes to file permissions or ownership within the Tomcat installation directory
  • Suspicious processes spawned by the tomcat user with elevated privileges
  • Unusual entries in Tomcat startup or shutdown scripts

Detection Strategies

  • Audit file permissions within /usr/share/tomcat, /etc/tomcat, and /var/log/tomcat directories for group-writable files
  • Monitor system logs for privilege escalation attempts or unexpected root process spawning from tomcat contexts
  • Implement file integrity monitoring (FIM) on critical Tomcat configuration and startup files
  • Review user group memberships to identify unauthorized additions to the tomcat group

Monitoring Recommendations

  • Enable auditd rules to track file modifications in Tomcat-related directories
  • Configure SIEM alerts for process execution patterns indicating privilege escalation from tomcat to root
  • Regularly audit group memberships and user permissions on affected systems
  • Monitor package manager logs for Tomcat update activities to ensure patches are applied

How to Mitigate CVE-2020-8022

Immediate Actions Required

  • Update affected Tomcat packages to the patched versions immediately
  • Audit current file permissions on Tomcat directories and correct any overly permissive settings
  • Review tomcat group membership and remove unnecessary users
  • Consider temporarily restricting tomcat group access until patches are applied

Patch Information

SUSE has released patched versions of the Tomcat packages that correct the permission issues. Organizations should update to the following minimum versions:

  • SLES 12-SP2/SP3, OpenStack Cloud 7/8, Crowbar 8, Enterprise Storage 5: Tomcat 8.0.53-29.32.1 or later
  • SLES 12-SP4/SP5: Tomcat 9.0.35-3.39.1 or later
  • SLES 15-LTSS, SLES for SAP 15: Tomcat 9.0.35-3.57.3 or later

Refer to the openSUSE Security Announcement and SUSE Bug Report #1172405 for detailed patch information and advisories.

Workarounds

  • Manually audit and correct file permissions on Tomcat-related files, ensuring group-writable permissions are removed from sensitive files
  • Restrict membership in the tomcat group to only essential service accounts
  • Implement mandatory access control (MAC) policies using AppArmor or SELinux to limit what the tomcat user can access
  • Consider running Tomcat in a containerized environment to limit the impact of privilege escalation
bash
# Check for incorrect permissions on Tomcat files
find /usr/share/tomcat /etc/tomcat -type f -perm -g=w -ls

# Remove group write permissions from Tomcat startup scripts
chmod g-w /usr/share/tomcat/bin/*.sh

# Verify tomcat group membership
getent group tomcat

# Update Tomcat packages on SUSE systems
zypper update tomcat

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechApache Tomcat

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.11%

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

  • Apache Thread Discussion

  • Apache Tomcat User Thread

  • Apache Tomcat User Thread
  • Vendor Resources
  • openSUSE Security Announcement

  • SUSE Bug Report #1172405
  • Related CVEs
  • CVE-2024-22029: Tomcat Privilege Escalation Vulnerability

  • CVE-2024-52318: Apache Tomcat Privilege Escalation Flaw

  • CVE-2022-23181: Apache Tomcat Privilege Escalation Flaw

  • CVE-2026-34500: Apache Tomcat Auth Bypass 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