• August 05th, 2010
  • Comments Off

MS10-046: A rude awakening

Unless you’ve been living under a rock, you’ve probably seen some chatter about the Stuxnet worm and the patch now known to the world as MS10-046.  This out-of-band patch Microsoft released on Monday plugged a hole in the Windows shell component which handles lnk file parsing.  That bug  allowed malware authors to piggyback their own malicious code to infect sensitive networks.

If you hadn’t tasked yourself with reversing the worm to figure out it’s internals, you’d think that it was exploiting a vulnerability that was limited to local execution–after all, the Stuxnet reports were widely focused on transmission of the worm through USB keys.  However, Microsoft’s release of the advisory tells us a different story — now that we have a CVE and associated CVSS score (presumably submitted by MSRC):  CVE-2010-2568.  Looking at the CVSS vector (scored 9.3), we can see that it allows for remote (AV:N), unauthenticated (Au:N) execution but requires a bit of interaction from the user (AC:M).  Why not AV:L?  An attacker can coerce a user into viewing a lnk file exploiting the vulnerability by hosting something such as a CIFS share and coercing the user to visit that share.  To equate the social engineering method to another type of (unrelated) attack, think of it like an attacker coercing a user to visit a link that exploits an XSS weakness in a webapp to grab that user’s session cookie.  In the Stuxnet case, SCADA environments (the most volatile of which are infrastructure related such as power plants) are usually totally disconnected or filtered from the internet.

Critical Infrastructure

SCADA environments are typically made up of proprietary equipment with shoddy implementations of contextually popular protocols such as DNP3 and ModBus as well as protocols popular in Corporate IT such as TCP.  It is also common for these environments to use operating systems that have reached their end-of-life, and for the vendors of such systems to leave them unpatched for some time.  This equipment is used to drive machinery, report statistics and control systems.  In the case of power plants, a failure of even one of these assets can have a catastrophic outcome.

Perhaps by now you’ve asked yourself “why isn’t there a clean room policy?”.  These systems are governed by the NERC CIP standards, which are relatively new.  CIP is a gigantic forward for security in that industry, but it’s still evolving.  The standards cover a wide range of processes which build up a security management program.  There is definitely a big focus on critical assets and the data around those assets, but no real policy of what data goes in.  Additionally, there are stipulations for the use of a vulnerability assessment solution and endpoint scanner.  That’s a great mix of proactive and reactive.  However, the accuracy of those tools depends on the vendors putting updates out for that 0day (which may not even be known to the public) and the internal policies of the plant that maintains them pertaining to updating the software.  If either of those links fail, these environments are still vulnerable to an attack.  NERC could improve this gap by more clearly defining policies on what and how data can be transferred into the electronic perimeter.

The great thing about the Stuxnet worm is that it kick-started scrutiny on SCADA environments again.  NeXpose was updated with a check for this vulnerability this week, so go grab a copy and scan your own environment if you haven’t already.  I’m sleeping more easily knowing that there are now guys in black suits scrambling around…

-D

Post Your Comment

  • November 10th, 2009
  • Comments Off

November Microsoft Patch Tuesday Roundup

Time once again for this month’s summary of the latest Microsoft Security updates …

6 updates, with 15 vulnerabilities covered. Here’s the breakdown:

MS09-063: Rated Critical. Potential Remote Code Execution via Memory Corruption in Web Services on Devices API, covering 1 vulnerability: CVE-2009-2512. Important to note that this one only affects Windows Vista and Server 2008. Also important to note that attackers must be on the local subnet to exploit this vulnerability, so it would either be an Insider attack or would need to be chained with one or more additional vulnerabilities for an outside attacker to compromise a host.

MS09-064: Rated Critical. Potential Remote Code Execution via Heap Overflow in License Logging Server, covering 1 vulnerability: CVE-2009-2523. Important to note that this one only affects Windows 2000, however no authentication is required to exploit this vulnerability.

MS09-065: Rated Critical. Potential Remote Code Execution in Windows 2000, XP, and Server 2003; Elevation of Privilege in Vista and Server 2008, covering 3 vulnerabilities: CVE-2009-1127 (Win32k NULL Pointer Dereferencing), CVE-2009-2513 (Win32k Insufficient Data Validation), and CVE-2009-2513 (Win32k EOT Parsing). As predicted in our analysis of the Advanced Notification, this is the one on top of everyone’s priority list this month. Important to note that the most severe of the 3 vulnerabilities requires a user to view content rendered in a specially crafted Embedded OpenType font. This makes the threat much more severe for client workstations than servers, assuming users follow best practices by not viewing this kind of content from servers.

MS09-066: Rated Important. Potential Denial of Service in Windows 2000, XP, Server 2003 and Server 2008, covering 1 vulnerability: CVE-2009-1928 (LSASS Recursive Stack Overflow). Vista is not affected. Important to note that this vulnerability affects Active Directory, so Domain Controllers are in scope. Although researchers are often dismissive of DoS vulnerabilities, an exhaustion of resources on Domain Controllers would have a significant impact on enterprise operations.

MS09-067: Rated Important. Potential Remote Code Execution in Excel and Excel Viewer as well as Office and supporting components for mac, covering 8 (yes, eight) vulnerabilities: CVE-2009-3127 (Cache Memory Corruption), CVE-2009-3128 (SxView Memory Corruption), CVE-2009-3129 (Featheader Record Memory Corruption), CVE-2009-3130 (Document Parsing Heap Overflow), CVE-2009-3131 (Formula Parsing Memory Corruption), CVE-2009-3132 (Index Parsing), CVE-2009-3133 (Document Parsing Memory Corruption), and CVE-2009-3134 (Field Sanitization). Important to note that customers running Office 2007 must install the security updates for Microsoft Office Compatibility Pack File Format in addition to this update. While Office updates generally get less attention at this time of the month, the sheer number of vulnerabilities and Microsoft’s exploitability rating should put this in the top 2-3 updates in customers’ prioritized patching efforts.

MS09-068: Rated Important. Potential Remote Code Execution via File Information Memory Corruption in Word, Word Viewer, as well as Office and supporting components for mac, covering 1 vulnerability: CVE-2009-3135. Important to note that a user would need to open a specially crafted Word file for an attacker to exploit this vulnerability.

Overall this is a much lighter month than October’s monster update, although it’s a busy one by November standards. The Windows updates require a restart; Office updates may require a restart if the updated components are in use when the updates are done. Recommendation to customers that run a full test cycle before distributing updates is to focus on MS09-065 first … particularly on client workstations. This one has the broadest impact, including Domain Controllers, Member Servers, and workstations. Also recommended for customers to focus on the Excel updates in MS09-067 and the Active Directory Denial of Service addressed with MS09-066.

For customers with PCI Compliance requirements who address their compliance needs first, step one is to inventory your Cardholder Data Environments to see which versions of Windows you’re running. If the only Windows versions in your Cardholder Data Environments are XP and Server 2003 (arguably the most common combination in Retail and Financial Services production environments), you can focus your first stage compliance efforts on MS09-065 in preparation for your Quarterly ASV scans. All 5 of the other updates are not applicable to PCI ASV scanning if you are only running XP and Server 2003.

- MS09-063 only affects Vista and Server 2008 (does not affect XP or Server 2003)
- MS09-064 only affects Windows 2000 (does not affect XP or Server 2003)
- MS09-066 is a Denial of Service (DoS does not affect PCI Compliance)
- MS09-067 only affects Office and PCI Approved Scanning Vendors do not assess local vulnerabilities (i.e. require credentials for detection)
- MS09-068 only affects Office and PCI Approved Scanning Vendors do not assess local vulnerabilities (i.e. require credentials for detection)

Certainly these other issues should be addressed as quickly as possible, as compliance with standards such as PCI DSS are a subset of your overall Security and Compliance programs. Nevertheless, we hope this guidance helps you to prioritize your PCI Compliance efforts within your overall Security Program.

Post Your Comment

Time for this month’s summary of the latest Microsoft Security updates …

13 advisories, with 34 vulnerabilities covered. Here’s the breakdown:

MS09-050: Rated Critical. Potential Remote Code Execution and Denial of Service in SMBv2, covering 3 vulnerabilities: CVE-2009-2526 (Infinite Loop DoS), CVE-2009-2532 (Command Value Remote Code Exec), and CVE-2009-3103 (Negotiation Remote Code Exec). Important to note that this one was listed as a DoS on NVD while Metasploit and others were insisting that it was Remote Code Execution. Turns out the folks at Metasploit were right.

MS09-051: Rated Critical. Potential Remote Code Execution in Media Runtime, covering 2 vulnerabilities: CVE-2009-0555 (Voice Sample Rate), and CVE-2009-2525 (Heap Corruption). The Windows Media Audio Voice components in DirectShow and Voice Decoder on Vista/Server 2008 are affected. If you’re running DirectShow, Vista, or Server 2008 to any reasonable degree, get them patched … this one was active before today. If you’re not running these technologies to a large degree in your environment, this can take a bit of a back seat on such a busy month.

MS09-052: Rated Critical. Potential Remote Code Execution in Windows Media Player 6.4 (affecting Windows 2000/XP/Server 2003 only), covering 1 vulnerability: CVE-2009-2527. I don’t see this being on the top of sysadmin’s priority lists this month.

MS09-053: Rated Important. Potential Remote Code Execution and Denial of Service in FTP Service for IIS, covering 2 vulnerabilities: CVE-2009-2521 (DoS), and CVE-2009-3023 (RCE and DoS). Important to note that there is only potential for Remote Code Execution on IIS 5.0 with FTP Service 5.0; all other combinations are cited as DoS only.

MS09-054: Rated Critical. Potential Remote Code Execution; Cumulative update for IE, covering 4 vulnerabilities: CVE-2009-1547 (data stream header corruption), CVE-2009-2529 (html component handling), CVE-2009-2530 (uninitialized memory corruption), and CVE-2009-2531 (also uninitialized memory corruption). Important to note that this is a cumulative IE update, meaning that it replaces MS09-034 and odds are it will be replaced within the next 2 months.

MS09-055: Rated Critical. Potential Remote Code Execution addressed with a Cumulative Security Update of ActiveX Kill Bits, covering 1 vulnerability: CVE-2009-2493. This one is only moderately interesting because the ActiveX controls were compiled using the vulnerable ATL.

MS09-056: Rated Important. Potential Spoofing in Windows CryptoAPI, covering 2 vulnerabilities: CVE-2009-2510 (Null Truncation in X.509 Common Name), and CVE-2009-2511 (Integer Overflow in X.509 Object Identifiers). The null truncation vulnerability is the one that was discussed by Moxie Marlingspike and Dan Kaminsky this summer at Blackhat and Defcon. It’s a big deal and worthy of attention, but again not at the top of the list straight away on a month like this.

MS09-057: Rated Important. Potential Remote Code Execution in Indexing Service, covering 1 vulnerability: CVE-2009-2507 (Memory corruption). This is another ActiveX related issue and affects Windows 2000, XP, and Server 2003. Vista, Server 2008, and Windows7 are not affected.

MS09-058: Rated Important. Potential Elevation of Privilege in Windows kernel, covering 3 vulnerabilities: CVE-2009-2515 (Integer Underflow), CVE-2009-2516 (NULL Pointner Dereference), and CVE-2009-2517 (Exception Handler). An Elevation of Privilege vulnerability is not going to get a lot of attention this month, but the NULL Pointer Dereference issue is broad enough to get this on your test and patch schedule.

MS09-059: Rated Important. Potential Denial of Service in LSASS on just about every Windows Operating System released in the last 8 years, covering 1 vulnerability: CVE-2009-2524 (Integer Overflow). Improper handling of NTLM authentication request malformed packets could crash the LSASS service and force a restart.

MS09-060: Rated Critical. Potential Remote Code Execution and Information Disclosure in Outlook and Visio, covering 3 vulnerabilities: CVE-2009-0901 (ATL Uninitialized Object), CVE-2009-2493 (ATL COM Initialization), and CVE-2009-2495 (ATL Null String). This one continues the ATL saga and it is interesting to watch from the outside as Microsoft chews through their own code, compiled on vulnerable libraries. There will be more of these … ATL is not finished yet.

MS09-061: Rated Critical. Potential Remote Code Execution in .NET CLR, covering 3 vulnerabilities: CVE-2009-0090 (Pointer Verification), CVE-2009-0091 (Type Verification), and CVE-2009-2497 (CLR). Silverlight 2 is also affected; .NET framework 3.0 and higher and Silverlight 3 are not affected.

MS09-062: Rated Critical. Potential Remote Code Execution on just about everything Microsoft has ever shipped. Seriously, it would be easier to list technologies that this doesn’t affect. 8 vulnerabilities covered with this monster, mostly with GDI+: CVE-2009-2500 (WMF Integer Overflow), CVE-2009-2501 (PNG Heap Overflow), CVE-2009-2502 (TIFF Buffer Overflow), CVE-2009-2503 (TIFF Memory Corruption), CVE-2009-2504 (.NET API), CVE-2009-3126 (PNG Integer Overflow), CVE-2009-2528 (Memory Corruption), and CVE-2009-2518 (Office BMP Integer Overflow).

The breadth of this one looks more like a Service Pack than a Security Update, affecting everything from Windows versions, Office components, Visual Studio, and Forefront Client Security, to MS SQL Server. Start with Server Operating Systems including Domain Controllers, Internet-facing systems, and SQL Server boxes – then work your way down the list.

This one will take weeks or even months to test and deploy in larger environments, so prioritizing by most critical assets within this update will be key to reducing risk as quickly and effectively as possible.

As always, Happy patching!!

Post Your Comment

  • October 08th, 2009
  • Comments Off

October Microsoft Patch Tuesday Preview

Wow, because the number of bulletins affecting the number of Windows versions is pretty staggering.  Windows is taking the most lumps this month.

 

Wow, because Windows7 makes its debut in the monthly dance with 5 updates (although only the IE update is critical)

 

Wow, because Bulletin 13 alone affects the following products across the Microsoft universe:
- Windows 2000 SP4
- Windows XP (SP2 and SP3)
- Windows Server 2003 SP2
- Windows Vista & Vista SP1
- Windows 2008
- Office XP
- Office 2003
- Office 2007
- Visio 2002 SP2
- Project 2002 SP1
- 9 different Office viewers
- Compatibility Packs for Office 2007 file formats
- Expression Web
- Groove 2007
- Works 8.5
- SQL Server 2000 Reporting Services
- SQL Server 2005
- Visual Studio .NET 2005, VS2005, VS2008 (no severity rating)
- Visual FoxPro 8 and 9 (no severity rating)
- Report Viewer 2005 and 2008 – Redistributable Package
- Platform SDK – Redistributable (no security ratng)
- Forefront Client Security

 

And finally Wow, because the lack of customer adoption for new Microsoft Operating Systems saved customers and Microsoft from deep, deep SMB v.2 pain.

 

We’ll have more information for you when the advisories come out on Tuesday.

Post Your Comment

Five advisories, with eight vulnerabilities covered. Here’s the breakdown:

MS09-045: Rated Critical. Potential Remote Code Execution in JScript 5.1 on Microsoft Windows 2000 SP4, JScript 5.6/5.7/5.8 on all supported Windows versions except Windows 7 and Server 2008 R2, covering 1 vulnerability: CVE-2009-1920. Important to note that 5.8 is only affected if IE8 is installed and Server 2003/2008 are safe with Enhanced Security Configuration in place.

MS09-046: Rated Critical for XP and Windows 2000; Moderate for Server 2003. Potential Remote Code Execution in DHTML Editing Component ActiveX Control in Microsoft Windows xxx, covering 1 vulnerability: CVE-2009-2519. If this update cannot be applied right away, you can set a kill bit for IE to disable instantiation of the DHTML ActiveX control COM object.

MS09-047: Rated Critical. Potential Remote Code Execution in Windows Media, affecting all Windows versions except for Windows 7 and Itanium based systems, covering 2 vulnerabilities: CVE-2009-2498 and CVE-2009-2499. This is the type of update that we’ve become used to with Microsoft’s Media updates in recent years.

MS09-048: Rated Critical. Potential Remote Code Execution and Denial of Service in TCP/IP affecting Windows 2008, Vista, Server 2003 and 2000, covering 3 vulnerabilities: CVE-2009-1926 (orphaned connections DoS), CVE-2009-4609 (zero window size DoS), and CVE-2009-1925 (timestamps code execution).

MS09-049: Rated Critical. Potential Remote Code Execution in Wireless LAN AutoConfig Service, affecting Windows Vista and Server 2008, covering 1 vulnerability: CVE-2009-1132. This is a vulnerability in the parsing of wireless frames when received by a wireless interface. Systems without active wireless cards are not affected.

This is a drastic departure from last month. Recommend updating all of these, with initial priority on MS09-045 (JScript) and MS09-048 (TCP/IP).

As always, Happy patching!!

Post Your Comment

Sheldon here, with a quick summary of this month’s Microsoft Security updates …

6 advisories, with 9 vulnerabilities covered. Here’s the breakdown:

MS09-028: Rated Critical. Potential Remote Code Execution in Microsoft DirectShow. This one has been public for a little while and the advisory covers 3 vulnerabilities: CVE-2009-1537, CVE-2009-1538, and CVE-2009-1539. Important to note that this is focused on DirectShow’s interoperability with QuickTime.

MS09-029: Rated Critical. Potential Remote Code Execution in Embedded OpenType Font Engine, covering 2 vulnerabilities: CVE-2009-0231 (Heap Overflow) and CVE-2009-0232 (Integer Overflow). Important to note that this affects Operating Systems across the Windows spectrum, including the Windows 7 Beta.

MS09-030: Rated Important. Potential Remote Code Execution in Microsoft Office Publisher. Single vulnerability: CVE-2009-0566, affecting Microsoft Office Publisher 2007 SP1 only.

MS09-031: Rated Important. Elevation of Privilege in Microsoft ISA Server 2006. Single vulnerability: CVE-2009-1135. Important to note on this one that it only affects ISA Server when configured with Radius OTP (One Time Password). The vulnerability is essentially a bypass of OTP. Given the Security use case(s) for ISA Server, this one is extremely important in environments where Radius OTP is in use.

MS09-032: Rated Critical. This is the one that everyone has been talking about (and I’ll talk a little more about it at the end of the roundup). Cumulative Security Update of ActiveX Kill Bits. Single vulnerability: CVE-2008-0015 (yes, that’s *2008* for those who haven’t had an Internet connection for the last little while). This is certainly the highest profile update this month and should be applied as quickly as possible, given active attacks in the wild.

MS09-033: Rated Important. Elevation of Privilege in Virtual PC and Virtual Server. Single vulnerability: CVE-2009-1542. Important to note that Windows Server 2008 Hyper-V, Virtual PC and XP Mode on Windows 7, and implementations using HAV are not vulnerable.

Now for a short blurb on MS09-032 …

There has been much debate about the time it has taken for Microsoft to address this update. Several people have asked me why it took Microsoft so long to address the issue, and I keep coming back to the same conclusion: process.

The response so far has centered around the number and scope of issues that have been included in this update, reaching beyond the original issue that was disclosed to Microsoft more than a year ago. I do applaud Microsoft’s efforts to address all issues that were uncovered during their investigation and I do appreciate the diligence that goes into ensuring that customers are not impacted by a Security update. At the same time, I do not understand holding back an update for the original issue while updates were in the works for the additional problems.

Microsoft has instituted a pretty mature, repeatable process for superceding their updates, allowing them to address a particular, critical issue and then replacing that update with a more comprehensive patch. As a matter of fact, MS09-032 replaces MS08-032 – another ActiveX Kill Bit update for Microsoft Speech API. With MS09-032, history may show that Microsoft missed the opportunity to leverage its own processes. Their approach to this issue is equivalent to leaving a gaping hole in a dyke while you formulate a plan to fill a dozen other cracks. Everyone is best served by stopping the flood while investigating the drips.

I’m not one of the people targeting Microsoft for the way they handled this update, but I will be watching closely to see if they learned anything from this. With any luck, they will prioritize issues in the future and balance comprehensive coverage with responsiveness. You can do both and they already have a process to do so.

Post Your Comment