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

CVE-2022-50934: Wing FTP Server RCE Vulnerability

CVE-2022-50934 is an authenticated remote code execution flaw in Wing FTP Server 4.3.8 and below that enables attackers to execute PowerShell commands via the admin interface. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2022-50934 Overview

Wing FTP Server versions 4.3.8 and below contain an authenticated remote code execution vulnerability that allows attackers to execute arbitrary PowerShell commands through the admin interface. Attackers can leverage a crafted Lua script payload with base64-encoded PowerShell to establish a reverse TCP shell by authenticating and sending a malicious request to the admin panel.

Critical Impact

Authenticated attackers with admin panel access can achieve full system compromise through arbitrary PowerShell command execution, potentially leading to complete server takeover.

Affected Products

  • Wing FTP Server version 4.3.8
  • Wing FTP Server versions below 4.3.8

Discovery Timeline

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

Technical Details for CVE-2022-50934

Vulnerability Analysis

This vulnerability is classified as Code Injection (CWE-94), affecting the Wing FTP Server administrative interface. The flaw exists in how the server processes Lua scripts submitted through the admin panel, allowing authenticated administrators to inject and execute arbitrary system commands.

The vulnerability requires network access and valid administrative credentials to exploit. Once authenticated, an attacker can craft a malicious Lua script payload containing base64-encoded PowerShell commands. When the server processes this script, it executes the embedded PowerShell code with the privileges of the Wing FTP Server process, typically running with elevated system permissions on Windows servers.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and sanitization of Lua script content processed by the admin interface. The Wing FTP Server fails to properly restrict the execution context of Lua scripts, allowing them to spawn system processes and execute arbitrary operating system commands. This design flaw enables attackers to break out of the intended Lua execution sandbox and interact directly with the underlying Windows operating system through PowerShell.

Attack Vector

The attack is conducted over the network against the Wing FTP Server admin interface. An attacker must first authenticate to the administrative panel using valid credentials. Once authenticated, the attacker submits a specially crafted request containing a malicious Lua script. This script includes base64-encoded PowerShell commands designed to establish a reverse TCP shell connection back to an attacker-controlled system.

The attack flow involves:

  1. Authenticating to the Wing FTP Server admin interface
  2. Crafting a Lua script payload with embedded PowerShell commands
  3. Submitting the malicious request to the admin panel
  4. The server processes the Lua script and executes the PowerShell payload
  5. A reverse shell connection is established to the attacker's system

For technical details on the exploitation mechanism, refer to Exploit-DB #50720 and the VulnCheck Advisory.

Detection Methods for CVE-2022-50934

Indicators of Compromise

  • Unusual outbound network connections from the Wing FTP Server process to external IP addresses
  • PowerShell execution spawned as child processes of the Wing FTP Server service
  • Base64-encoded strings in admin panel request logs or Lua script submissions
  • Unexpected administrative login activity, especially from unfamiliar IP addresses

Detection Strategies

  • Monitor for PowerShell process creation events originating from the Wing FTP Server process (wftpserver.exe)
  • Implement web application firewall rules to detect Lua script submissions containing encoded command strings
  • Review authentication logs for the admin interface to identify suspicious login patterns
  • Deploy endpoint detection solutions capable of identifying reverse shell behavior and anomalous process trees

Monitoring Recommendations

  • Enable verbose logging on the Wing FTP Server admin interface to capture all administrative actions
  • Configure SIEM alerts for PowerShell execution events correlated with FTP server activity
  • Monitor network traffic for reverse shell signatures and unexpected outbound connections on common attacker ports
  • Implement file integrity monitoring on Wing FTP Server configuration and script directories

How to Mitigate CVE-2022-50934

Immediate Actions Required

  • Upgrade Wing FTP Server to a version newer than 4.3.8 that addresses this vulnerability
  • Restrict admin interface access to trusted IP addresses only using firewall rules
  • Enforce strong, unique credentials for all administrative accounts
  • Audit current administrative user accounts and remove any unnecessary or unused accounts

Patch Information

Users should upgrade Wing FTP Server to the latest available version from the official WFTP Server website. Review the VulnCheck Advisory for additional remediation guidance and version-specific patch information.

Workarounds

  • Implement network segmentation to isolate the Wing FTP Server admin interface from untrusted networks
  • Use a reverse proxy with additional authentication layers in front of the admin panel
  • Disable Lua script functionality if not required for operations
  • Deploy application whitelisting to prevent unauthorized PowerShell execution from the FTP server process
bash
# Example: Restrict admin interface access via Windows Firewall
netsh advfirewall firewall add rule name="Block WingFTP Admin External" dir=in action=block protocol=tcp localport=5466 remoteip=any
netsh advfirewall firewall add rule name="Allow WingFTP Admin Trusted" dir=in action=allow protocol=tcp localport=5466 remoteip=192.168.1.0/24

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWing Ftp Server

  • SeverityHIGH

  • CVSS Score8.6

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-94
  • Technical References
  • Exploit-DB #50720

  • VulnCheck Advisory

  • WFTP Server Homepage
  • Related CVEs
  • CVE-2020-37032: Wing FTP Server 6.3.8 RCE Vulnerability

  • CVE-2025-47812: Wing FTP Server RCE Vulnerability

  • CVE-2020-37079: Wing FTP Server CSRF Vulnerability

  • CVE-2019-25267: Wing FTP Server Privilege Escalation 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