Microsoft Excel Security Feature Bypass Vulnerability (CVE-2016-7266)
Microsoft Excel did not properly check registry settings when a user tried to run embedded content, so a crafted document could let an attacker run arbitrary commands. The attacker had to convince the user to open the document several times for the exploit to work.
Originally disclosed on Microsoft
Description
A security feature bypass vulnerability exists when Microsoft Excel improperly checks registry settings when an attempt is made to run embedded content. An attacker who successfully exploited the vulnerability could execute arbitrary commands. In a file-sharing attack scenario, an attacker could provide a specially crafted document file designed to exploit the vulnerability and then convince users to attempt to open the document multiple times. The update addresses the vulnerability by correcting how Microsoft Excel checks registry settings when a user attempts to open or execute embedded content.
FAQ
I have Microsoft Word 2010 installed. Why am I not being offered the 3128023 update? The 3128023 update only applies to systems running specific configurations of Microsoft Office 2010. Some configurations will not be offered the update. I am being offered this update for software that is not specifically indicated as being affected in the Affected Software and Vulnerability Severity Ratings table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Software table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Software table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335 . For a list of Microsoft Office products that an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update.
Microsoft Office
Microsoft Office
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a logic flaw in how Excel validated registry settings before allowing embedded content to execute, which could be bypassed by repeated attempts.
Impact
An attacker who convinced a user to open a crafted document multiple times could execute arbitrary commands on that user's machine.
What the attacker needed
Victim opens a crafted document; victim opens it multiple times
The fix
The update was fixed by correcting how Excel checks registry settings before opening or executing embedded content.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Excel documents can contain other files or programs inside them, called embedded content. Excel is meant to check a Windows setting (the registry) before letting that content run, but here it checked wrongly, so hidden commands could run on the victim's computer. The catch is the victim had to open the document more than once.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.