Exploit database

GH-d7cbe6fb5f210736ae454daf05ee7b2d

dicanio/cve-2021-44228-docker-example

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-44228

246 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files1

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

receiver/src/main/java/foo/bar/cve202144228evilreceiver/api/ReceiveEndpoint.java

Java · 668 bytes
package foo.bar.cve202144228evilreceiver.api;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.ws.rs.core.Response;

import static javax.ws.rs.core.Response.Status.OK;

@RequestMapping("/receiver")
@RestController
@Slf4j
public class ReceiveEndpoint {

    @PostMapping
    public Response receive(@RequestBody String body) {
        log.warn("Request Body: " + body);
        return Response.status(OK).build();
    }

}