CVE DatabaseCVE-2004-0210
한국어 권고문 →
CVE-2004-02107.8/HIGHCISA KEVCWE-120CWE-120

Microsoft Windows NT & 2000 POSIX Subsystem Buffer Overflow Local Privilege Escalation (CVE-2004-0210, MS04-020)

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows_nt, windows_2000
Published Date
2004-08-06
CVSS v3.1
7.8
HIGH
EPSS (30d)
7.2%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

POSIX subsystem component in Microsoft Windows NT 4.0 and Windows 2000 systems.

Impact

Local attackers can execute arbitrary code with SYSTEM privileges by manipulating message length parameters to trigger a buffer overflow.

Mitigation

Apply the official Microsoft MS04-020 security patch or disable/restrict the POSIX subsystem if not required.

Affected Products & Version Scope

All editions of Microsoft Windows NT Workstation/Server 4.0 and Windows 2000 Professional/Server/Advanced Server.

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Deploy the official Microsoft MS04-020 security update. For legacy environments, silent installation can be automated as follows:

cmd
:: Silent installation of MS04-020 patch for Windows 2000/NT
@echo off
start /wait Windows2000-KB841872-x86-ENU.EXE /quiet /norestart
echo [INFO] Patch KB841872 applied successfully.

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, mitigate the risk by disabling the POSIX subsystem or restricting access to its executable binary (psxss.exe).

powershell
# Restrict execution permissions on the POSIX subsystem binary
icacls 'C:\Windows\System32\psxss.exe' /inheritance:r /grant:r 'Administrators:(F)' /deny 'Everyone:(X)'

# Remove POSIX from the optional subsystems list in the registry
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems' -Name 'Optional' -Value ''

3. Log Audit & IoC Verification Commands

Verify whether the POSIX subsystem is active or if related processes are running on the system.

powershell
# Check if the POSIX subsystem process (psxss.exe) is currently running
Get-Process -Name 'psxss' -ErrorAction SilentlyContinue

# Query registry to check configured subsystems
Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems' | Format-List Posix, Optional
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately apply the MS04-020 security update or disable the POSIX subsystem on all legacy Windows NT and 2000 systems.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability exists in the POSIX subsystem of Microsoft Windows NT and Windows 2000 due to insufficient validation of input parameters. When processing specific system calls or Inter-Process Communication (IPC) messages, the POSIX subsystem fails to properly validate the message length parameter, leading to a classic buffer overflow (CWE-120) in the system memory space.

2. Exploitation Mechanics & Attack Scenario

A local attacker with low-privileged access executes a specially crafted application that interacts with the POSIX subsystem. By passing an unexpectedly large or malformed message length value, the attacker forces the subsystem to write data beyond the allocated buffer boundaries. This corrupts adjacent memory, allowing the attacker to overwrite return addresses and hijack the execution flow to run arbitrary shellcode under the context of the highly privileged SYSTEM account.

3. Infrastructure & Business Impact

As a vulnerability listed in the CISA KEV catalog, this flaw has been actively exploited in the wild. Successful exploitation grants the attacker full administrative control (SYSTEM) over the affected host. In enterprise environments maintaining legacy Windows systems, this can lead to complete domain compromise, lateral movement, and unauthorized access to critical business assets.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2004-0210)

FAQ

Q1. How critical is CVE-2004-0210 and is it actively exploited in the wild?

CVE-2004-0210 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 7.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-2004-0210?

Primary impacted vendors include microsoft across windows_nt, windows_2000. Scope summary: All editions of Microsoft Windows NT Workstation/Server 4.0 and Windows 2000 Professional/Server/Advanced Server.

Q3. What temporary mitigations or workarounds exist for CVE-2004-0210 before patching?

[Mitigation] Apply the official Microsoft MS04-020 security patch or disable/restrict the POSIX subsystem if not required. 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-2004-0210

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

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

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-2004-0210 Microsoft Windows NT & 2000 POSIX Subsystem Buffer Overflow Local Privilege Escalation (CVE-2004-0210, MS04-020) (CVSS 7.8) - Patch & Workaround | CVE Pulse