2 ALERT Microsoft: WNT screensaver e LDAP services
Nel primo alert si descrive una vulnerabilita' di Windows NT 4.0, in tutte
le versioni, nell'esecuzione di "screen savers". A causa di una errata
politica di gestione dei privilegi da parte del sistema operativo, un
utente locale puo' scrivere uno screen saver che, al momento
dell'attivazione, puo' eseguire codice con privilegi elevati e quindi
inserirsi all'interno del gruppo "Administrators".
La seconda vulnerabilita' riguarda i servizi LDAP forniti con Exchange
Server 5.5: e' possibile, da remoto, mandare dei pacchetti LDAP alterati
in modo da mandare in crash il servizio ed eventualmente eseguire codice
sulla macchina.
In entrambi i casi sono indicate le patch.
*****************************************************************
Microsoft Security Bulletin (MS99-008)
--------------------------------------
Patch Available for Windows NT "Screen Saver" Vulnerability
Originally Posted: March 12, 1999
Summary
=======
Microsoft has learned of a vulnerability affecting all versions of
Microsoft(r) Windows NT(r) operating system, which could allow a user to
gain administrative privileges on a computer. In most common usage
scenarios, this vulnerability presents itself on workstations, terminal
servers, and other systems that allow non-administrative users to
interactively log on. Less-common configurations could also be affected, and
are discussed below.
A fully supported patch is available to eliminate the vulnerability, and
Microsoft recommends that affected customers download and install it, if
appropriate.
Issue
=====
Windows NT provides a screen saver feature, in which a user-selected screen
saver program is run when the machine has been idle for a specified length
of time. Windows NT initially launches a screen saver in the local system
context, then immediately changes its security context to match that of the
user. However, Windows NT does not check whether this context change was
successfully made. This is the underlying problem in this vulnerability. If
the context change can be made to fail, the screen saver will remain running
in a highly-privileged state. The risk is that a malicious user could
develop a screen saver program that, for example, uses the elevated
privileges to add the author to the Administrators group.
It is important to understand that the user must able to run exploitation
code on a machine in order to elevate their privileges. There are two types
of machines at risk:
- Machines that allow non-administrative users to
interactively log on. Workstation and terminal servers
typically do allow this, but, per standard security practices,
most other machines only allow administrators to interactively
log on.
- Machines that allow remote users to submit arbitrary programs
for execution. Servers such as domain controllers, line of
business servers, application servers, print and file servers
and the like typically do not accept arbitrary programs for
execution.
It also is important to note that the scope of the privilege elevation is
highly dependent on the specific machine on which the exploitation code is
run. For example, a user who exploited this vulnerability on a workstation
could join the local Administrators group, but could not directly exploit
this vulnerability to become a domain administrator. However, a user who
exploited this vulnerability on a domain controller would be able to become
a domain Administrator, because the domain SAM is shared among all domain
controllers.
While there are no reports of customers being adversely affected by this
vulnerability, Microsoft is proactively providing a patch to allow customers
to take appropriate action to protect themselves against it.
Affected Software Versions
==========================
Microsoft Windows NT Workstation 4.0
Microsoft Windows NT Server 4.0
Microsoft Windows NT Server 4.0, Enterprise Edition
Microsoft Windows NT Server 4.0, Terminal Server Edition
What Microsoft is Doing
=======================
Microsoft has released patches that fix the problem identified. The patches
are available for download from the sites listed below in What Customers
Should Do.
Microsoft also has sent this security bulletin to customers
subscribing to the Microsoft Product Security Notification Service.
See http://www.microsoft.com/security/services/bulletin.asp
for more information about this free customer service.
Microsoft has published the following Knowledge Base (KB) article on this
issue:
- Microsoft Knowledge Base (KB) article Q221991,
Screen Saver Vulnerability Lets User Privileges be Elevated.
http://support.microsoft.com/support/kb/articles/q221/9/91.asp
(Note: It might take 24 hours from the original posting of this
bulletin for the KB article to be visible in the Web-based
Knowledge Base.)
What Customers Should Do
========================
Microsoft recommends that customers evaluate the degree of risk that this
vulnerability poses to their systems and determine whether to download and
install the patch. The patch can be found at:
- X86-based Windows NT Workstation and Server 4.0 (including
Enterprise Edition):
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/
usa/NT40/hotfixes-postSP4/ScrnSav-fix/Scrnsavi.exe
- X86-based Windows NT Server 4.0, Terminal Server Edition:
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/
usa/NT40TSE/hotfixes-postSP3/ScrnSav-fix/Scrnsavi.exe
- Alpha-based Windows NT Workstation and Server 4.0 (including
Enterprise Edition):
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/
usa/NT40/hotfixes-postSP4/ScrnSav-fix/Scrnsava.exe
- Alpha-based Windows NT Server 4.0, Terminal Server Edition:
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/
usa/NT40TSE/hotfixes-postSP3/ScrnSav-fix/Scrnsava.exe
(Note: The above URLs have been wrapped for readability)
(Note: Patches for Windows NT Server 4.0, Terminal Server Edition, will not
be available immediately upon release of this bulletin, but will be released
shortly after.)
More Information
================
Please see the following references for more information related to this
issue.
- Microsoft Security Bulletin MS99-008,
Patch Available for Windows NT 'Screen Saver' Vulnerability
(the Web-posted version of this bulletin),
http://www.microsoft.com/security/bulletins/ms99-008.asp.
- Microsoft Knowledge Base (KB) article Q221991,
Screen Saver Vulnerability Lets User Privileges be Elevated,
http://support.microsoft.com/support/kb/articles/q221/9/91.asp
(Note: It might take 24 hours from the original posting of this
bulletin for the KB article to be visible in the Web-based
Knowledge Base.)
Obtaining Support on this Issue
===============================
If you require technical assistance with this issue, please contact
Microsoft Technical Support. For information on contacting Microsoft
Technical Support, please see
http://support.microsoft.com/support/contact/default.asp.
Revisions
=========
- March 12, 1999: Bulletin Created
For additional security-related information about Microsoft products,
please visit http://www.microsoft.com/security
**************************************************************************
-----Forwarded message from X-Force
From: X-Force
To: First Teams
Cc: X-Force
Subject: ISS Security Advisory: LDAP Buffer overflow against Microsoft Directory Services
X-restrictions: DO NOT REDISTRIBUTE BEYOND FIRST MEMBERS UNLESS THE AUTHOR OF THIS MESSAGE GRANTS EXPRESS PERMISSION TO REDISTRIBUTE
-----BEGIN PGP SIGNED MESSAGE-----
ISS Security Advisory
March 15, 1999
LDAP Buffer overflow against Microsoft Directory Services
Synopsis:
ISS X-Force has discovered a buffer overflow exploit against Microsoft
Exchange's LDAP (Lightweight Directory Access Protocol) server which
allows read access to the Exchange server directory by using an LDAP
client. This buffer overflow consists of a malformed bind request that
overflows the buffer and can execute arbitrary code. This attack can also
cause the Exchange LDAP service to crash. This vulnerability exists in
Microsoft Exchange Server version 5.5.
Description:
This exploit occurs during the LDAP binding process. Binding involves
logging in or authenticating to a directory, and consists of sending a
username, a password, and a binding method. There are two methods in
which to use this vulnerablility against an Exchange server. The first
consists of sending a particular type of invalid LDAP bind packet which
will cause an overflow to occur this will cause the LDAP service to crash.
The second uses a large malformed LDAP bind packet that is carefully
crafted to take advantage of the buffer overflow and can be used to
execute arbitrary code.
Recommendations:
Microsoft has made a patch available for the LDAP attack. Patch
information is available at:
http://www.microsoft.com/security/bulletins/ms99-009.asp
Network administrators can protect internal systems from external attack
by adding a rule to a filtering router or firewall of the type: Deny all
incoming TCP packets with a destination port of 389.
Many firewalls or packet filters may already have more restrictive
rulesets that already encompass this filtering rule, in which case the
network is already protected from an external attack. This ruleset would
include filtering all incoming traffic to TCP port 389.
Additional Information:
These vulnerabilities were primarily researched by the ISS X-Force.
________