Description
Multiple integer overflows in Microsoft ASN.1 library (MSASN1.DLL), as used in LSASS.EXE, CRYPT32.DLL, and other Microsoft executables and libraries on Windows NT 4.0, 2000, and XP, allow remote attackers to execute arbitrary code via ASN.1 BER encodings with (1) very large length fields that cause arbitrary heap data to be overwritten, or (2) modified bit strings.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
MS04-007 Microsoft ASN.1 Library Bitstring Heap Overflow
exploit/windows/smb/ms04_007_killbill
Exploit-DB 3
- Microsoft Windows - ASN.1 Library Bitstring Heap Overflow (MS04-007) (Metasploit) EDB-16377 · remote · Jul 25, 2010 · verified
- Microsoft Windows - ASN.1 Remote (MS04-007) EDB-3022 · remote · Mar 26, 2004 · verified
- Microsoft Windows - ASN.1 'LSASS.exe' Remote Denial of Service (MS04-007) EDB-153 · dos · Feb 14, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- VU#583108 third-party-advisory
- TA04-041A third-party-advisory
- oval:org.mitre.oval:def:653 vdb-entry signature
- 20040210 EEYE: Microsoft ASN.1 Library Length Overflow Heap Corruption mailing-list
- 20040210 EEYE: Microsoft ASN.1 Library Bit String Heap Corruption mailing-list
- oval:org.mitre.oval:def:799 vdb-entry signature
- oval:org.mitre.oval:def:796 vdb-entry signature
- VU#216324 third-party-advisory
- MS04-007 vendor-advisory
- 20040210 EEYE: Microsoft ASN.1 Library Bit String Heap Corruption mailing-list
- 20040210 EEYE: Microsoft ASN.1 Library Length Overflow Heap Corruption mailing-list
- oval:org.mitre.oval:def:797 vdb-entry signature