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-2022-50904

CVE-2022-50904: Wondershare UBackit Privilege Escalation

CVE-2022-50904 is an unquoted service path vulnerability in Wondershare UBackit 2.0.5 that enables local privilege escalation to SYSTEM. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2022-50904 Overview

CVE-2022-50904 is an unquoted service path vulnerability in Wondershare UBackit 2.0.5 that allows local users to potentially execute arbitrary code with elevated system privileges. The vulnerability exists in the wsbackup service, where the service executable path is not properly quoted. Attackers with local access can exploit this flaw to inject malicious executables that would run with LocalSystem permissions during service startup, leading to complete system compromise.

Critical Impact

Local privilege escalation to SYSTEM level access through unquoted service path exploitation in the wsbackup service.

Affected Products

  • Wondershare UBackit 2.0.5
  • wsbackup service component
  • Windows installations with Wondershare UBackit

Discovery Timeline

  • 2026-01-13 - CVE CVE-2022-50904 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2022-50904

Vulnerability Analysis

This vulnerability falls under CWE-428 (Unquoted Search Path or Element), a classic Windows privilege escalation technique. When a Windows service is configured with a path containing spaces that is not enclosed in quotation marks, the operating system's CreateProcess function attempts to locate the executable by parsing the path at each space. This creates an opportunity for attackers to place a malicious executable at one of the intermediate paths that Windows checks before reaching the intended executable.

The wsbackup service in Wondershare UBackit 2.0.5 contains such an unquoted path configuration. Since Windows services typically run with elevated privileges (often LocalSystem), any code executed through this vector would inherit those privileges, allowing complete system takeover.

Root Cause

The root cause is improper service registration where the executable path was not enclosed in quotation marks. When registering a Windows service with a path like C:\Program Files\Wondershare\UBackit\wsbackup.exe, the path must be quoted as "C:\Program Files\Wondershare\UBackit\wsbackup.exe". Without proper quoting, Windows interprets spaces as argument delimiters and attempts multiple path resolutions.

Attack Vector

The attack vector is local, requiring an attacker to have initial access to the target system with sufficient privileges to write files to certain directories. The exploitation process involves placing a malicious executable (such as Program.exe in C:\ or Wondershare.exe in C:\Program Files\) that Windows will execute before reaching the legitimate service binary. When the service is started (either manually, on system reboot, or through service recovery), the malicious payload executes with SYSTEM privileges.

For example, if the unquoted path is C:\Program Files\Wondershare\UBackit\wsbackup.exe, Windows will attempt to execute in order:

  1. C:\Program.exe
  2. C:\Program Files\Wondershare.exe
  3. C:\Program Files\Wondershare\UBackit.exe
  4. C:\Program Files\Wondershare\UBackit\wsbackup.exe

An attacker placing a malicious executable at any of the first three locations would achieve code execution with elevated privileges. Technical details and proof-of-concept information are available at the Exploit-DB #50758 entry.

Detection Methods for CVE-2022-50904

Indicators of Compromise

  • Presence of unexpected executables named Program.exe, Wondershare.exe, or UBackit.exe in C:\ or C:\Program Files\ directories
  • Suspicious service startup events correlating with new process creation from unexpected paths
  • Modification timestamps on system directories that deviate from normal installation patterns
  • Windows Event Log entries showing service failures followed by unexpected executable launches

Detection Strategies

  • Enumerate all Windows services and identify those with unquoted paths containing spaces using tools like wmic or PowerShell's Get-WmiObject
  • Monitor file system activity in common exploitation paths (C:\, C:\Program Files\) for new executable creation
  • Implement application whitelisting to prevent unauthorized executables from running in privileged contexts
  • Use endpoint detection rules to alert on service-related privilege escalation patterns

Monitoring Recommendations

  • Configure audit policies to log file creation events in root and Program Files directories
  • Enable Windows Security Event logging for service installation and configuration changes (Event IDs 7045, 7040)
  • Deploy behavioral analysis to detect anomalous process ancestry where services spawn unexpected child processes
  • Regularly scan for unquoted service paths as part of vulnerability assessment routines

How to Mitigate CVE-2022-50904

Immediate Actions Required

  • Verify if Wondershare UBackit 2.0.5 is installed on systems and identify the wsbackup service configuration
  • Manually correct the service path by enclosing it in quotation marks using the Windows Registry or sc config command
  • Restrict write permissions on directories that could be exploited (C:\, C:\Program Files\)
  • Consider disabling or removing the vulnerable service until a vendor patch is available

Patch Information

Check the Wondershare Official Site for updated versions of UBackit that address this vulnerability. Review the VulnCheck Advisory for additional remediation guidance and patch status information.

Workarounds

  • Manually fix the unquoted service path in the Windows Registry by adding quotation marks around the ImagePath value
  • Implement file system access controls to prevent non-administrators from creating executables in exploitable paths
  • Use Windows Defender Application Control (WDAC) or AppLocker to block unauthorized executable execution
  • Monitor and restrict service account privileges where possible
bash
# Configuration example
# Manually fix unquoted service path using sc command
sc config wsbackup binPath= "\"C:\Program Files\Wondershare\UBackit\wsbackup.exe\""

# Alternative: Fix via PowerShell by modifying registry
# Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\wsbackup" -Name "ImagePath" -Value '"C:\Program Files\Wondershare\UBackit\wsbackup.exe"'

# Verify the fix was applied
sc qc wsbackup

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWondershare

  • SeverityHIGH

  • CVSS Score8.5

  • 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 #50758

  • VulnCheck Advisory

  • Wondershare Official Site
  • Related CVEs
  • CVE-2019-25266: Wondershare Privilege Escalation Flaw

  • CVE-2020-36977: Wondershare Driver Privilege Escalation
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