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

CVE-2020-15708: Ubuntu Linux libvirt RCE Vulnerability

CVE-2020-15708 is a remote code execution flaw in Ubuntu Linux 20.04 LTS libvirt packaging that created world-writable control sockets, enabling arbitrary file overwrites and code execution. This article covers technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-15708 Overview

Ubuntu's packaging of libvirt in Ubuntu 20.04 LTS created a control socket with world read and write permissions. An attacker could use this to overwrite arbitrary files or execute arbitrary code. This vulnerability stems from improper permission assignment during the packaging process, creating a significant local privilege escalation vector on affected systems.

Critical Impact

Local attackers with access to the system can exploit world-readable and world-writable control socket permissions to achieve arbitrary file overwrites or execute arbitrary code, potentially gaining elevated privileges.

Affected Products

  • Canonical Ubuntu Linux 20.04 LTS

Discovery Timeline

  • 2020-11-06 - CVE CVE-2020-15708 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-15708

Vulnerability Analysis

This vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) is a classic case of improper access control on a Unix socket. The libvirt daemon creates a control socket that facilitates communication between clients and the virtualization management service. In Ubuntu 20.04 LTS, the packaging incorrectly set the socket permissions to allow read and write access for all users (world permissions), rather than restricting access to authorized users or groups only.

The local attack vector means an attacker must already have some form of access to the affected system. Once on the system, the exploitation does not require special privileges—any local user can interact with the improperly permissioned socket. This makes the vulnerability particularly dangerous in multi-user environments or systems where unprivileged user accounts may be compromised.

Root Cause

The root cause lies in the Ubuntu-specific packaging of libvirt. During the package build or installation process, the control socket was created with overly permissive file system permissions (mode 0666 or similar world-readable/writable permissions). This violates the principle of least privilege, as the socket should only be accessible to the libvirt group or specific administrative users. The packaging scripts or systemd unit files responsible for socket activation failed to properly restrict access.

Attack Vector

An attacker with local access to an Ubuntu 20.04 LTS system running the vulnerable libvirt package can connect to the improperly secured control socket. Through this connection, the attacker can send commands to the libvirt daemon that allow arbitrary file overwrites. By overwriting critical system files or injecting malicious code into executable locations, the attacker can escalate privileges to root or achieve persistent code execution.

The attack flow typically involves:

  1. Identifying the world-accessible libvirt control socket on the file system
  2. Connecting to the socket using standard Unix socket communication
  3. Issuing commands through the socket to manipulate files or trigger code execution
  4. Leveraging the overwritten files or executed code to gain elevated privileges

Detection Methods for CVE-2020-15708

Indicators of Compromise

  • Unexpected connections to the libvirt control socket from unauthorized user accounts
  • File permission changes on /var/run/libvirt/ directory or socket files showing world-readable/writable permissions
  • Suspicious file overwrites or modifications in system directories that correlate with libvirt socket activity
  • Anomalous process spawning from libvirt-related services by non-administrative users

Detection Strategies

  • Audit file permissions on libvirt sockets using ls -la /var/run/libvirt/ and flag any sockets with world read/write permissions
  • Monitor auditd logs for unauthorized access attempts to libvirt socket files
  • Implement file integrity monitoring (FIM) on critical system files to detect unauthorized overwrites
  • Review system authentication logs for unusual local user activity preceding privilege escalation

Monitoring Recommendations

  • Enable and monitor libvirt daemon logging to track socket connections and command execution
  • Configure auditd rules to watch the /var/run/libvirt/ directory for access events
  • Deploy endpoint detection solutions to monitor for suspicious process chains involving libvirt

How to Mitigate CVE-2020-15708

Immediate Actions Required

  • Update libvirt packages to the patched version immediately using sudo apt update && sudo apt upgrade libvirt-daemon libvirt-daemon-system
  • Verify socket permissions are correctly set after patching by checking /var/run/libvirt/ socket files
  • Audit systems for signs of prior exploitation, including unauthorized file modifications
  • Restrict local user access on affected systems until patches are applied

Patch Information

Canonical has released a security update to address this vulnerability. The fix is documented in Ubuntu Security Notice USN-4452-1. Users should apply the security update through the standard Ubuntu package management system. The patched packages correct the socket permissions to ensure only authorized users and groups can access the libvirt control socket.

Workarounds

  • Manually correct socket permissions using chmod 660 on the affected libvirt socket files as a temporary measure
  • Restrict access by ensuring only the libvirt group can access the socket directory
  • Limit local user accounts on affected systems to reduce the attack surface until patching is complete
  • Consider disabling libvirt services temporarily if virtualization functionality is not required
bash
# Temporary permission fix (apply patch as permanent solution)
sudo chmod 660 /var/run/libvirt/libvirt-sock
sudo chown root:libvirt /var/run/libvirt/libvirt-sock

# Verify permissions are correct
ls -la /var/run/libvirt/libvirt-sock
# Expected output should show: srw-rw---- root libvirt

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechUbuntu Linux

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.15%

  • 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-732
  • Vendor Resources
  • Ubuntu Security Notice USN-4452-1
  • Related CVEs
  • CVE-2021-3493: Ubuntu Linux Privilege Escalation Flaw

  • CVE-2023-32629: Ubuntu Linux Privilege Escalation Flaw

  • CVE-2023-2640: Ubuntu Linux Privilege Escalation Flaw

  • CVE-2021-3939: Accountsservice Use-After-Free 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