Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-01401
- Vendor: 財團法人工業技術研究院
- Title: 工業技術研究院之智慧製造技術驗證場域網站存在任意下載弱點
- Introduction: 可透過網站提供的「ReadFile」服務下載任可已知名稱的現存檔案,包括原始碼、dll及web.config
處理狀態
目前狀態
公開
Last Update : 2026/01/17
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2025/11/11 15:26:52 : 新提交 (由 阿美 更新此狀態)
- 2025/11/12 11:05:07 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/11/12 11:34:08 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/11/12 11:34:08 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/11/12 11:34:09 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/01/09 16:40:50 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/01/17 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2025-01401
- 通報者:gmwa (阿美)
- 風險:高
- 類型:任意檔案下載 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://www.impps.org.tw/readfile?p=<資料夾名稱>&n=<檔案名稱>
敘述
1.此網站以 asp.net MVC框架開發,經測試,未存在Controllers目錄,推測廠商使用 預編譯方式部署,可降低原始碼外洩。
2.檢視網站原始碼 <div class="bgg" style="background-image:url(/ReadFile/?p=AdBanner&n=2c6a877dab0c48b2b509b09d26481954.jpg)"></div> ,發現以 ReadFile 功能存取網站資源,經測試 https://www.impps.org.tw/readfile?p=&n=../../bin/imppsapp.dll ,確實可下載編譯後的網站二進制內容(.dll)。
3.測試 https://www.impps.org.tw/readfile?p=&n=../../bin/web.config,亦下載,證明系統目錄未受保護。
4.再嘗試 https://www.impps.org.tw/readfile?p=&n=../../views/about/index.aspx ,也能下載View元件的原始檔。
修補建議
1. 透過資料夾權 限設定,限制機敏資料夾的存取權。
2. ReadFile服務應確實檢查 p參數及n參數的值是否合理,例如:不允許P參數是空值;不允許n參數使用目錄遍歷形式(即../../ ....)
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。