---
title: "OS Attack: MS LSASS DS Request CVE-2003-0533 2"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=20631
description: Attack Signature Detail Page
---

# OS Attack: MS LSASS DS Request CVE-2003-0533 2

## Severity: High

This attack could pose a serious security threat. You should take immediate action to stop any damage or prevent further damage from happening.

## Description

This signature detects a Microsoft Windows LSA DS (Local Security Authority Directory Service) request has been made by either Sasser or Korgo.

## Additional Information

Microsoft Windows LSASS (Local Security Authority Subsystem Service) is prone to a remotely exploitable stack-based buffer overrun vulnerability. This service provides various operating system facilities such as client/server local and domain authentication and support for Active Directory features. 

It is possible to trigger this condition by sending a malformed message to the service, which could occur remotely or locally via a component that passes information to LSASS. The specific vulnerable system component is LSASRV.DLL. This issue is present within the Active Directory service functions which are exposed through the LSASS DCE/RPC endpoint. The vulnerable functionality is reportedly accessible over the LSARPC named pipe via TCP ports 139 and 445, though other RPC-related TDP/UDP ports should not be ruled out. 

The cause of the issue is insufficient bounds checking by vsprintf() calls in the DsRolepLogPrintRoutine() API within Active Directory debug logging facilities. There are particular RPC functions that will accept excessive user-specified input to be passed to the vulnerable calls when the logs are written. The log file created by the logging facilities is entitled "DCPROMO.LOG" in the Windows "debug" subdirectory.

There are a few factors that may complicate this vulnerability under normal circumstances. In particular, if the output directory for the debug log file is on an NTFS file system, it may not be written to by an unprivileged user and the execution path required to exploit this issue will not be followed. Specifically, the RpcImpersonateClient() API may be called when exploitation occurs and if this fails then the log may not be written. However, there are some ways to circumvent the call to the RpcImpersonateClient() API. Through the undocumented DsRolerUpgradeDownlevelServer() function on Windows 2000 and XP, it is possible to circumvent the problematic API call to pass malicious data directly to the affected vsprintf() routine by calling the DsRolepInitializeLog() API directly. As a result, DsRolerUpgradeDownlevelServer() may be used to trigger the overrun both locally and across the network.

Successful exploitation of this issue could allow a remote attacker to execute malicious code on a vulnerable system, resulting in full system compromise. 

This issue could be exploited by an anonymous user on Microsoft Windows 2000 and XP operating systems. The issue may reportedly only be exploited by local, authenticated users on Microsoft Windows Server 2003 and Microsoft Windows XP 64-Bit Edition 2003. Microsoft has stated that a local administrator could exploit the issue on these platforms, though this does not appear to pose any additional security risk since the administrator will likely already have complete control over the system. Symantec is investigating this detail and this BID will be updated when further information regarding local exploitation on these platforms is available.

** A worm exploiting this vulnerability is currently in the wild named W32.Sasser.Worm (MCID 2911). The worm does not appear to contain any malicious payload but is spreading rapidly.

** Exploit code has been released that targets a buffer overrun in the FTPD component, via TCP port 5554, of W32.Sasser.Worm (and variants). This exploit is designed to allow attackers to gain remote access to hosts that have been compromised by variants of the worm.

** Update (05/13/2004): A worm, tentatively named W32.Dabber.Worm (MCID 2955), has been discovered in the wild that exploits the buffer overflow vulnerability in the FTP server implemented by W32.Sasser.Worm. The worm installs a backdoor on infected hosts.

It has been observed that W32.Gaobot and W32.RXBot worms exploit this issue to propagate.

## Affected

- Avaya DefinityOne Media Servers 
- Avaya IP600 Media Servers 
- Avaya S3400 Message Application Server 
- Avaya S8100 Media Servers 
- Microsoft Windows 2000 Advanced Server SP1, SP2, SP3, SP4
- Microsoft Windows 2000 Datacenter Server SP1, SP2, SP3, SP4
- Microsoft Windows 2000 Professional SP1, SP2, SP3, SP4
- Microsoft Windows 2000 Server SP1, SP2, SP3, SP4
- Microsoft Windows Server 2003 Datacenter Edition 
- Microsoft Windows Server 2003 Datacenter Edition Itanium 
- Microsoft Windows Server 2003 Enterprise Edition 
- Microsoft Windows Server 2003 Enterprise Edition Itanium 
- Microsoft Windows Server 2003 Standard Edition 
- Microsoft Windows Server 2003 Web Edition 
- Microsoft Windows XP 64-bit Edition SP1
- Microsoft Windows XP 64-bit Edition Version 2003 SP1
- Microsoft Windows XP Home SP1
- Microsoft Windows XP Professional SP1

## Response

**Workaround:**
The following workarounds may protect systems against the vulnerability and worm exploiting this issue:

1. Create a read-only file called 'dcpromo.log' in the '%systemroot%debug' directory. This is reported to be the most effective workaround and will block traffic on any port.

2. Users may also carry out the following actions to enable TCP/IP filtering in order to block all unsolicited inbound TCP/IP filtering:
   i) Go to control panel and double click on 'Network and Dialup Connections'.
   ii) Right click on the network adapter and click 'Properties'.
   iii) Double click on 'Internet Protocol (TCP/IP)' and press the 'Advanced' button.
   iv) Choose the 'Options' tab and double click 'TCP/IP filtering'.
   v) Check the 'Enable TCP/IP filtering (all adapters)' checkbox and choose the 'Permit Only' radio button above 'TCP Ports'. It is advised not to add any ports to this list and not to select the 'Permit Only' radio button above the 'UDP Ports' label.
   vi) Select ok 4 times to subsequent prompts and reboot the system. 

This workaround will block all un-initiated inbound TCP traffic to any port.

3. Users may also choose to stop the server service, however, this will not protect against an attack on other ports.

**Solution:**
Avaya has released an advisory to announce that Avaya System [Products](https://www.broadcom.com/products) shipping on Microsoft platforms are also affected by this vulnerability. Avaya advise that customers follow the Microsoft recommendations for the resolution of this issue. The aforementioned advisory can be viewed at the following location: [Avaya? Guidance on the installation of Microsoft issued security patches (MS04-11, MS04-12, MS04-13, MS04-14)](http://support.avaya.com/japple/css/japple?temp.groupID=&temp.selectedFamily=128451&temp.selectedProduct=154235&temp.selectedBucket=126655&temp.feedbackState=askForFeedback&temp.documentID=161384&PAGE=avaya.css.CSSLvl1Detail&executeTransaction=avaya.css.UsageUpdate%28%29)

Microsoft has released fixes to address this issue.

US-CERT has released an advisory TA04-104A to address this and other issues. Please see the referenced advisory for more information.

## Additional Resources

- [Metasploit Framework Exploits](http://metasploit.com/projects/Framework/modules/exploits)
- [Symantec Security Response: W32.Gaobot](http://securityresponse.symantec.com/avcenter/venc/data/w32.hllw.gaobot.gen.html)
- [W32.Sasser.Worm](http://securityresponse.symantec.com/avcenter/venc/data/w32.sasser.worm.html)
- [Symantec Security Response: W32.RxBot](http://securityresponse.symantec.com/avcenter/venc/data/w32.spybot.worm.html)
- [Windows Local Security Authority Service Remote Buffer Overflow](http://www.eeye.com/html/Research/Advisories/AD20040413C.html)
- [Microsoft Security Bulletin MS04-011](http://www.microsoft.com/technet/security/bulletin/ms04-011.mspx)
