Exploitation of "Scriptlet.Typelib" ActiveX Control
Date: Tuesday, June 6, 2000
Overview
We have received reports of email-borne viruses that exploit a vulnerability created by unsafe configuration of the Microsoft ActiveX control named "Scriptlet.Typelib".Description
The Microsoft ActiveX control Scriptlet.Typelib allows local files to be created or modified, so it is unsafe to allow untrusted programs to access this control. The control is incorrectly marked "safe for scripting" as shipped with Internet Explorer versions 4.0 and 5.0. As a result, malicious programs may be able to execute the control without requesting approval from the user. For example, an HTML-format email message that is rendered using Internet Explorer may be able to execute the Scriptlet.Typelib control to create and modify local files.
We are aware of two email-borne viruses that are designed to exploit this vulnerability. Malicious VBScript programs known as Bubbleboy and kak are designed to infect systems by altering the Windows registry and propagating themselves through email. In both cases, a malicious VBScript is delivered in the form of an HTML-format email message with characteristics that might entice a user to view the message. If the HTML in the email message is rendered by Internet Explorer, the VBScript may be executed. In vulnerable configurations, the Scriptlet.Typelib ActiveX control can be called by the malicious program to create and modify local files.
It is important to note that some mail user agents, such as Outlook 2000 and Outlook Express 5, use Internet Explorer to render HTML-format email messages. Rather than explicitly executing a malicious file attachment, a user may cause a malicious program to execute simply by viewing a message.
It is possible that other methods of delivering and executing malicious code can be used to exploit vulnerable configurations of Scriptlet.Typelib; for example, through a maliciously crafted web page.
We began receiving reports of kak and kak variants in late February 2000, and we continue to receive reports of new infections. As of this writing, we have not received any direct reports of Bubbleboy infections.
Information about kak and its variants can be found at
- Aladdin Knowledge Systems:
http://www.ealaddin.com/home/csrt/valerts.asp#VBS_KAK
- Computer Associates International, Inc.:
http://www.cai.com/virusinfo/encyclopedia/descriptions/wscript.htm
- F-Secure:
http://www.f-secure.com/v-descs/kak.htm
- Network Associates (McAfee & Dr. Solomon):
http://vil.nai.com/villib/dispVirus.asp?virus_k=10509&
- Norman Data Defense Systems:
http://www.norman.no/virus_info/js_kak_worm.shtml
- Proland Software:
http://www.pspl.com/virus_info/worms/kak.htm
- Sophos Anti-Virus:
http://www.uk.sophos.com/virusinfo/analyses/vbskakworm.html
- Symantec:
http://www.symantec.com/avcenter/venc/data/wscript.kakworm.html
- Computer Associates International, Inc.:
Information about BubbleBoy can be found at
- Central Command, Inc.:
http://www.avpve.com/viruses/worms/bubblebo.html
- Computer Associates International, Inc.:
http://www.cai.com/virusinfo/encyclopedia/descriptions/bubble.htm
- F-Secure:
http://www.f-secure.com/v-descs/bubb-boy.htm
- Network Associates, Inc. (McAfee & Dr. Solomon's Software):
http://vil.nai.com/villib/dispVirus.asp?virus_k=10418
- Norman Data Defense Systems:
http://www.norman.no/virus_info/vbs_bubble.shtml
- Proland Software:
http://www.pspl.com/trojan_info/win32/bubbleboy.htm
- Sophos Anti-Virus:
http://www.uk.sophos.com/virusinfo/analyses/vbsbubbleboy.html
- Symantec:
http://www.symantec.com/avcenter/venc/data/vbs.bubbleboy.html
- Trend Micro, Inc.:
http://www.antivirus.com/vinfo/security/sa110999.htm - Computer Associates International, Inc.:
Impact
Viruses or other malicious code contained in HTML-format email or web pages can exploit Scriptlet.Typelib to create and modify local files.
Solutions
Microsoft produced a patch that will remove the "safe for scripting" marking from the Scriptlet.Typelib ActiveX control. More information about the vulnerable condition and the patch is available from Microsoft at:
- http://www.microsoft.com/security/bulletins/ms99-032.asp
- http://www.microsoft.com/technet/security/bulletin/fq99-032.asp
- http://support.microsoft.com/support/kb/articles/q240/3/08.asp
- http://www.microsoft.com/technet/security/bulletin/fq99-032.asp
With the patch applied, the default action is for the user to be prompted before Scriptlet.Typelib is executed. Even with the patch installed, a user can choose to allow the control to be executed. If the control is allowed to execute, local files can still be created and modified.
Authors: Kevin Houle, Chad Dougherty, Brian King
Copyright 2000 Carnegie Mellon University.