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)
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/scada/realwin/on_fc_binfile_amsf undefined(on_fc_binfile_a) > show actions ...actions...msf undefined(on_fc_binfile_a) > set ACTION < action-name >msf undefined(on_fc_binfile_a) > show options ...show and set options...msf undefined(on_fc_binfile_a) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub