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

admin 2017年5月9日16:35:36评论672 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"]));

即可

特别标注: 本站(CN-SEC.COM)所有文章仅供技术研究,若将其信息做其他用途,由用户承担全部法律及连带责任,本站不承担任何法律及连带责任,请遵守中华人民共和国安全法.
  • 我的微信
  • 微信扫一扫
  • weinxin
  • 我的微信公众号
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年5月9日16:35:36
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                  LBS blog sql注射漏洞非官方补丁 's https://cn-sec.com/archives/49955.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: