
Proof of Concept für den Hashkollisions-Denial-of-Service-Angriff auf PHP und JAVA
Dieses Skript wurde von Christian Mehlmauer [email protected] geschrieben https://twitter.com/#!/_FireFart_
Quellcode online unter: https://github.com/FireFart/HashCollision-DOS-POC
Ursprünglicher PHP-Payloadgenerator entnommen aus https://github.com/koto/blog-kotowicz-net-examples/tree/master/hashcollision
http://www.ocert.org/advisories/ocert-2011-003.html CVE: Apache Geronimo: CVE-2011-5034 Oracle Glassfish: CVE-2011-5035 PHP: CVE-2011-4885 Apache Tomcat: CVE-2011-4858
erfordert Python 2.7
Beispiele: -) Eine einzelne Anfrage senden, auf die Antwort warten und die Antwort in output0.html speichern python HashtablePOC.py -u https://host/index.php -v -c 1 -w -o output -t PHP
-) Einen PHP-Server lahmlegen (500 Anfragen senden, ohne auf eine Antwort zu warten): python HashtablePOC.py -u https://host/index.php -v -c 500 -t PHP
-) Einen JAVA-Server lahmlegen (getestet mit Tomcat und Glassfish; 500 Anfragen senden, ohne auf eine Antwort zu warten, maximale POST-Datengröße 2MB): python HashtablePOC.py -u https://host/index.jsp -v -c 500 -t JAVA -m 2
Changelog: v6.0: Javapayloadgenerator hinzugefügt v5.0: Maximale Payload-Größe als Parameter definiert v4.0: PHP-Collision-Chars zur Laufzeit ermitteln v3.0: Payload aus Datei laden v2.0: Unterstützung für https hinzugefügt, Umstellung auf HTTP 1.1 v1.0: Erste Veröffentlichung