Home Page | Skip to Navigation | Skip to Content | Skip to Search | Skip to Footer

Microsoft Visual Basic for Applications Insecure Library Loading (MS12-046; CVE-2012-1854)

Subscribe

Check Point Reference: CPAI-2012-263
Date Published:
Severity:
Source: Microsoft Security Bulletin MS12-046
Industry Reference(s): CVE-2012-1854
Protection Provided by: Security Gateway
  • R70
  • R71
  • R75
IPS-1
  • IPS-1
  • IPS-1 NGX R65
Who is Vulnerable?
Microsoft Office 2003 Service Pack 3
Microsoft Office 2007 Service Pack 2
Microsoft Office 2007 Service Pack 3
Microsoft Visual Basic for Applications
Microsoft Visual Basic for Applications SDK
Vulnerability Description
A remote code execution vulnerability has been reported in Microsoft Visual Basic for Applications (VBA).
Update/Patch Available
Apply patches from: MS12-046
Vulnerability Details
The vulnerability is due to an error in the way Microsoft VBA restricts the path used for loading external libraries. A remote attacker could exploit this issue by enticing a user to open a legitimate Microsoft Office-related file (such as a .docx file) that is located in the same network directory as a specially crafted dynamic link library (DLL) file. Successful exploitation will allow an attacker to execute arbitrary code on an affected system, in the security context of the logged on user.

Protection Overview
This protection will detect and block the transferring of malicious DLL files over a network share.

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, Protection tab and select the version of your choice.

To configure the defense, select your product from the list below and follow the related protection steps.

Security Gateway R75 / R71 / R70

How Can I Protect My Network?

  1. In the IPS tab, click Protections and find the Microsoft Visual Basic for Applications Insecure Library Loading (MS12-046) protection using the Search tool and Edit the protection's settings.
  2. Install policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:
Attack Name: Web Client Enforcement Violation
Attack Information: Microsoft Visual Basic for Applications Insecure Library Loading (MS12-046)

IPS-1 NGX R65 & IPS-1

How Can I Protect My Network?

  1. In the IPS-1 Policy Manager, click on the Protection tab.
  2. In the Protection tree, click Application Intelligence > Badfiles , and select the Filename Recorder protection group.
  3. Click "Microsoft Visual Basic for Applications Insecure Library Loading (MS12-046)".
  4. In the configuration pane, under Settings, check Active.
  5. Click on Install Policy.

How Do I Know if My Network is Under Attack?
Upon attack, the following entries will be logged:

Alert Name: Filename Recorder.
Description: "Microsoft Visual Basic for Applications Insecure Library Loading (MS12-046)".