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
    • 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-2021-47787

CVE-2021-47787: TotalAV Privilege Escalation Vulnerability

CVE-2021-47787 is an unquoted service path privilege escalation vulnerability in TotalAV 5.15.69 that allows attackers to gain SYSTEM-level access. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2021-47787 Overview

CVE-2021-47787 is an unquoted service path vulnerability affecting TotalAV 5.15.69, a popular antivirus solution. The vulnerability exists in multiple system services that run with LocalSystem privileges, where the service executable paths are not properly enclosed in quotation marks. This configuration flaw allows local attackers to place malicious executables in specific path segments to potentially achieve SYSTEM-level access on affected Windows systems.

Critical Impact

Local attackers with low-level access can exploit improperly quoted service paths to escalate privileges to SYSTEM level, potentially gaining complete control over the affected host.

Affected Products

  • TotalAV 5.15.69
  • TotalAV system services running with LocalSystem privileges
  • Windows systems with TotalAV installed in paths containing spaces

Discovery Timeline

  • 2026-01-16 - CVE-2021-47787 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2021-47787

Vulnerability Analysis

This vulnerability is classified as CWE-428 (Unquoted Search Path or Element), a well-known Windows privilege escalation technique. When Windows services are configured with executable paths that contain spaces but are not enclosed in quotation marks, the Windows Service Control Manager (SCM) attempts to locate the executable by parsing the path sequentially at each space character.

For example, if a service path is configured as C:\Program Files\TotalAV\antivirus.exe, Windows will attempt to execute in the following order:

  1. C:\Program.exe
  2. C:\Program Files\TotalAV\antivirus.exe

This parsing behavior creates an opportunity for attackers to place a malicious executable (e.g., Program.exe) in the C:\ directory. When the vulnerable service starts or restarts, the malicious executable runs with the service's privileges—in this case, LocalSystem, which is the highest privilege level on Windows.

Root Cause

The root cause of this vulnerability is improper service registration during TotalAV installation. The installer fails to enclose service binary paths in quotation marks when registering services with the Windows Service Control Manager. Multiple TotalAV services are affected, all running under the LocalSystem account, which provides attackers with maximum privilege escalation potential upon successful exploitation.

Attack Vector

Exploitation requires local access to the target system with sufficient permissions to write files to directories in the unquoted path segments (typically C:\ or C:\Program Files\). An attacker must:

  1. Identify the vulnerable unquoted service path in the Windows registry
  2. Determine which path segments are writable
  3. Place a malicious executable at the appropriate location
  4. Wait for or trigger a service restart

The attack is classified as a local attack vector requiring low privileges and no user interaction, making it suitable for post-exploitation privilege escalation scenarios.

Detection Methods for CVE-2021-47787

Indicators of Compromise

  • Presence of unexpected executables in C:\ root directory, particularly Program.exe, TotalAV.exe, or similarly named files
  • Unusual service startup failures or unexpected process creation events associated with TotalAV services
  • Registry modifications to TotalAV service configuration entries under HKLM\SYSTEM\CurrentControlSet\Services
  • Process execution anomalies where TotalAV-related service processes spawn unexpected child processes

Detection Strategies

  • Monitor for new executable file creation in C:\ and other common unquoted path target directories using file integrity monitoring
  • Implement Windows Event Log monitoring for Service Control Manager events (Event ID 7000, 7009) indicating service startup issues
  • Deploy endpoint detection rules to alert on process execution from unexpected paths when parent process is services.exe
  • Query the Windows registry for unquoted ImagePath values in service configurations using PowerShell or WMIC

Monitoring Recommendations

  • Enable detailed process creation auditing (Event ID 4688) with command line logging on Windows endpoints
  • Configure SentinelOne agents to monitor for privilege escalation patterns associated with unquoted service path exploitation
  • Establish baseline behavior for TotalAV service processes and alert on deviations
  • Implement file system monitoring for write operations to high-risk directories that commonly appear in unquoted paths

How to Mitigate CVE-2021-47787

Immediate Actions Required

  • Audit all TotalAV service entries in the Windows registry to identify unquoted paths under HKLM\SYSTEM\CurrentControlSet\Services
  • Manually quote affected service paths by editing the ImagePath registry value to enclose the full path in double quotes
  • Restrict write permissions on directories that could be exploited (such as C:\ and C:\Program Files\)
  • Check for the existence of suspicious executables in path segment locations and remove any unauthorized files

Patch Information

Users should visit the TotalAV official website to check for updated versions that address this vulnerability. Additional technical details are available in the VulnCheck Advisory and Exploit-DB #50314.

Workarounds

  • Manually add quotation marks to affected service ImagePath values in the Windows registry
  • Use access control lists (ACLs) to prevent non-administrative users from writing to C:\ and other exploitable path directories
  • Consider running TotalAV services under a less privileged account if the functionality permits
  • Deploy endpoint protection solutions like SentinelOne that can detect and prevent unquoted service path exploitation attempts
powershell
# Check for unquoted service paths in TotalAV services
Get-WmiObject Win32_Service | Where-Object { $_.PathName -like "*TotalAV*" -and $_.PathName -notmatch '^"' -and $_.PathName -match '\s' } | Select-Object Name, PathName, StartMode

# Fix unquoted service path (run as Administrator)
# Replace SERVICE_NAME with the actual TotalAV service name
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\SERVICE_NAME" -Name ImagePath -Value '"C:\Program Files\TotalAV\service.exe"'

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechTotalav

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-428
  • Technical References
  • Exploit-DB #50314

  • TotalAV Security Resource

  • VulnCheck Advisory: TotalAV
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer 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