Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 2 modules
-
RealWin SCADA Server DATAC Login Buffer Overflow
exploit/windows/scada/realwin_on_fcs_login
-
DATAC RealWin SCADA Server 2 On_FC_CONNECT_FCS_a_FILE Buffer Overflow
exploit/windows/scada/realwin_on_fc_binfile_a
Exploit-DB 1
- DATAC RealWin - Multiple Vulnerabilities EDB-17025 · dos · Mar 22, 2011
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 46937 vdb-entry
- http://aluigi.org/adv/realwin_2-adv.txt
- http://aluigi.org/adv/realwin_7-adv.txt
- http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-080-04.pdf
- 17025 exploit
- http://aluigi.org/adv/realwin_4-adv.txt
- 43848 third-party-advisory
- ADV-2011-0742 vdb-entry
- http://aluigi.org/adv/realwin_8-adv.txt
- http://aluigi.org/adv/realwin_5-adv.txt
- http://aluigi.org/adv/realwin_3-adv.txt
- 8176 third-party-advisory