{"id":166160,"date":"2024-07-25T14:54:06","date_gmt":"2024-07-25T14:54:06","guid":{"rendered":"https:\/\/securityaffairs.com\/?p=166160"},"modified":"2024-07-25T14:54:08","modified_gmt":"2024-07-25T14:54:08","slug":"docker-engine-critical-flaw","status":"publish","type":"post","link":"https:\/\/securityaffairs.com\/166160\/hacking\/docker-engine-critical-flaw.html","title":{"rendered":"Critical bug in Docker Engine allowed attackers to bypass authorization plugins"},"content":{"rendered":"
<\/div>\n

A critical flaw in some versions of Docker Engine can be exploited to bypass authorization plugins (AuthZ) under specific circumstances.<\/gwmw><\/h2>\n\n\n\n

A vulnerability, tracked as CVE-2024-41110<\/strong><\/a> (CVSS score of 10.0), in certain versions of Docker Engine can allow an attacker to bypass authorization plugins (AuthZ)<\/a> under specific circumstances. <\/p>\n\n\n\n

“An attacker could exploit a bypass using an API request with Content-Length set to 0, causing the Docker daemon to forward the request without the body to the AuthZ plugin, which might approve the request incorrectly.” reads the advisory<\/a> published by the Moby Project maintainers. “Using a specially-crafted API request, an Engine API client could make the daemon forward the request or response to an authorization plugin<\/a> without the body. In certain circumstances, the authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it.”<\/em><\/p>\n\n\n\n

A flaw that was discovered in 2018 allowed attackers to bypass authorization (AuthZ) plugins in Docker Engine using crafted API requests, potentially leading to unauthorized actions, including privilege escalation. The vulnerability was addressed with the release of Docker Engine v18.09.1, but it was not included in subsequent major versions, causing a regression. This issue does not affect Docker EE v19.03.x or any version of Mirantis Container Runtime. <\/p>\n\n\n\n

The vulnerability was discovered in April 2024 and has been addressed with the release of versions 23.0.14 and 27.1.0 in July 23, 2024. Below is the list of versions of Docker Engine that are impacted if the AuthZ plugin is used:<\/p>\n\n\n\n