Colin Mc Hugo

0 %
Colin Mc Hugo
Security Engineer Manager & CEO at Quantum Infinite Solutions Group Ltd.

New Docker Container Escape Bug Affects Microsoft Azure Functions

January 28, 2021

Cybersecurity researcher Paul Litvak as we speak disclosed an unpatched vulnerability in Microsoft Azure Capabilities that might be utilized by an attacker to escalate privileges and escape the Docker container used for internet hosting them.

The findings come as a part of Intezer Lab‘s investigations into the Azure compute infrastructure.

Following disclosure to Microsoft, the Home windows maker is alleged to have “decided that the vulnerability has no safety affect on Perform customers, because the host itself remains to be protected by one other protection boundary in opposition to the elevated place we reached within the container host.”

password auditor

Azure Functions, analogous to Amazon AWS Lambda, is a serverless resolution that permits customers to run event-triggered code with out having to provision or handle infrastructure explicitly whereas concurrently making it potential to scale and allocate compute and sources based mostly on demand.

By incorporating Docker into the combination, it makes it potential for builders to simply deploy and run Azure Capabilities both within the cloud or on-premises.

Because the set off code is an occasion (e.g., an HTTP request) that’s configured to name an Azure Perform, the researchers first created an HTTP trigger to realize a foothold over the Perform container, utilizing it to search out sockets belonging to processes with “root” privileges.

From there, one such privileged course of related to a “Mesh” binary was recognized to comprise a flaw that might be exploited to grant the “app” consumer that runs the above Perform root permissions.

Whereas the Mesh binary in itself had little to no documentation to clarify its objective, Intezer researchers discovered references to it in a public Docker image, which they used to reverse engineer and obtain privilege escalation.

Within the closing step, the prolonged privileges assigned to the container (utilizing the “–privileged” flag) have been abused to escape the Docker container and run an arbitrary command on the host.

Intezer has additionally released a proof-of-concept (PoC) exploit code on GitHub to probe the Docker host surroundings.

“Situations like this underscore that vulnerabilities are typically out of the cloud consumer’s management,” Intezer Labs researchers stated. “Attackers can discover a manner inside by way of susceptible third-party software program.

“It’s important that you’ve safety measures in place to detect and terminate when the attacker executes unauthorized code in your manufacturing surroundings. This Zero Trust mentality is even echoed by Microsoft.”

Posted in SecurityTags:
Write a comment