Vulnerabilities > CVE-2014-3888 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Yokogawa products

047910
CVSS 8.3 - HIGH
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
COMPLETE
network
yokogawa
CWE-119
exploit available
metasploit

Summary

Stack-based buffer overflow in BKFSim_vhfd.exe in Yokogawa CENTUM CS 1000, CENTUM CS 3000 R3.09.50 and earlier, CENTUM VP R5.03.20 and earlier, Exaopc R3.72.00 and earlier, B/M9000CS R5.05.01 and earlier, and B/M9000 VP R7.03.01 and earlier, when FCS/Test Function is enabled, allows remote attackers to execute arbitrary code via a crafted packet.

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

descriptionYokogawa CS3000 BKFSim_vhfd.exe Buffer Overflow. CVE-2014-3888. Remote exploit for windows platform
fileexploits/windows/remote/34009.rb
idEDB-ID:34009
last seen2016-02-03
modified2014-07-08
platformwindows
port20010
published2014-07-08
reportermetasploit
sourcehttps://www.exploit-db.com/download/34009/
titleYokogawa CS3000 BKFSim_vhfd.exe Buffer Overflow
typeremote

Metasploit

descriptionThis module exploits a stack based buffer overflow on Yokogawa CS3000. The vulnerability exists in the service BKFSim_vhfd.exe when using malicious user-controlled data to create logs using functions like vsprintf and memcpy in an insecure way. This module has been tested successfully on Yokogawa Centum CS3000 R3.08.50 over Windows XP SP3.
idMSF:EXPLOIT/WINDOWS/SCADA/YOKOGAWA_BKFSIM_VHFD
last seen2020-05-08
modified2020-02-18
published2014-07-07
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/yokogawa_bkfsim_vhfd.rb
titleYokogawa CS3000 BKFSim_vhfd.exe Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/127382/yokogawa_bkfsim_vhfd.rb.txt
idPACKETSTORM:127382
last seen2016-12-05
published2014-07-07
reporterjuan vazquez
sourcehttps://packetstormsecurity.com/files/127382/Yokogawa-CS3000-BKFSim_vhfd.exe-Buffer-Overflow.html
titleYokogawa CS3000 BKFSim_vhfd.exe Buffer Overflow