CVE-2020-24264

Portainer 1.24.1 and earlier is affected by incorrect access control that may lead to remote arbitrary code execution

published March 16, 2021

CVSS
—
EPSS
4%
Percentile
90.7
In the wild
Unconfirmed
What it is

⚠️ A simple oversight could lead to remote code execution! Portainer 1.24.1 and earlier has a sneaky access control issue that could let attackers unleash chaos with a just few clever commands! 🔥 Think of it as a restaurant where the waitstaff only check orders from the customers, but forget to verify the kitchen's processes. If someone slips in a false order, they could cook up anything, even a dish that poisons customers with unexpected ingredients! This vulnerability allows an attacker to spawn a container with bind mounts, potentially granting them complete access to the Docker host machine. This means they could execute arbitrary code, steal sensitive data, or even take control of the entire system—an absolute nightmare for any organization!

Put simply

Think of it as a restaurant where the waitstaff only check orders from the customers, but forget to verify the kitchen's processes. If someone slips in a false order, they could cook up anything, even a dish that poisons customers with unexpected ingredients! The flaw arises because the access control checks for bind mounts are only enforced on the client side, failing to restrict the server-side operations effectively. This oversight enables attackers to exploit the system by escaping the container's limitations.

What to do

This vulnerability allows an attacker to spawn a container with bind mounts, potentially granting them complete access to the Docker host machine. This means they could execute arbitrary code, steal sensitive data, or even take control of the entire system—an absolute nightmare for any organization! To safeguard against this vulnerability, update Portainer to version 1.24.2 or later, where this issue is fixed. It's also wise to review your container configurations and enforce stricter security measures for bind mounts. You've got this! 🦸 By taking these steps, you'll be protecting your Docker environment and keeping it safe from sneaky attacks! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04116 · 90.7th percentile
Published
2021-03-16T14:42Z
EPSS history
Timeline
  • 16 MAR 14:42Z
    Portainer 1.24.1 and earlier is affected by incorrect access control that may lead to remote arbitrary code execution
    cvelistv5