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-2021-47884

CVE-2021-47884: OKI Configuration Tool Privilege Escalation

CVE-2021-47884 is an unquoted service path vulnerability in OKI Configuration Tool that enables local attackers to execute arbitrary code and escalate privileges. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2021-47884 Overview

OKI Configuration Tool version 1.6.53 contains an unquoted service path vulnerability in the OKI Local Port Manager service. This flaw allows local attackers to potentially execute arbitrary code by exploiting the unquoted path in C:\Program Files\Okidata\Common\extend3\portmgrsrv.exe. Attackers can inject malicious executables into directories within the unquoted path and escalate privileges when the service restarts or the system reboots.

Critical Impact

Local attackers with write access to directories in the service path can achieve privilege escalation by placing malicious executables that will be executed with SYSTEM privileges when the vulnerable service starts.

Affected Products

  • OKI Configuration Tool version 1.6.53
  • OKI Local Port Manager Service (portmgrsrv.exe)
  • Systems with OKI printing software installed in default locations

Discovery Timeline

  • 2026-01-21 - CVE-2021-47884 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2021-47884

Vulnerability Analysis

This vulnerability is classified as CWE-428 (Unquoted Search Path or Element). When Windows services are configured with executable paths containing spaces that are not enclosed in quotation marks, the operating system's service control manager (SCM) interprets the path in an ambiguous manner. For the path C:\Program Files\Okidata\Common\extend3\portmgrsrv.exe, Windows will attempt to execute files in the following order:

  1. C:\Program.exe
  2. C:\Program Files\Okidata\Common\extend3\portmgrsrv.exe

If an attacker has write permissions to the C:\ directory, they can place a malicious Program.exe file that will be executed with the privileges of the service—typically SYSTEM-level privileges—before the legitimate service binary is found.

Root Cause

The root cause of this vulnerability is improper service registration during the OKI Configuration Tool installation process. The installer failed to properly quote the service executable path when registering the OKI Local Port Manager service in the Windows Service Control Manager. This oversight creates an exploitable condition on systems where attackers have local access and write permissions to parent directories in the unquoted path.

Attack Vector

This is a local attack vector requiring the attacker to already have some level of access to the target system. The attack proceeds as follows:

  1. The attacker identifies the unquoted service path for the OKI Local Port Manager service
  2. The attacker places a malicious executable named Program.exe in the C:\ root directory (if write permissions exist)
  3. When the service restarts (either manually, via system reboot, or through service failure recovery), Windows attempts to resolve the unquoted path
  4. The malicious Program.exe is executed with SYSTEM privileges before Windows can properly parse the intended path

The vulnerability mechanism exploits Windows path resolution behavior. When a service path contains spaces and is not quoted, the Service Control Manager parses the path by testing each space as a potential delimiter. For the path C:\Program Files\Okidata\Common\extend3\portmgrsrv.exe, Windows first checks if C:\Program exists with a .exe extension. An attacker can abuse this by placing a malicious Program.exe in the root directory. For detailed technical analysis, see the VulnCheck Advisory on Configuration Tool and Exploit-DB #49624.

Detection Methods for CVE-2021-47884

Indicators of Compromise

  • Presence of unexpected Program.exe file in the C:\ root directory
  • Unusual executable files in directories along the service path such as C:\Program Files\Okidata\
  • Windows Event Log entries showing service failures or unexpected service restarts for OKI Local Port Manager
  • Process execution events showing Program.exe launching with SYSTEM privileges

Detection Strategies

  • Query Windows services for unquoted paths using PowerShell: Get-WmiObject win32_service | Where-Object {$_.PathName -notmatch '^"' -and $_.PathName -match ' '}
  • Monitor file creation events in the C:\ root directory and directories within the OKI installation path
  • Implement SentinelOne endpoint detection to identify suspicious process spawning from service contexts
  • Use Windows Security Event ID 4688 to track process creation with elevated privileges

Monitoring Recommendations

  • Configure file integrity monitoring on the C:\ root directory and C:\Program Files\Okidata\ paths
  • Enable detailed service control manager logging to detect service path manipulation
  • Deploy behavioral detection for processes executing from unexpected locations with SYSTEM privileges
  • Monitor for registry modifications to the HKLM\SYSTEM\CurrentControlSet\Services\OKI Local Port Manager key

How to Mitigate CVE-2021-47884

Immediate Actions Required

  • Audit all Windows services for unquoted paths and remediate immediately
  • Restrict write permissions on the C:\ root directory and C:\Program Files\ to administrators only
  • Consider disabling or removing the OKI Local Port Manager service if not essential to operations
  • Implement application whitelisting to prevent unauthorized executables from running with elevated privileges

Patch Information

No official vendor patch information is available in the CVE data. Organizations should contact OKI directly for updated software versions that address this vulnerability. For historical reference, archived information about OKI solutions can be found at the Archived OKI Smart Solutions page.

Workarounds

  • Manually fix the unquoted service path by modifying the registry to add quotation marks around the executable path
  • Remove write permissions from non-administrative users on all directories in the service path hierarchy
  • Use Windows AppLocker or Software Restriction Policies to block execution of unsigned executables from root directories
  • Consider uninstalling the vulnerable OKI Configuration Tool if printing functionality can be achieved through alternative means
bash
# PowerShell command to fix unquoted service path (run as Administrator)
# First, verify the current unquoted path:
# Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\OKI Local Port Manager" -Name ImagePath

# Fix by adding quotes around the path:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\OKI Local Port Manager" -Name ImagePath -Value '"C:\Program Files\Okidata\Common\extend3\portmgrsrv.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/TechOki Configuration Tool

  • 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
  • Archived OKI Smart Solutions

  • Exploit-DB #49624

  • VulnCheck Advisory on Configuration Tool
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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