Visual Studio Remote Code Execution Vulnerability (CVE-2019-0546)
The Visual Studio C++ compiler mishandles certain combinations of C++ constructs, allowing an attacker to run arbitrary code in the context of the current user. Exploitation requires a user to open a specially crafted file compiled with an affected version.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Visual Studio when the C++ compiler improperly handles specific combinations of C++ constructs. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Exploitation of the vulnerability requires that a user open a specially crafted file which was compiled with an affected version of Visual Studio. In an email attack scenario, an attacker could exploit the vulnerability by sending a specially crafted project, or resource file, to the user and convince the user to open the file. The security update addresses the vulnerability by correcting how the Visual Studio C++ compiler handles certain C++ constructs.
Visual Studio
Visual Studio
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 the C++ compiler generates incorrect code for certain combinations of C++ constructs, leading to memory corruption or unintended behaviour.
Impact
An attacker could run arbitrary code as the current user; if that user is an administrator, the attacker could take full control of the system.
What the attacker needed
User opens a specially crafted file; file compiled with affected Visual Studio
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.
This is a flaw in a programming tool (the C++ compiler) that can let an attacker run their own code on your computer. The attacker has to trick you into opening a file that was built with the flawed compiler. If you have administrator rights, the attacker could take over the whole system.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.