Document-property buffer overflow in Microsoft Visual Basic for Applications
CVE-2006-3649 is a buffer overflow in Microsoft Visual Basic for Applications (VBA) caused by insufficient validation of document properties supplied by a host application when opening a document. Unchecked parameters can overrun an allocated buffer and allow arbitrary code execution with the current user's rights. Affected products include VBA SDK versions 6.0, 6.2, 6.3, and 6.4; Office 2000 SP3; Office XP SP3; Project 2000 SR1; Project 2002 SP1; Access 2000 Runtime SP3; Visio 2002 SP2; and Works Suite 2004–2006. Exploitation requires user interaction with a crafted document or, in certain Outlook configurations, a crafted email. Exploitation had been reported when Microsoft released MS06-047 on August 8, 2006.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation executes arbitrary code with the same rights as the local user. If that user has administrative privileges, an attacker can take complete control of the system, install programs, read, modify, or delete data, and create accounts with full user rights. Workstations and terminal servers are primarily exposed; servers are also at increased risk when administrators interactively log on and run affected applications.
If you can’t patch tonight, do this now.
Until patched, avoid opening Office documents from untrusted sources or unexpected documents from otherwise trusted sources. Restricting untrusted documents blocks known attack vectors but does not correct the underlying flaw. Use accounts with limited privileges to reduce the consequences of exploitation. Disabling VBA macros where possible is an additional suggested precaution, but is not established as a complete workaround.
Patch, then assume compromise.
Apply the applicable Microsoft security update from MS06-047: KB920822 for Office 2000 SP3, Project 2000 SR1, and Access 2000 Runtime SP3; KB920821 for Office XP SP3, Project 2002 SP1, Visio 2002 SP2, and Works Suite 2004–2006; or KB923167 for VBA SDK 6.0, 6.2, 6.3, and 6.4. The update changes VBA parsing before data is passed to an allocated buffer. Office updates require Windows Installer 2.0 and the applicable service pack or service release. Verify successful installation, particularly after silent standalone VBA updates.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.