CVE-2019-25741: Mobatek MobaXterm 12.1 Buffer Overflow via Sessions File
Mobatek MobaXterm 12.1 contains a structured exception handling (SEH) based buffer overflow vulnerability in the username field of session files that allows remote attackers to execute arbitrary code. Attackers can craft a malicious MobaXterm sessions file with overflow data that triggers the vulnerability when imported and executed, enabling reverse shell execution with user privileges.
Security readout for executives and security teams
Plain-English summary
MobaXterm 12.1 can be compromised through a malicious session file. The issue is a memory-safety bug in the username field that may let an attacker run code as the logged-in user. This is most relevant where administrators or engineers exchange MobaXterm session files.
Executive priority
Treat as urgent for teams using MobaXterm 12.1, especially privileged administrators. Prioritize inventory, removal or vendor-guided update, and controls around session-file handling.
Technical view
The bundle describes a CWE-120 SEH-based buffer overflow in Mobatek MobaXterm 12.1 session-file username parsing. Crafted overflow data can trigger arbitrary code execution when the malicious session file is imported and executed. CVSS 3.1 is 9.8, though the description implies target file interaction.
Likely exposure
Exposure is limited to systems running Mobatek MobaXterm 12.1, especially users who import shared, downloaded, or emailed session files. The bundle does not identify other affected versions or platforms.
Exploitation context
The source bundle includes a public ExploitDB entry, so proof-of-concept or exploit details are public. It does not cite CISA KEV listing or evidence of active exploitation in the wild.
Researcher notes
Key evidence is the VulnCheck advisory, CVE record, and ExploitDB reference. The bundle supports arbitrary code execution and public exploit availability, but not active exploitation, affected-version expansion, or a named patch.
Mitigation direction
Inventory endpoints for Mobatek MobaXterm 12.1.
Check Mobatek guidance for fixed versions or vendor-recommended remediation.
Remove or replace affected 12.1 installations where feasible.
Do not import MobaXterm session files from untrusted sources.
Restrict sharing of session files through email and file shares.
Monitor endpoint alerts around MobaXterm launching unexpected child processes.
Validation and detection
Confirm installed MobaXterm versions across managed endpoints.
Review whether users import or exchange MobaXterm session files.
Check security tooling for suspicious MobaXterm process behavior.
Verify vendor advisory status before declaring remediation complete.
Document compensating controls if immediate replacement is not possible.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-120: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
0ADP providers
4Source links
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-120 · source CWE mapping
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.