Azure Stack Remote Code Execution Vulnerability (CVE-2019-1372)
Azure Stack failed to check the length of a buffer before copying memory to it, allowing an unprivileged function to execute code as NT AUTHORITY\system and escape the sandbox. The security update fixes this by ensuring Azure Stack sanitises user inputs.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists when Azure Stack fails to check the length of a buffer prior to copying memory to it. An attacker who successfully exploited this vulnerability could allow an unprivileged function run by the user to execute code in the context of NT AUTHORITY\system thereby escaping the Sandbox. The security update addresses the vulnerability by ensuring that Azure Stack sanitizes user inputs.
Azure
Azure
Microsoft
Microsoft
Customer Action Required
Yes
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 missing bounds check on a buffer copy, allowing memory corruption.
Impact
An attacker could execute code in the context of NT AUTHORITY\system, escaping the sandbox.
What the attacker needed
Unprivileged function run by the user
The fix
The security update addresses the vulnerability by ensuring that Azure Stack sanitises user inputs.
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.
A buffer is a fixed-size area of memory. If a program copies more data into it than it can hold without checking the size, an attacker can overwrite nearby memory and run their own code with high privileges. Here, a low-privilege user could break out of the sandbox and run code as the system account.
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.