
これは、SSLサーバーがクライアント認証を必要とするかどうかを判定する検出スクリプトです。 クライアント認証が必須の場合、OpenSSL 3.0.0〜3.0.6 ベースのサーバーは CVE-2022-3602 と CVE-2022-3786 の両方に対して脆弱です。
usage: openssl_cert_detector.py [-h] [-t TARGET] [-T TARGETS]
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Single IP with port separate by colon. Example: -t 192.168.0.3:3000
-T TARGETS, --targets TARGETS
List of IP and port separate by colon and separated by new line in text file
単一のIPとポートでopensslの脆弱性を確認する場合
python openssl_cert_detector.py -t 192.168.0.3:3000
テキストファイル内の改行区切りでIPとそのポートのリストを確認する場合
python openssl_cert_detector.py -T check.txt