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-38337

CVE-2022-38337: Mobatek MobaXterm DoS Vulnerability

CVE-2022-38337 is a denial of service flaw in Mobatek MobaXterm that sends hardcoded passwords during aborted SFTP connections, triggering fail2ban blocks. This article covers technical details, affected versions, and fixes.

Published: February 18, 2026

CVE-2022-38337 Overview

CVE-2022-38337 is a critical hardcoded credentials vulnerability affecting MobaXterm versions prior to v22.1. When a user aborts an SFTP connection, MobaXterm transmits a hardcoded password to the remote server. The server interprets this as a failed authentication attempt, which can trigger security mechanisms like fail2ban, resulting in the user being blocked from the server and effectively causing a Denial of Service (DoS) condition.

Critical Impact

Attackers can exploit this vulnerability to cause legitimate users to be locked out of servers by triggering repeated failed login attempts through SFTP connection aborts, leveraging fail2ban or similar intrusion prevention systems.

Affected Products

  • Mobatek MobaXterm versions prior to v22.1
  • All editions of MobaXterm (Home and Professional) before v22.1

Discovery Timeline

  • 2022-12-06 - CVE-2022-38337 published to NVD
  • 2025-04-24 - Last updated in NVD database

Technical Details for CVE-2022-38337

Vulnerability Analysis

This vulnerability falls under CWE-798 (Use of Hard-coded Credentials), representing a significant design flaw in MobaXterm's SFTP connection handling. When a user initiates and then aborts an SFTP session, the application inappropriately sends a hardcoded password value to the remote server during the disconnection process.

The core issue stems from improper connection termination logic where MobaXterm attempts to complete an authentication sequence even during abort operations. Instead of cleanly terminating the TCP connection or sending proper SSH disconnect messages, the client transmits credential data that was never intended to be seen by the server.

This behavior creates a dangerous interaction with server-side security tools. Services like fail2ban monitor authentication logs for failed login attempts and automatically ban IP addresses that exceed a threshold of failures. Since each aborted SFTP connection generates a failed authentication event, repeated aborts can quickly trigger IP bans, preventing the legitimate user from accessing the server.

Root Cause

The root cause is the presence of hardcoded credentials embedded within the MobaXterm application that are transmitted during SFTP connection abort sequences. This represents a fundamental violation of secure coding practices, as hardcoded credentials should never be present in client applications. The implementation fails to properly handle the connection teardown state, inadvertently exposing this embedded password to remote servers during what should be a clean disconnect operation.

Attack Vector

The vulnerability is exploitable over the network without requiring any authentication or user interaction. An attacker with knowledge of this behavior could potentially:

  1. Trigger self-inflicted DoS: Simply using MobaXterm and aborting SFTP connections can cause users to lock themselves out of servers
  2. Social engineering attacks: Tricking users into repeatedly aborting SFTP connections to specific servers could lock them out of critical infrastructure
  3. Information disclosure: The hardcoded password is exposed to any server the user connects to, potentially revealing implementation details

The attack does not require prior access to the target system or any special privileges. The vulnerability manifests through normal client-side operations, where the SFTP connection abort handler transmits the hardcoded credential to the server. For detailed technical analysis, refer to the SSH MITM CVE-2022-38337 Advisory.

Detection Methods for CVE-2022-38337

Indicators of Compromise

  • Unusual spikes in failed SSH/SFTP authentication attempts from specific users
  • Fail2ban or similar IPS logs showing repeated authentication failures from MobaXterm client IPs
  • SSH authentication logs containing the same repeated invalid password across multiple connection attempts
  • Users reporting unexpected lockouts from SSH/SFTP servers

Detection Strategies

  • Monitor SSH daemon logs (/var/log/auth.log or /var/log/secure) for patterns of rapid failed authentication attempts followed by connection terminations
  • Configure SIEM rules to alert on multiple failed SFTP authentications from the same source IP within a short timeframe
  • Audit installed software versions across endpoints to identify MobaXterm installations running versions prior to v22.1
  • Review fail2ban ban history for patterns consistent with this vulnerability

Monitoring Recommendations

  • Implement centralized logging for all SSH/SFTP authentication events across your infrastructure
  • Configure alerting for users who are banned by fail2ban to investigate root cause
  • Deploy endpoint management solutions to track installed software versions and identify vulnerable MobaXterm installations
  • Monitor for network traffic patterns consistent with aborted SFTP sessions

How to Mitigate CVE-2022-38337

Immediate Actions Required

  • Upgrade MobaXterm to version v22.1 or later immediately across all endpoints
  • Review fail2ban jail configurations and whitelist trusted IP ranges if necessary during the upgrade period
  • Audit SSH server logs to identify any users who may have been affected by this vulnerability
  • Communicate with users about avoiding SFTP connection aborts until the upgrade is complete

Patch Information

Mobatek has addressed this vulnerability in MobaXterm version v22.1 and later. The updated version properly handles SFTP connection termination without transmitting hardcoded credentials. Users should download the latest version from the Mobaxterm Home Edition Download page or through their Professional Edition license portal.

Workarounds

  • Avoid aborting SFTP connections whenever possible; allow transfers to complete or use the proper disconnect functionality
  • Temporarily increase fail2ban thresholds on critical servers to prevent lockouts during the upgrade period
  • Configure SSH servers to use key-based authentication exclusively, which may mitigate some effects of the invalid password attempts
  • Consider using alternative SFTP clients until MobaXterm can be upgraded across the organization
bash
# Temporary fail2ban configuration adjustment (use with caution)
# Edit /etc/fail2ban/jail.local to increase maxretry threshold
[sshd]
enabled = true
maxretry = 10
bantime = 600
findtime = 600

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMobatek Mobaxterm

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.45%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-798
  • Technical References
  • SSH MITM CVE-2022-38337 Advisory
  • Vendor Resources
  • Mobaxterm Home Edition Download
  • Related CVEs
  • CVE-2022-38336: MobaXterm Auth Bypass Vulnerability
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