Lucene search
K

Microsoft Excel - OLE Arbitrary Code Execution Exploit

🗓️ 18 Oct 2017 00:00:00Reported by Eduardo Braun PradoType 
zdt
 zdt
🔗 0day.today👁 545 Views

Microsoft Excel OLE Arbitrary Code Execution Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2017-0199
24 Apr 201723:44
githubexploit
GithubExploit
Exploit for CVE-2017-0199
15 Aug 202207:15
githubexploit
GithubExploit
Exploit for CVE-2017-0199
18 Apr 201706:33
githubexploit
GithubExploit
Exploit for CVE-2017-8570
8 Apr 201810:07
githubexploit
GithubExploit
Exploit for CVE-2017-0199
23 Apr 201713:58
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
13 Sep 201715:24
githubexploit
GithubExploit
Exploit for CVE-2022-30190
21 Jan 202611:02
githubexploit
GithubExploit
Exploit for CVE-2017-0199
17 Apr 201708:10
githubexploit
GithubExploit
Exploit for CVE-2017-0199
22 Apr 201704:01
githubexploit
0day.today
Microsoft Office / WordPad Remote Code Execution Vulnerability
16 Apr 201700:00
zdt
Rows per page
Title: MS Office Excel (all versions) Arbitrary Code Execution Vulnerability
 
Date: September 30th, 2017.
 
Author: Eduardo Braun Prado
 
Vendor Homepage: http://www.microsoft.com/
 
Software Link: https://products.office.com/
 
Version: 2007,2010,2013,2016  32/64 bits (x86 and x64)
 
Tested on: Windows 10/8.1/8.0/7/Server 2012/Server 2008/Vista (X86 and x64)
 
CVE: 2017-0199
 
 
Description:
 
MS Excel contains a remote code execution vulnerability upon processing OLE objects. Although this is a different issue from the 
MS Word HTA execution vulnerability, it has been patched together, 'silently'. By performing some tests from the Word HTA PoC posted
on exploit-db[dot]com, it´s possible to exploit it through Excel too, however the target would need to either accept a security warning
regarding external links or double click inside the Excel window, same applies for Powerpoint, so I guess this is the reason, Word caught
the attention and no exploit PoC was made available to other Office apps.
 
This vulnerability exists in the way Excel handles parameters passed to the "DDEService" attribute of links, leading to the search for a 
program to display it. As it does not impose restrictions on what program is going to be executed, for instance, only programs located in the
Office install directory, it is possible to invoke arbitrary local programs with parameters, leading to system compromise.
Since Excel blocks automatic update of linked files, the target must be tricked into double clicking anywhere inside the document. 
(The linked object occupies basicly the whole document window). Without the patch applied no warning/prompt is shown;
With the patch a prompt is shown asking if it´s ok to run 'xxxx.exe', where 'xxxx.exe' can have arbitrary names as long as it´s at most 8 
chars long, so we could still fake/spoof it as another Office app (the app name cannot be the same of the legitimate, eg. 'Excel').
 
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/42995.zip

#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation