Vulnerabilities > CVE-2018-10594 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Deltaww Commgr 1.08

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
deltaww
CWE-119
critical
exploit available
metasploit

Summary

Delta Industrial Automation COMMGR from Delta Electronics versions 1.08 and prior with accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM_5x0, AHSIM_5x1) utilize a fixed-length stack buffer where an unverified length value can be read from the network packets via a specific network port, causing the buffer to be overwritten. This may allow remote code execution, cause the application to crash, or result in a denial-of-service condition in the application server.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • fileexploits/hardware/dos/44965.py
    idEDB-ID:44965
    last seen2018-11-30
    modified2018-07-02
    platformhardware
    port80
    published2018-07-02
    reporterExploit-DB
    sourcehttps://www.exploit-db.com/download/44965
    titleDelta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (PoC)
    typedos
  • descriptionDelta Electronics Delta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (Metasploit). CVE-2018-10594. Remote exploit for Windows platform. Tags: Me...
    fileexploits/windows/remote/45574.rb
    idEDB-ID:45574
    last seen2018-10-09
    modified2018-10-09
    platformwindows
    port502
    published2018-10-09
    reporterExploit-DB
    sourcehttps://www.exploit-db.com/download/45574/
    titleDelta Electronics Delta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (Metasploit)
    typeremote

Metasploit

descriptionThis module exploits a stack based buffer overflow in Delta Electronics Delta Industrial Automation COMMGR 1.08. The vulnerability exists in COMMGR.exe when handling specially crafted packets. This module has been tested successfully on Delta Electronics Delta Industrial Automation COMMGR 1.08 over Windows XP SP3, Windows 7 SP1, and Windows 8.1.
idMSF:EXPLOIT/WINDOWS/SCADA/DELTA_IA_COMMGR_BOF
last seen2020-06-11
modified2018-10-08
published2018-09-18
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/delta_ia_commgr_bof.rb
titleDelta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow

Packetstorm