CVE DatabaseCVE-2021-38406
한국어 권고문 →
CVE-2021-384067.8/HIGHCISA KEVCWE-787

Delta Electronics DOPSoft 2 Out-of-Bounds Write Vulnerability (CVE-2021-38406) Technical Advisory

⚡ Jump to Patch
Affected Vendors
delta electronics
Affected Components
dopsoft
Published Date
2021-09-17
CVSS v3.1
7.8
HIGH
EPSS (30d)
76.4%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Delta Electronics DOPSoft 2 (Version 2.00.07 and prior)

Impact

Successful exploitation allows an attacker to execute arbitrary code within the context of the active process by tricking a user into opening a malicious project file

Mitigation

Upgrade to the latest secure version of DOPSoft and restrict opening unverified project files (.dp2) from untrusted sources

Affected Products & Version Scope

Delta Electronics DOPSoft 2 (Version 2.00.07 and prior)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Delta Electronics recommends upgrading to the latest supported version. Since automated package managers are not supported for this software, use the following commands to clean up the vulnerable installation before installing the patched version.

powershell
# 1. Terminate any running instances of DOPSoft
Stop-Process -Name 'DOPSoft' -Force -ErrorAction SilentlyContinue

# 2. Backup existing project files and remove the vulnerable installation directory
Remove-Item -Path 'C:\Program Files (x86)\Delta Industrial Automation\DOPSoft 2.0' -Recurse -Force -ErrorAction SilentlyContinue

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, restrict network access for the application and enforce strict file-handling policies.

powershell
# Block outbound network connections for DOPSoft via Windows Advanced Firewall
New-NetFirewallRule -DisplayName 'Block DOPSoft Outbound Traffic' `
    -Direction Outbound `
    -Program 'C:\Program Files (x86)\Delta Industrial Automation\DOPSoft 2.0\DOPSoft.exe' `
    -Action Block

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to audit the installed version of DOPSoft and inspect recently accessed project files for potential anomalies.

powershell
# Audit installed DOPSoft version via Registry
$RegPath = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
Get-ItemProperty -Path $RegPath | Where-Object { $_.DisplayName -like '*DOPSoft*' } | Select-Object DisplayName, DisplayVersion, InstallLocation

# Inspect recently opened project files in the application profile
Get-ChildItem -Path "$env:USERPROFILE\AppData\Roaming\Delta Industrial Automation" -Filter *.xml -Recurse | 
    Select-String -Pattern '\.dp2' | Select-Object Path, Line -Unique
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately discontinue the use of vulnerable DOPSoft 2 versions and migrate to the latest secure release.

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 (CVE-2021-38406) is an Out-of-Bounds Write (CWE-787) vulnerability in Delta Electronics DOPSoft 2, an HMI screen editor. The root cause lies in the application's failure to properly validate user-supplied data when parsing specific HMI project files. This lack of validation allows input data to write past the allocated buffer boundary, leading to memory corruption and potential control flow hijacking.

2. Exploitation Mechanics & Attack Scenario

An attacker crafts a malicious DOPSoft project file containing anomalous structures designed to trigger the out-of-bounds write during parsing. The attacker then uses social engineering tactics, such as spear-phishing, to deliver the file to an engineer. When the victim opens the file using a vulnerable version of DOPSoft 2, the parsing engine processes the malformed data, corrupts the stack or heap memory, and executes the attacker's payload under the privileges of the running application.

3. Infrastructure & Business Impact

DOPSoft is widely utilized in Industrial Control Systems (ICS) and Operational Technology (OT) environments to configure HMI panels. Because this vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, it represents a highly practical and active threat. Compromising an engineering workstation via this vector could allow attackers to manipulate HMI configurations, disrupt physical industrial processes, or establish a foothold for lateral movement within sensitive OT networks.

Official Vendor Advisories & References

NVD Original English Description

Delta Electronic DOPSoft 2 (Version 2.00.07 and prior) lacks proper validation of user-supplied data when parsing specific project files. This could result in multiple out-of-bounds write instances. An attacker could leverage this vulnerability to execute code in the context of the current process.

Frequently Asked SecOps Questions (CVE-2021-38406)

FAQ

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

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

Primary impacted vendors include delta electronics across dopsoft. Scope summary: Delta Electronics DOPSoft 2 (Version 2.00.07 and prior)

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

[Mitigation] Upgrade to the latest secure version of DOPSoft and restrict opening unverified project files (.dp2) from untrusted sources 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-38406

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

Generate Report →

🔗 Related Advisories in Similar Stack (delta electronics)

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-38406 Delta Electronics DOPSoft 2 Out-of-Bounds Write Vulnerability (CVE-2021-38406) Technical Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse