网站地图    收藏   

主页 > 后端 > 网站安全 >

07073游戏网SQL注射漏洞及修复 - 网站安全 - 自学

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

[导读] http://sj.07073.com/?m=newsid=152存在SQL注入Time: 2012-6-21 2:44pm Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version......

http://sj.07073.com/?m=news&id=152
存在SQL注入
 
Time: 2012-6-21 2:44pm Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' limit 0,1' at line 1 Errno: 1064 Script: /index.php MySQL Query Sql Error
 
 
漏洞证明:
 
 

 
 
http://cosplay.07073.com/?m=cosPlay&id=954
 
Time: 2012-6-21 2:53pm Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' and `title`!='' order by id asc limit 0,1' at line 1 Errno: 1064 Script: /index.php MySQL Query Sql Error
 
Time: 2012-6-21 2:57pm Error: Unknown column '95aaaaaaaaaaaaaaaaaaaaa' in 'where clause' Errno: 1054 Script: /index.php MySQL Query Sql Error
 
 
 
作者  zhk
 
http://fahao.07073.com/?action=subscribeinfo&id=46'
 
 
 
Time: 2012-6-21 4:29pm Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' limit 0,1' at line 1 Errno: 1064 Script: /index.php Sql: select * from `bbs073`.`uchome_gift_advance` where id=46\' limit 0,1
[0129]     Code:Object(Db_MysqlClass)->Function(errorlog); file:/www/wwwroot/fahao2.07073.com/lib/db/mysqlclass.php
[0141]     Code:Object(Db_MysqlClass)->Function(query); file:/www/wwwroot/fahao2.07073.com/lib/db/mysqlclass.php
[1788]     Code:Object(Db_MysqlClass)->Function(get_one); file:/www/wwwroot/fahao2.07073.com/app/controller/index.php
[0090]     Code:Object(Controller_Index)->Function(actionsubscribeinfo); file:/www/wwwroot/fahao2.07073.com/lib/dispatcher.php
[0057]     Code:Object(dispatcher)->Function(call); file:/www/wwwroot/fahao2.07073.com/lib/dispatcher.php
[0024]     Code:Object(dispatcher)->Function(run); file:/www/wwwroot/fahao2.07073.com/www/index.php
MySQL Query Sql Error
 
作者zeracker
 
 
修复方案:
 
过滤参数

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

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

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

添加评论