Microsoft released a critical software update yesterday to patch a security hole in a common Windows component...
that could allow malicious hackers to place and run their own code on machines running Windows.
The security hole, in a Windows component called the ASN.1 library, affects a wide range of Windows features and software, from file sharing between Windows machines, to software applications that use digital certificates, said Microsoft and eEye Digital Security, which discovered the problem.
ASN, or Abstract Syntax Notation, is an international standard for representing different types of binary data such as numbers or strings of text.
The ASN.1 library allows different software applications running in Windows to identify the types of data they are passing back and forth, allowing each system to interpret the data it receives. It has been a standard Windows component since the release of Windows NT Version 4.0, said Marc Maiffret, chief hacking officer at eEye.
An unchecked buffer in the ASN.1 Library could allow remote attackers to cause a buffer overflow and take control of a vulnerable Windows system, said Microsoft.
In buffer overflow attacks, hackers use flaws in a software program's underlying code to overwrite areas of the computer's memory, replacing legitimate computer instructions with bad data or other instructions.
The Microsoft security bulletin, MS04-007 patches the ASN.1 Library on affected Windows systems, ranging from Windows NT Workstation 4.0 Service pack 6a to the latest version of Windows Server 2003. (See: http://www.microsoft.com/security/security_bulletins/20040210_windows.asp.)
The patch fixes vulnerabilities eEye discovered in the ASN.1 Library and informed Microsoft about in July 2003. However, the company warned that Microsoft's implementation of ASN is "fraught with integer overflows".
Maiffret has warned that other security flaws will be found in the library.
"Typically, if there's one set of vulnerabilities, there will be more found. Everything we know of was fixed today, but usually where there's one there's many."
That was the case with Microsoft's implementation of the DCOM (Distributed Component Object Model), a protocol that allows software programs to communicate over a network. A security vulnerability in the DCOM interface that handled RPC (remote procedure call) traffic spawned the Blaster worm, as well as other attacks.
The ASN vulnerability could be exploited in a similar manner and could be used to create a network worm, Maiffret said. Unlike DCOM, it would be difficult to simply disable ASN should such a worm appear, because it is used by so many different applications.
Even more ominous, ASN is commonly used in critical infrastructure such as power grids and water supply control systems, where it allows hardware that makes up the infrastructure to send data such as power consumption levels to software control systems.
Microsoft advised customers running affected versions of Windows to download and apply the patch immediately.
Paul Roberts writes for IDG News Service