{"vuid":"VU#222657","idnumber":"222657","name":"RealFlex RealWin HMI service buffer overflows","keywords":["SCADA","SEH overwrite","DATAC"],"overview":"RealFlex RealWin 1.06 HMI service (912/tcp) contains two stack buffer overflow vulnerabilities.","clean_desc":"RealFlex RealWin is a SCADA server package for medium and small applications designed to control and monitor real-time applications. The RealWin application runs an HMI service on port 912/tcp. This service is vulnerable to two stack-based buffer overflows. One vulnerability is caused by the use of sprintf() in the SCPC_INITIALIZE() and SCPC_INITIALIZE_RF() functions. The second vulnerability is caused by the use of strcpy() in the SCPC_TXTEVENT() function. Further information is available in ICS_CERT Advisory ICSA-10-313-01","impact":"An attacker may be able to cause a denial of service or potentially execute arbitrary code with the privileges of the service account on to the target machine. If the service account has administrative privileges, the attacker could take complete control of a vulnerable system.","resolution":"Upgrade to RealWin 2.1.10 (2.1 Build 6.1.10.10).","workarounds":"","sysaffected":"","thanks":"Luigi Auriemma publicly reported this vulnerability.","author":"This document was written by Michael Orlando.","public":["http://www.us-cert.gov/control_systems/pdf/ICSA-10-313-01.pdf","http://aluigi.altervista.org/adv/realwin_1-adv.txt","http://www.exploit-db.com/exploits/15337/","http://www.realflex.com/products/realwin/realwin.php","http://cs.realflex.com/cs/index.ssp","https://www.metasploit.com/redmine/projects/framework/repository/revisions/11067/entry/modules/exploits/windows/scada/realwin_10.rb"],"cveids":["CVE-2010-4142"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2010-10-29T12:25:33Z","publicdate":"2010-10-27T00:00:00Z","datefirstpublished":"2010-11-19T18:16:22Z","dateupdated":"2010-11-23T19:25:10Z","revision":23,"vrda_d1_directreport":"0","vrda_d1_population":"2","vrda_d1_impact":"4","cam_widelyknown":"15","cam_exploitation":"1","cam_internetinfrastructure":"17","cam_population":"10","cam_impact":"13","cam_easeofexploitation":"10","cam_attackeraccessrequired":"15","cam_scorecurrent":"12.065625","cam_scorecurrentwidelyknown":"13.89375","cam_scorecurrentwidelyknownexploited":"20.840625","ipprotocol":"tcp","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":12.065625,"vulnote":null}