LBS blog sql注射漏洞非官方补丁 's

admin 2017年5月9日16:35:36评论677 views字数 428阅读1分25秒阅读模式
摘要

By:Neeao
site:Neeao.com打开:src_article.asp,找到:

input["log_id"]=func.checkInt(input["log_id"]);
if(!input["id"]){
strError=lang["invalid_parameter"];
}else{
// Check if the article exists
theArticle.load("log_id, log_authorID, log_catID","log_id="+input["id"]);
strError=false;
}

将其中的

theArticle.load("log_id, log_authorID, log_catID","log_id="+input["id"]);

修改为:

theArticle.load("log_id, log_authorID, log_catID","log_id="+func.checkInt(input["id"]));

即可

By:Neeao
site:Neeao.com

打开:src_article.asp,找到:

input["log_id"]=func.checkInt(input["log_id"]);
if(!input["id"]){
strError=lang["invalid_parameter"];
}else{
// Check if the article exists
theArticle.load("log_id, log_authorID, log_catID","log_id="+input["id"]);
strError=false;
}

将其中的

theArticle.load("log_id, log_authorID, log_catID","log_id="+input["id"]);

修改为:

theArticle.load("log_id, log_authorID, log_catID","log_id="+func.checkInt(input["id"]));

即可

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年5月9日16:35:36
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   LBS blog sql注射漏洞非官方补丁 'shttps://cn-sec.com/archives/49955.html

发表评论

匿名网友 填写信息