Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-41110 PoC — Moby authz zero length regression

Source
Associated Vulnerability
Title:Moby authz zero length regression (CVE-2024-41110)
Description:Moby is an open-source project created by Docker for software containerization. A security vulnerability has been detected in certain versions of Docker Engine, which could allow an attacker to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low. Using a specially-crafted API request, an Engine API client could make the daemon forward the request or response to an authorization plugin 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. A security issue was discovered In 2018, where an attacker could bypass AuthZ plugins using a specially crafted API request. This could lead to unauthorized actions, including privilege escalation. Although this issue was fixed in Docker Engine v18.09.1 in January 2019, the fix was not carried forward to later major versions, resulting in a regression. Anyone who depends on authorization plugins that introspect the request and/or response body to make access control decisions is potentially impacted. Docker EE v19.03.x and all versions of Mirantis Container Runtime are not vulnerable. docker-ce v27.1.1 containes patches to fix the vulnerability. Patches have also been merged into the master, 19.03, 20.0, 23.0, 24.0, 25.0, 26.0, and 26.1 release branches. If one is unable to upgrade immediately, avoid using AuthZ plugins and/or restrict access to the Docker API to trusted parties, following the principle of least privilege.
Description
CVE-2024-41110  docker AuthZ exploit
Readme
# CVE-2024-41110 PoC 
CVE-2024-41110  docker AuthZ exploit - get all docker containers on target

>[!warning] The author is not responsible for any harm made by this exploit. use in educational purposes only.

## Installation

Download with golang:

```bash
git clone https://github.com/secsaburo/CVE-2024-41110-
cd CVE-2024-41110-
go build -o docker_poc exploit.go 
```

## Usage

Run:

```bash
./docker_poc -host=127.0.0.1:2347
```
File Snapshot

[4.0K] /data/pocs/a127cf8fb0c072e5e198b3db6e442827cbfa4a9f ├── [1.4K] exploit.go ├── [ 186] go.mod ├── [ 467] go.sum ├── [4.0K] pkg │   └── [4.0K] intr │   ├── [ 334] dockerapi.go │   ├── [ 346] http.go │   ├── [ 260] httpx.go │   ├── [ 209] ipc.go │   ├── [ 376] request.go │   ├── [ 110] supp.go │   └── [1.1K] test.go └── [ 434] README.md 2 directories, 11 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →