CVE DatabaseCVE-2021-35211
한국어 권고문 →
CVE-2021-3521110.0/CRITICALCISA KEVCWE-787CWE-787

SolarWinds Serv-U Remote Memory Escape Remote Code Execution (RCE) Vulnerability (CVE-2021-35211) Technical Advisory

⚡ Jump to Patch
Affected Vendors
solarwinds
Affected Components
serv-u, serv-u managed file transfer, serv-u secure ftp
Published Date
2021-07-14
CVSS v3.1
10.0
CRITICAL
EPSS (30d)
91.2%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

SolarWinds Serv-U Managed File Transfer and Serv-U Secure FTP for Windows before version 15.2.3 HF2

Impact

Unauthenticated remote attackers can exploit this vulnerability to gain SYSTEM-level privileged access and execute arbitrary code on the host machine

Mitigation

Immediately upgrade to Serv-U version 15.2.3 HF2 or later, and restrict external access to the service ports

Affected Products & Version Scope

SolarWinds Serv-U Managed File Transfer and Serv-U Secure FTP for Windows prior to version 15.2.3 HF2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security update by upgrading to Serv-U 15.2.3 HF2 or later. Use the following PowerShell commands to stop the Serv-U service safely before applying the patch.

powershell
# Query and stop the Serv-U service to prepare for the upgrade
$Service = Get-Service -Name 'Serv-U' -ErrorAction SilentlyContinue
if ($Service) {
    Write-Output 'Stopping Serv-U service...' 
    Stop-Service -Name 'Serv-U' -Force
    Set-Service -Name 'Serv-U' -StartupType Disabled
    Write-Output 'Serv-U service stopped and disabled. Proceed with the installer.'
} else {
    Write-Output 'Serv-U service not found on this system.'
}

2. Temporary Workaround & Hardening Configuration

If patching cannot be performed immediately, restrict access to the Serv-U ports using Windows Advanced Firewall to limit exposure to trusted IP addresses only.

powershell
# Block all public access to Serv-U ports (FTP/SFTP/HTTPS)
New-NetFirewallRule -DisplayName 'Block-Public-Serv-U' `
    -Direction Inbound `
    -Action Block `
    -Protocol TCP `
    -LocalPort 21, 22, 443 `
    -Enabled True

# Allow access only from trusted internal or partner IP ranges
New-NetFirewallRule -DisplayName 'Allow-Trusted-Serv-U-Only' `
    -Direction Inbound `
    -Action Allow `
    -Protocol TCP `
    -LocalPort 21, 22, 443 `
    -RemoteAddress '10.0.0.0/8', '192.168.1.100' `
    -Enabled True

3. Log Audit & IoC Verification Commands

Inspect the Serv-U installation directory for unexpected crash dumps or error logs indicating memory access violations or exploitation attempts.

powershell
# Scan for crash dump files and anomalous error patterns in Serv-U logs
$InstallDir = 'C:\Program Files\SolarWinds\Serv-U'
if (Test-Path $InstallDir) {
    Write-Host 'Checking for crash dumps (.dmp)...' -ForegroundColor Yellow
    Get-ChildItem -Path $InstallDir -Filter '*.dmp' -Recurse | Select-Object Name, Length, LastWriteTime
    
    Write-Host 'Searching logs for memory access violations...' -ForegroundColor Yellow
    Select-String -Path "$InstallDir\*.txt" -Pattern 'EXCEPTION_ACCESS_VIOLATION', 'crash' -ErrorAction SilentlyContinue | Select-Object Line, Path -First 5
} else {
    Write-Host 'Default Serv-U directory not found.' -ForegroundColor Red
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
As this vulnerability is actively exploited in the wild, immediately upgrade Serv-U to version 15.2.3 HF2 or later and restrict network-level access to the service.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2021-35211) is a critical out-of-bounds write/memory corruption vulnerability (CWE-787) discovered by Microsoft in the SolarWinds Serv-U product line. The root cause lies in a 'Remote Memory Escape' flaw within the service's handling of incoming connection packets. Due to insufficient validation of input data, an attacker can corrupt the application's memory space, leading to arbitrary code execution with the privileges of the Serv-U process.

2. Exploitation Mechanics & Attack Scenario

An attacker initiates the exploit by sending specially crafted packets to the open port of the Serv-U service (typically SSH/SFTP or HTTP/S ports). When the Serv-U process parses these malicious payloads, it triggers a memory corruption event. This allows the attacker to hijack the instruction pointer and redirect execution flow to an injected shellcode or payload. Because the Serv-U service on Windows typically runs under high-privilege accounts (such as LocalSystem), the successfully executed code inherits these administrative privileges, granting the attacker full control over the operating system.

3. Infrastructure & Business Impact

With a CVSS score of 10.0 and active exploitation documented in the wild (CISA KEV catalog), this vulnerability poses an extreme risk to enterprise infrastructure. Successful exploitation allows threat actors to establish a persistent foothold, exfiltrate sensitive files transferred via FTP/MFT, and perform lateral movement across the internal network, potentially leading to full domain compromise or ransomware deployment.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-35211)

FAQ

Q1. How critical is CVE-2021-35211 and is it actively exploited in the wild?

CVE-2021-35211 is rated CVSS 10.0 (CRITICAL) with a 30-day EPSS exploitation probability of 91.2%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-35211?

Primary impacted vendors include solarwinds across serv-u, serv-u managed file transfer, serv-u secure ftp. Scope summary: SolarWinds Serv-U Managed File Transfer and Serv-U Secure FTP for Windows prior to version 15.2.3 HF2

Q3. What temporary mitigations or workarounds exist for CVE-2021-35211 before patching?

[Mitigation] Immediately upgrade to Serv-U version 15.2.3 HF2 or later, and restrict external access to the service ports Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2021-35211

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (solarwinds)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2021-35211 SolarWinds Serv-U Remote Memory Escape Remote Code Execution (RCE) Vulnerability (CVE-2021-35211) Technical Advisory (CVSS 10.0) - Patch & Workaround | CVE Pulse