iPolicy Networks Security Advisory
 

Microsoft CAB File Cabview Corruption Validation Vulnerability

Date Discovered: 04/13/2010
Severity: High
Operating Systems Affected: Microsoft Windows 2000 SP4
Microsoft Windows XP SP 2 & SP 3
Microsoft Windows XP Pro x64 Edition SP 2
Microsoft Windows Server 2003 SP 2
Microsoft Windows Server 2003 x64 SP 2
Microsoft Windows Server 2003 SP2 Itanium
Microsoft Windows Vista
Microsoft Windows Vista SP 1 & SP2
Microsoft Windows Vista x64 
Microsoft Windows Vista x64 SP 1 & SP2
Microsoft Windows Server 2008 32-bit 
Microsoft Windows Server 2008 32-bit SP 2
Microsoft Windows Server 2008 x64
Microsoft Windows Server 2008 x64SP 2
Microsoft Windows Server 2008 Itanium
Microsoft Windows Server 2008 SP2 Itanium
Microsoft Windows 7 32-bit 
Microsoft Windows 7  x64
Microsoft Windows Server 2008 R2 x64
Microsoft Windows Server 2008 R2 Itanium
Application Affected: Cabinet File Viewer Shell Extension 5.1
Cabinet File Viewer Shell Extension 6.0
Type: Remote
Identifiers: CVE-2010-0487
Synopsis
Microsoft Windows Authenticode Signature Verification function used for cabinet (.cab) file formats is reported prone to remote code execution vulnerability. The flaw is due to improper sanitization of manipulated signed cabinet file.
Recommended Actions
Update the patches as guided by vendor at :
http://www.microsoft.com/technet/security/bulletin/ms10-019.mspx
Threat Analysis
A remote code execution vulnerability exists in the Windows Authenticode Signature Verification function used for cabinet (.cab) file formats. An attacker could exploit the vulnerability by modifying an existing signed cabinet file to manipulate unverified portions of the signature and file in such a way as to add malicious code to the file without invalidating the signature.

A flaw exists within the CAB subject interface package (SIP) which is used for verifying Authenticode signatures embedded in CAB files via the WinVerifyTrust API. Successful exploitation of the vulnerability could allow an attacker to execute arbitrary remote code and take complete control of the victim machine.
References

http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0487

Write-up by: Anupam Kumar