header-logo
Suggest Exploit
vendor:
ArcGIS Desktop
by:
Joseph Cohen
N/A
CVSS
N/A
Arbitrary Code Execution
94
CWE
Product Name: ArcGIS Desktop
Affected Version From: ArcMap 9
Affected Version To: ArcGIS Desktop 10 Release Version: 10.0 Product Version: 10.0.2.3200 ArcGIS Service Pack: 2 (build 10.0.2.3200)
Patch Exists: YES
Related CWE: CVE-2012-1661
CPE: 2.3:a:esri:arcgis_desktop:10.0.2.3200
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2012

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.

Mitigation:

Users should be aware of the potential for malicious files to be sent via email and should not open any files from untrusted sources.
Source

Exploit-DB raw data:

=====
TITLE
=====

ESRI ArcMap Arbitrary Code Execution Via Crafted Map File

============
Description:
============

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: 10.0.1.2800
ArcGIS Service Pack: 1 (build 10.0.1.2800)

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

=================
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
http://www.cs.umb.edu/~joecohen/exploits/CVE-2012-1661.htm",
vbNormalFocus
End Function

Video at site:

http://www.cs.umb.edu/~joecohen/exploits/CVE-2012-1661