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.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/fileformat/realplayer_ver_attribute_bof
msf exploit(realplayer_ver_attribute_bof) > show targets
...targets...
msf exploit(realplayer_ver_attribute_bof) > set TARGET < target-id >
msf exploit(realplayer_ver_attribute_bof) > show options
...show and set options...
msf exploit(realplayer_ver_attribute_bof) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security