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

CVE-2022-24750: UltraVNC Privilege Escalation Vulnerability

CVE-2022-24750 is a privilege escalation vulnerability in UltraVNC affecting versions prior to 1.3.8.1. Local authenticated users can exploit the DSM plugin module to gain elevated privileges on vulnerable systems.

Published: February 17, 2026

CVE-2022-24750 Overview

CVE-2022-24750 is a local privilege escalation vulnerability affecting UltraVNC, a free and open source remote PC access software. The vulnerability exists in the DSM plugin module, which allows a local authenticated user to achieve local privilege escalation (LPE) on vulnerable systems running UltraVNC versions prior to 1.3.8.0.

The root cause stems from insecure plugin loading behavior, where the DSM plugin module could be manipulated to load malicious DLLs from unintended directories. The vulnerability has been addressed in version 1.3.8.1 by restricting plugin loading to the installed directory only.

Critical Impact

A local authenticated attacker can exploit this vulnerability to escalate privileges to SYSTEM level when UltraVNC server is running as a Windows service, potentially gaining full control of the affected system.

Affected Products

  • UltraVNC versions prior to 1.3.8.0
  • UltraVNC server running as a Windows service
  • Systems with DSM plugin module enabled

Discovery Timeline

  • 2022-03-10 - CVE-2022-24750 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24750

Vulnerability Analysis

This vulnerability is classified under CWE-269 (Improper Privilege Management), which occurs when an application does not properly assign, modify, track, or check privileges for an actor, leading to unintended access. In the case of CVE-2022-24750, the UltraVNC DSM plugin module fails to properly validate the source directory for plugin DLLs before loading them.

When UltraVNC server runs as a Windows service, it operates with elevated SYSTEM privileges. The DSM plugin loading mechanism did not restrict the search path for plugins, allowing an attacker who can write to certain directories to place a malicious DLL that would be loaded by the high-privilege service. This results in arbitrary code execution with SYSTEM privileges.

Root Cause

The vulnerability stems from improper path validation in the DSM plugin loading mechanism. Prior to the fix, UltraVNC would search for and load DSM plugin modules without restricting the search to the application's installed directory. This allowed a local attacker to place a malicious DLL in a directory where the application would search for plugins, effectively hijacking the plugin loading process.

The fix implemented in version 1.3.8.1 ensures that plugins can only be loaded from the installed directory, preventing DLL search order hijacking attacks.

Attack Vector

This is a local attack vector requiring authenticated access to the target system. The attacker must:

  1. Have local access to a system running UltraVNC server as a Windows service
  2. Be able to write files to a directory in the DLL search path
  3. Create a malicious DLL masquerading as a DSM plugin
  4. Trigger the UltraVNC service to load the malicious plugin

The security patch modifies the plugin loading behavior in winvnc/winvnc/vncproperties.cpp:

cpp
 #include "vncConnDialog.h"
 
 #include "Localization.h" // ACT : Add localization on messages
+#include "shlwapi.h"
 
 //extern HINSTANCE g_hInst;
 

Source: GitHub Commit Details

The patch includes the shlwapi.h header, which provides shell path handling functions used to properly validate and restrict the plugin loading path to the installed directory.

Detection Methods for CVE-2022-24750

Indicators of Compromise

  • Unexpected DLL files appearing in directories within the UltraVNC search path
  • Unusual child processes spawned by WinVNC.exe service
  • Suspicious file write operations to UltraVNC-related directories by low-privilege users
  • Audit logs showing DLL loading from non-standard locations by the WinVNC service

Detection Strategies

  • Monitor for DLL loading events associated with WinVNC.exe from directories outside the installed path
  • Implement application whitelisting to detect unauthorized DLL loads
  • Use endpoint detection and response (EDR) solutions to identify privilege escalation attempts
  • Review Windows Security Event logs for suspicious service-related activities (Event IDs 4688, 7045)

Monitoring Recommendations

  • Enable detailed process creation auditing on systems running UltraVNC
  • Configure SentinelOne to alert on DLL sideloading attempts targeting remote access software
  • Monitor file integrity in UltraVNC installation directories
  • Track service configuration changes that might indicate exploitation attempts

How to Mitigate CVE-2022-24750

Immediate Actions Required

  • Upgrade UltraVNC to version 1.3.8.1 or later immediately
  • Audit systems for unauthorized DLL files in UltraVNC directories
  • Review service configurations to identify unnecessary SYSTEM-level service deployments
  • Implement least-privilege principles for remote access software deployment

Patch Information

The vulnerability has been fixed in UltraVNC version 1.3.8.1. The patch restricts plugin loading to the installed directory, preventing DLL search order hijacking. Organizations should upgrade all affected installations as soon as possible.

For detailed patch information, refer to the GitHub Commit Details and the GitHub Security Advisory.

Workarounds

  • Do not install or run UltraVNC server as a Windows service if upgrading is not immediately possible
  • Create a scheduled task on a low-privilege account to launch WinVNC.exe instead of running as a service
  • Restrict write access to directories in the DLL search path used by UltraVNC
  • Note: There are no known workarounds if WinVNC must be started as a service; upgrading is required
bash
# Example: Create scheduled task to run WinVNC as low-privilege user
schtasks /create /tn "UltraVNC" /tr "C:\Program Files\UltraVNC\WinVNC.exe" /sc onlogon /ru LimitedUser

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechUvnc Ultravnc

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.09%

  • 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-269

  • NVD-CWE-noinfo
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub PoC Repository

  • GitHub Commit Details
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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