Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE network
low complexity
realflex
CWE-119
critical
exploit available
metasploit
Published: 2011-04-05
Updated: 2011-09-22
Summary
Multiple stack-based buffer overflows in the HMI application in DATAC RealFlex RealWin 2.1 (Build 6.1.10.10) and earlier allow remote attackers to execute arbitrary code via (1) a long username in an On_FC_CONNECT_FCS_LOGIN packet, and crafted (2) On_FC_CTAGLIST_FCS_CADDTAG, (3) On_FC_CTAGLIST_FCS_CDELTAG, (4) On_FC_CTAGLIST_FCS_ADDTAGMS, (5) On_FC_RFUSER_FCS_LOGIN, (6) unspecified "On_FC_BINFILE_FCS_*FILE", (7) On_FC_CGETTAG_FCS_GETTELEMETRY, (8) On_FC_CGETTAG_FCS_GETCHANNELTELEMETRY, (9) On_FC_CGETTAG_FCS_SETTELEMETRY, (10) On_FC_CGETTAG_FCS_SETCHANNELTELEMETRY, and (11) On_FC_SCRIPT_FCS_STARTPROG packets to port 910.
Vulnerable Configurations
Part | Description | Count |
Application | Realflex | 3 |
Common Weakness Enumeration (CWE)
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
description | DATAC RealWin - Multiple Vulnerabilities. CVE-2011-1564. Dos exploit for windows platform |
file | exploits/windows/dos/17025.txt |
id | EDB-ID:17025 |
last seen | 2016-02-02 |
modified | 2011-03-22 |
platform | windows |
port | |
published | 2011-03-22 |
reporter | Luigi Auriemma |
source | https://www.exploit-db.com/download/17025/ |
title | DATAC RealWin - Multiple Vulnerabilities |
type | dos |
Metasploit
description | This module exploits a stack buffer overflow in DATAC Control International RealWin SCADA Server 2.1 (Build 6.0.10.10) or earlier. By sending a specially crafted On_FC_CONNECT_FCS_LOGIN packet containing a long username, an attacker may be able to execute arbitrary code. |
id | MSF:EXPLOIT/WINDOWS/SCADA/REALWIN_ON_FCS_LOGIN |
last seen | 2020-04-11 |
modified | 2017-07-24 |
published | 2011-06-22 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/realwin_on_fcs_login.rb |
title | RealWin SCADA Server DATAC Login Buffer Overflow |
description | This module exploits a vulnerability found in DATAC Control International RealWin SCADA Server 2.1 and below. By supplying a specially crafted On_FC_BINFILE_FCS_*FILE packet via port 910, RealWin will try to create a file (which would be saved to C:\Program Files\DATAC\Real Win\RW-version\filename) by first copying the user- supplied filename with an inline memcpy routine without proper bounds checking, which results a stack-based buffer overflow, allowing arbitrary remote code execution. Tested version: 2.0 (Build 6.1.8.10) |
id | MSF:EXPLOIT/WINDOWS/SCADA/REALWIN_ON_FC_BINFILE_A |
last seen | 2020-06-14 |
modified | 1976-01-01 |
published | 1976-01-01 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/realwin_on_fc_binfile_a.rb |
title | DATAC RealWin SCADA Server 2 On_FC_CONNECT_FCS_a_FILE Buffer Overflow |
Saint
bid | 46937 |
description | RealFlex RealWin FC_SCRIPT_FCS_STARTPROG Buffer Overflow |
title | datac_realwin_fcscriptfcsstartprog |
type | remote |
bid | 46937 |
description | DATAC RealWin SCADA Server TAG function stack overflow |
title | datac_realwin_tag_overflow |
type | remote |
bid | 46937 |
description | RealFlex RealWin FC_RFUSER_FCS_LOGIN Buffer Overflow |
title | datac_realwin_fcrfuserfcslogin |
type | remote |