Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [NT] RealPlayer Miscellaneous Vulnerabilities (RMP, RJS) |
|---|---|
| Date: | 23 Jan 2005 16:35:18 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - RealPlayer Miscellaneous Vulnerabilities (RMP, RJS) ------------------------------------------------------------------------ SUMMARY Two vulnerabilities have been discovered in RealPlayer that potentially be leveraged to allow remote code execution, or may used in combination with the Real Metadata Package File Deletion vulnerability to reliably delete files from a users system. The first of which is an off-by-one vulnerability in the processing of tags in the Real Metadata Package files. If an overly long tag is supplied, the null byte terminating the string is written over the highest order byte of the saved base pointer. This will cause the instruction pointer to be read from this buffer upon the function returning. Investigation of this issue showed that the buffer from which the instruction pointer was being read did not appear to be under user control at any given time in the tested scenarios, however due to the nature of the vulnerability it is important that this is not regarded as an impossibility. The second flaw is the way in which RealPlayer Skin file names are parsed when the files are opened by RealPlayer. If url encoded traversal sequences are included in the RJS filename, although RealPlayer will save the RJS file in the 'skins' folder without decoding the filename, when it attempts to open the file it will decode the filename, and as such can be made to read an arbitrary file from the disk. It does not seem possible to write arbitrary content to the system through the use of this flaw, it may be possible to use this to determine the existence of files on the local system, and as such could be combined with the Real Metadata Package File Deletion flaw to reliably delete files from a users system. DETAILS RealPlayer supports a proprietary package delivery file type, aptly named Real Metadata Packages. These files contain an HTML style language which contains information and resource urls for various packages and extensions to RealPlayer. One of the supported tags within the RMP file type is the <FILENAME> tag. This is designed to point to a relative file which is to be downloaded. If the file which is to be downloaded already exists on the system, it will delete this file without warning. It is also possible to insert directory traversal character sequences in the file name to break out of the download directory, and to point to any existing file on the system. Before the the deletion takes place, RealPlayer ensures that the file extension is among those listed in the formats.ini file located at: C:\Program Files\Real\RealPlayer\DataCache\Formats\formats.ini It is possible to bypass this file extension check in the follow manner due to a lack in the file extension validation process: <FILENAME>../../../../../windows/system32/notepad.exe?.mp3</FILENAME> Fix Information: RealNetworks have released an update for these issues which can be downloaded from: <http://service.real.com/help/faq/security/040928_player/EN/> http://service.real.com/help/faq/security/040928_player/EN/ ADDITIONAL INFORMATION The information has been provided by <mailto:nisr@nextgenss.com> NGSSoftware Insight Security Research. The original article can be found at: <http://www.ngssoftware.com/advisories/real-03full.txt> http://www.ngssoftware.com/advisories/real-03full.txt ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NT] RealPlayer Arbitrary File Deletion Vulnerability, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] GForge Directory Traversal Vulnerability, SecuriTeam |
| Previous by Thread: | [NT] RealPlayer Arbitrary File Deletion Vulnerability, SecuriTeam |
| Next by Thread: | [UNIX] GForge Directory Traversal Vulnerability, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |