Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
BID:7116
Info
Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
| Bugtraq ID: | 7116 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2003-0109 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 17 2003 12:00AM |
| Updated: | Jul 11 2009 09:06PM |
| Credit: | Announced by the vendor. |
| Vulnerable: |
Microsoft Windows XP Professional SP1 Microsoft Windows XP Professional Microsoft Windows XP Home SP1 Microsoft Windows XP Home Microsoft Windows XP 64-bit Edition SP1 Microsoft Windows XP 64-bit Edition Microsoft Windows NT Workstation 4.0 SP6a Microsoft Windows NT Workstation 4.0 SP6 Microsoft Windows NT Workstation 4.0 SP5 Microsoft Windows NT Workstation 4.0 SP4 Microsoft Windows NT Workstation 4.0 SP3 Microsoft Windows NT Workstation 4.0 SP2 Microsoft Windows NT Workstation 4.0 SP1 Microsoft Windows NT Workstation 4.0 Microsoft Windows NT Terminal Server 4.0 SP6 Microsoft Windows NT Terminal Server 4.0 SP5 Microsoft Windows NT Terminal Server 4.0 SP4 Microsoft Windows NT Terminal Server 4.0 SP3 Microsoft Windows NT Terminal Server 4.0 SP2 Microsoft Windows NT Terminal Server 4.0 SP1 Microsoft Windows NT Terminal Server 4.0 Microsoft Windows NT Server 4.0 SP6a Microsoft Windows NT Server 4.0 SP6 Microsoft Windows NT Server 4.0 SP5 Microsoft Windows NT Server 4.0 SP4 Microsoft Windows NT Server 4.0 SP3 Microsoft Windows NT Server 4.0 SP2 Microsoft Windows NT Server 4.0 SP1 Microsoft Windows NT Server 4.0 Microsoft Windows NT Enterprise Server 4.0 SP6a Microsoft Windows NT Enterprise Server 4.0 SP6 Microsoft Windows NT Enterprise Server 4.0 SP5 Microsoft Windows NT Enterprise Server 4.0 SP4 Microsoft Windows NT Enterprise Server 4.0 SP3 Microsoft Windows NT Enterprise Server 4.0 SP2 Microsoft Windows NT Enterprise Server 4.0 SP1 Microsoft Windows NT Enterprise Server 4.0 Microsoft Windows 2000 Terminal Services SP3 Microsoft Windows 2000 Terminal Services SP2 Microsoft Windows 2000 Terminal Services SP1 Microsoft Windows 2000 Terminal Services Microsoft Windows 2000 Server SP3 Microsoft Windows 2000 Server SP2 Microsoft Windows 2000 Server SP1 Microsoft Windows 2000 Server Microsoft Windows 2000 Professional SP3 Microsoft Windows 2000 Professional SP2 Microsoft Windows 2000 Professional SP1 Microsoft Windows 2000 Professional Microsoft Windows 2000 Datacenter Server SP3 Microsoft Windows 2000 Datacenter Server SP2 Microsoft Windows 2000 Datacenter Server SP1 Microsoft Windows 2000 Datacenter Server Microsoft Windows 2000 Advanced Server SP3 Microsoft Windows 2000 Advanced Server SP2 Microsoft Windows 2000 Advanced Server SP1 Microsoft Windows 2000 Advanced Server Cisco Wireless Lan Solution Engine Cisco VPN/Security Management Solution Cisco Voice Manager Cisco User Registration Tool Cisco uOne Enterprise Edition Cisco Unity Server 4.0 Cisco Unity Server 3.3 Cisco Unity Server 3.2 Cisco Unity Server 3.1 Cisco Unity Server 3.0 Cisco Unity Server 2.46 Cisco Unity Server 2.4 Cisco Unity Server 2.3 Cisco Unity Server 2.2 Cisco Unity Server 2.1 Cisco Unity Server 2.0 Cisco Unity Server Cisco Transport Manager Cisco Trailhead Cisco SN 5428 Storage Router SN5428-3.3.2-K9 Cisco SN 5428 Storage Router SN5428-3.3.1-K9 Cisco SN 5428 Storage Router SN5428-3.2.2-K9 Cisco SN 5428 Storage Router SN5428-3.2.1-K9 Cisco SN 5428 Storage Router SN5428-2.5.1-K9 Cisco SN 5428 Storage Router SN5428-2-3.3.2-K9 Cisco SN 5428 Storage Router SN5428-2-3.3.1-K9 Cisco SN 5420 Storage Router 1.1.3 Cisco SN 5420 Storage Router 1.1 (7) Cisco SN 5420 Storage Router 1.1 (5) Cisco SN 5420 Storage Router 1.1 (4) Cisco SN 5420 Storage Router 1.1 (3) Cisco SN 5420 Storage Router 1.1 (2) Cisco Small Network Management Solution Cisco Service Management Cisco Secure Scanner Cisco Secure Policy Manager 3.0.1 Cisco Secure Access Control Server 3.2.1 Cisco Routed Wan Management Cisco QoS Policy Manager Cisco Personal Assistant Cisco Networking Services for Active Directory Cisco Network Registar Cisco Media Blender Cisco Lan Management Solution Cisco IP/VC 3540 Video Rate Matching Module Cisco IP/VC 3540 Application Server Cisco IP Telephony Environment Monitor Cisco IP Contact Center Express Cisco IP Contact Center Enterprise Cisco Internet Service Node Cisco Intelligent Contact Manager 5.0 Cisco Intelligent Contact Manager Cisco Emergency Responder Cisco E-Mail Manager Cisco Dynamic Content Adapter Cisco DOCSIS CPE Configurator Cisco Customer Response Application Server Cisco Conference Connection Cisco Collaboration Server Cisco CiscoWorks VPN/Security Management Solution Cisco Call Manager 3.3 (3) Cisco Call Manager 3.3 Cisco Call Manager 3.2 Cisco Call Manager 3.1 (3a) Cisco Call Manager 3.1 (2) Cisco Call Manager 3.1 Cisco Call Manager 3.0 Cisco Call Manager 2.0 Cisco Call Manager 1.0 Cisco Call Manager Cisco Building BroadBand Service Manager Hotspot 1.0 Cisco Building Broadband Service Manager (BBSM) 5.2 Cisco Building Broadband Service Manager (BBSM) 5.1 Cisco Broadband Troubleshooter |
| Not Vulnerable: |
Cisco Secure Access Control Server 3.2.2 Cisco Secure Access Control Server 3.2 (1.20) |
Discussion
Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
The Windows library ntdll.dll includes a function that does not perform sufficient bounds checking. The vulnerability is present in the function "RtlDosPathNameToNtPathName_U" and may be exploited through other programs that use the library if an attack vector permits it. One of these programs is the implementation of WebDAV that ships with IIS 5.0. The vector allows for the vulnerability in ntdll.dll to be exploited by a remote attacker.
Several other library functions which call the vulnerable ntdll.dll procedure have been identified. Administrators are advised to patch as other attack vectors are likely to surface.
** Microsoft has revised its advisory to state that this vulnerability affects Windows NT systems. As Windows NT does not support WebDAV, exploits using WebDAV as the attack vector will not be effective against Windows NT systems. Windows XP does not also include WebDAV by default, but other attack vectors may be possible, especially in cases where the attacker has interactive access to the system. WebDAV may be installed by a user on Windows XP with IIS 5.1, so WebDAV may be a possible means of exploitation in these circumstances.
** Reports suggest that numerous hosts have been scanned in an attempt to exploit this vulnerability. Although unconfirmed, this may be the result of a system of automated attacks.
** It has been reported that this vulnerability is also present in the "RtlGetFullPathName_U" function. The supplied Microsoft patch (Q815021) also corrects this function.
** It has been reported that the W32.Welchia.Worm, described in MCID 1811, is actively exploiting this vulnerability.
The Windows library ntdll.dll includes a function that does not perform sufficient bounds checking. The vulnerability is present in the function "RtlDosPathNameToNtPathName_U" and may be exploited through other programs that use the library if an attack vector permits it. One of these programs is the implementation of WebDAV that ships with IIS 5.0. The vector allows for the vulnerability in ntdll.dll to be exploited by a remote attacker.
Several other library functions which call the vulnerable ntdll.dll procedure have been identified. Administrators are advised to patch as other attack vectors are likely to surface.
** Microsoft has revised its advisory to state that this vulnerability affects Windows NT systems. As Windows NT does not support WebDAV, exploits using WebDAV as the attack vector will not be effective against Windows NT systems. Windows XP does not also include WebDAV by default, but other attack vectors may be possible, especially in cases where the attacker has interactive access to the system. WebDAV may be installed by a user on Windows XP with IIS 5.1, so WebDAV may be a possible means of exploitation in these circumstances.
** Reports suggest that numerous hosts have been scanned in an attempt to exploit this vulnerability. Although unconfirmed, this may be the result of a system of automated attacks.
** It has been reported that this vulnerability is also present in the "RtlGetFullPathName_U" function. The supplied Microsoft patch (Q815021) also corrects this function.
** It has been reported that the W32.Welchia.Worm, described in MCID 1811, is actively exploiting this vulnerability.
Exploit / POC
Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
CORE has developed a working commercial exploit for their IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.
A proof-of-concept worm for WebDAV has been released, but is not known to be circulating in the wild at this time.
An exploit has been released as part of the MetaSploit Framework 2.0.
The following exploits are available:
CORE has developed a working commercial exploit for their IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.
A proof-of-concept worm for WebDAV has been released, but is not known to be circulating in the wild at this time.
An exploit has been released as part of the MetaSploit Framework 2.0.
The following exploits are available:
- /data/vulnerabilities/exploits/wbr.c
- /data/vulnerabilities/exploits/rs_iis.c
- /data/vulnerabilities/exploits/wd.pl
- /data/vulnerabilities/exploits/webdavin-1.01.zip
- /data/vulnerabilities/exploits/regexploit.c
- /data/vulnerabilities/exploits/regexp.c
- /data/vulnerabilities/exploits/regexploit.c
- /data/vulnerabilities/exploits/KaHT_public.tar.gz
- /data/vulnerabilities/exploits/webdav-reloaded.c
- /data/vulnerabilities/exploits/linux-wb.c
- /data/vulnerabilities/exploits/Xnuxer.c
- /data/vulnerabilities/exploits/iis50_webdav_ntdll.pm
Solution / Fix
Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
Solution:
Some reports indicate that the Microsoft patches for this issue may cause problems. It is not known if this is the result of the patches conflicting with certain configurations. Administrators are advised to apply workaround procedures if problems are experienced after applying the patch.
Microsoft has updated the bulletin with information regarding possible sources of conflicts with this patch. For precise details, see the Caveats section under Additional information about this patch in the Microsoft Security Bulletin.
Microsoft has revised its advisory to state that this vulnerability affects Windows NT systems. As Windows NT does not support WebDAV, exploits using WebDAV as the attack vector will not be effective against Windows NT systems.
Microsoft has released a new revision of the advisory which contains patches for Windows XP.
Microsoft has released fixes:
Microsoft Windows 2000 Terminal Services SP2
Microsoft Windows 2000 Server SP1
Microsoft Windows 2000 Server
Cisco Conference Connection
Microsoft Windows NT Workstation 4.0 SP6a
Microsoft Windows 2000 Professional SP3
Microsoft Windows 2000 Professional SP2
Microsoft Windows 2000 Terminal Services
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Advanced Server SP3
Microsoft Windows XP Home SP1
Cisco IP Contact Center Express
Microsoft Windows 2000 Server SP2
Microsoft Windows 2000 Advanced Server SP1
Microsoft Windows 2000 Advanced Server SP2
Microsoft Windows NT Server 4.0 SP6a
Cisco Internet Service Node
Cisco Call Manager 1.0
Cisco Call Manager 3.0
Cisco Call Manager 3.1 (3a)
Cisco Call Manager 3.1 (2)
Cisco Call Manager 3.1
Cisco Call Manager 3.3 (3)
Cisco Building Broadband Service Manager (BBSM) 5.1
Solution:
Some reports indicate that the Microsoft patches for this issue may cause problems. It is not known if this is the result of the patches conflicting with certain configurations. Administrators are advised to apply workaround procedures if problems are experienced after applying the patch.
Microsoft has updated the bulletin with information regarding possible sources of conflicts with this patch. For precise details, see the Caveats section under Additional information about this patch in the Microsoft Security Bulletin.
Microsoft has revised its advisory to state that this vulnerability affects Windows NT systems. As Windows NT does not support WebDAV, exploits using WebDAV as the attack vector will not be effective against Windows NT systems.
Microsoft has released a new revision of the advisory which contains patches for Windows XP.
Microsoft has released fixes:
Microsoft Windows 2000 Terminal Services SP2
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Server SP1
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Server
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Cisco Conference Connection
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Microsoft Windows NT Workstation 4.0 SP6a
-
Microsoft Q815021
Chinese - Hong Kong
http://microsoft.com/downloads/details.aspx?FamilyId=55483A84-A8C7-48A F-BD83-9EC4B99F87CD&displaylang=zh-tw -
Microsoft Q815021
All except NEC and Chinese - Hong Kong
http://microsoft.com/downloads/details.aspx?FamilyId=9A64851A-05AE-491 2-9967-3AA3B4D5A76F&displaylang=en -
Microsoft Q815021
Japanese NEC
http://microsoft.com/downloads/details.aspx?FamilyId=E20A695D-977D-424 7-AF3B-4B58850B1795&displaylang=ja
Microsoft Windows 2000 Professional SP3
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Professional SP2
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Terminal Services
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Professional
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Advanced Server SP3
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows XP Home SP1
-
Microsoft Q815021
http://microsoft.com/downloads/details.aspx?FamilyId=84FC577D-F2D5-47B 8-AB98-77BA7501B00B&displaylang=en
Cisco IP Contact Center Express
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Microsoft Windows 2000 Server SP2
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Advanced Server SP1
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows 2000 Advanced Server SP2
-
Microsoft Q815021
Windows 2000 except Japanese NEC.
http://microsoft.com/downloads/details.aspx?FamilyId=C9A38D45-5145-484 4-B62E-C69D32AC929B&displaylang=en -
Microsoft Q815021
Japanese NEC version.
http://microsoft.com/downloads/details.aspx?FamilyId=FBCF9847-D3D6-449 3-8DCF-9BA29263C49F&displaylang=ja
Microsoft Windows NT Server 4.0 SP6a
-
Microsoft Q815021
Chinese - Hong Kong
http://microsoft.com/downloads/details.aspx?FamilyId=55483A84-A8C7-48A F-BD83-9EC4B99F87CD&displaylang=zh-tw -
Microsoft Q815021
All except NEC and Chinese - Hong Kong
http://microsoft.com/downloads/details.aspx?FamilyId=9A64851A-05AE-491 2-9967-3AA3B4D5A76F&displaylang=en -
Microsoft Q815021
Japanese NEC
http://microsoft.com/downloads/details.aspx?FamilyId=E20A695D-977D-424 7-AF3B-4B58850B1795&displaylang=ja
Cisco Internet Service Node
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 1.0
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 3.0
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 3.1 (3a)
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 3.1 (2)
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 3.1
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Call Manager 3.3 (3)
-
Cisco win-OS-Upgrade-k9.2000-2-4sr5.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/cmva-3des
Cisco Building Broadband Service Manager (BBSM) 5.1
-
Cisco Patch51MS03007.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/bbsm51 -
Cisco RPCBufferOverrun.exe
http://www.cisco.com/pcgi-bin/tablebuild.pl/bbsm51
References
Microsoft Windows ntdll.dll Buffer Overflow Vulnerability
References:
References:
- Cisco Security Notice: Nachi Worm Mitigation Recommendations (Cisco)
- How to Disable WebDAV for IIS 5.0 (Microsoft)
- IIS WebDAV exploit (CORE Security)
- Microsoft Security Bulletin MS03-007 (Microsoft)
- Re: Microsoft Security Advisory MS 03-007 (M. Burnett
) - U.S. military computer attacked (MSNBC)
- [Windows XP] ntdll.dll Buffer Overflow Vulnerability - Yet Another MS03-007 (":: Operash ::"
) - IIS 5.0 WebDAV -Proof of concept-. Fully documented. (Roman Medina
) - IIS Web DAV exploit new release (Alumni Alumni
) - New attack vectors and a vulnerability dissection of MS03-007 ("David Litchfield"
) - WebDAV exploit: using wide character decoder scheme (
)