WordPress Comment Rating 插件SQL注入和安全绕过漏洞


发布日期:2013-02-21
更新日期:2013-02-28

受影响系统:
WordPress Comment Rating Plugin 2.x
描述:
--------------------------------------------------------------------------------
BUGTRAQ  ID: 58201

WordPress Comment Rating可以在WordPress中的评论表单后面添加5星评论字段,使用户可以提交评论的同时进行评级。

Comment Rating 2.9.32没有正确验证投票请求,导致可对一个评论多次投票。也没有正确验证在"id"设置为有效的comment id、"action"设置为"add"或"subtract"、设置了"path"后,/wp-content/plugins/comment-rating/ck-processkarma.php的"X-Forwarded-For" HTTP报文头域,这将导致攻击者可以插入任意SQL代码以操控SQL查询操作。

<*来源:ebanyu
 
  链接:http://secunia.com/advisories/52348/
        http://www.exploit-db.com/exploits/24552/
*>

测试方法:
--------------------------------------------------------------------------------

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

http://www.example.com/wordpress/wp-content/plugins/comment-rating/ck-processkarma.php

建议:
--------------------------------------------------------------------------------
厂商补丁:

WordPress
---------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://wordpress.org/extend/plugins/comment-rating-field-plugin/

相关内容