[NT] Windows Multimedia mmioRead DoS Vulnerability
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 14 Mar 2007 18:36:56 +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.
- - - - - - - - -
Windows Multimedia mmioRead DoS Vulnerability
It is possible to create specialy malformed audio file that will cause DoS
in application, that uses Windows's winmm.dll library to access media
According to MSDN:
The mmioRead function reads a specified number of bytes from a file opened
by using the mmioOpen function.
hmmio - File handle of the file to be read.
pch - Pointer to a buffer to contain the data read from the file.
cch - Number of bytes to read from the file.
Returns the number of bytes actually read. If the end of the file has been
reached and no more bytes can be read, the return value is 0. If there is
an error reading from the file, the return value is - 1.
As we can see when we pass to big in cch parameter the function should
return -1. This is not what happens. When pushing very large value for
instance 0xFFFFFFFF the function mmioRead enters endless loop. A Proof of
Concept WAVE file has been created and it's available at:
http://sectroyer.110mb.com/mmio_die.wav. When this file is opened by
application SndRec32 it will cause 100% CPU consumption.
# Exploit by Beyond Security
my $wave =
$wave .= "\xff\x8f" x 11000;
print STDIO $wave;
The information has been provided by <mailto:mmajchrowicz@xxxxxxxxx>
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@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
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 by Date: [EXPL] MS Internet Explorer DoS (FTP Server Response, MS07-016, Exploit)
- Next by Date: [NT] Phishing Using IE7 Local Resource Vulnerability
- Previous by thread: [EXPL] MS Internet Explorer DoS (FTP Server Response, MS07-016, Exploit)
- Next by thread: [NT] Phishing Using IE7 Local Resource Vulnerability