Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   ArcGIS Vendors:   ESRI
ArcGIS Desktop User Warning Byass Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1027170
SecurityTracker URL:
CVE Reference:   CVE-2012-1661   (Links to External Site)
Date:  Jun 13 2012
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Description:   A vulnerability was reported in ArcGIS Desktop. A remote user can cause arbitrary code to be executed on the target user's system.

A remote user can create a specially crafted map (.mxd) file that, when loaded by the target user, will bypass a user code execution warning and execute arbitrary embedded VBA code on the target system. The code will run with the privileges of the target user.

ArcMap 9 is also affected.

The original advisory is available at:

Boston Cyber Defense reported this vulnerability.

Impact:   A remote user can create a file that, when loaded by the target user, will execute arbitrary code on the target user's system.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Access control error
Underlying OS:  Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  [Full-disclosure] CVE-2012-1661 - ESRI ArcMap arbitrary code execution via crafted map file.


Opening a specially crafted mxd file will execute arbitrary
code without prompting and without a crash of the application.
This is due to a flaw in the programs ability to prompt a user
before executing embedded VBA. Mxd files are not filtered by
email systems so this allows a remote attacker to trick a user
into opening a map file via email and unknowingly gain control
over their system.

Versions affected (maybe more):

ArcMap 9

ArcGIS Desktop 10
Release Version: 10.0
Product Version:
ArcGIS Service Pack: 1 (build

ArcGIS Desktop 10
Release Version: 10.0
Product Version:
ArcGIS Service Pack: 2 (build

Proof of concept:

If the following macro is implemented in the project
the Shell statements will be executed when the
document is opened without prompt.

Private Function MxDocument_OpenDocument() As Boolean
  Shell "calc.exe", vbNormalFocus
  Shell "cmd /c start",
End Function

Video at site:

Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia -

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, LLC