Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-00816
- Vendor: TACERT台灣學術網路危機處理中心
- Title: 國立蘭陽女中 檔案系統 IDOR 漏洞導致任意檔案下載
- Introduction: 該系統的 openfid.php 存在 IDOR 漏洞,允許未經授權存取系統內所有上傳檔案
處理狀態
目前狀態
公開
Last Update : 2025/08/16
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2025/07/24 20:22:22 : 新提交 (由 肉 更新此狀態)
- 2025/07/28 15:54:22 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/08/06 17:03:21 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/08/06 17:03:21 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/08/08 16:00:28 : 已修補 (由 組織帳號 更新此狀態)
- 2025/08/16 03:00:10 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2025-00816
- 通報者:kevin2758 (肉)
- 風險:中
- 類型:不安全的直接存取物件 (Insecure Direct Object References, IDOR)
參考資料
攻擊者可經由該漏洞取得系統中的其他使用者的資料或是系統檔案。
OWASP Top 10 - 2013 A4 - Insecure Direct Object References
https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References
Insecure Direct Object Reference Prevention Cheat Sheet
https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Insecure_Direct_Object_Reference_Prevention_Cheat_Sheet.md
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
Insecure Direct Object Reference Prevention Cheat Sheet
https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Insecure_Direct_Object_Reference_Prevention_Cheat_Sheet.md
OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://www.es.ncku.edu.tw/esncku/zh/openfid.php?fid=[1-4848]
可以用Burp suite intruder,目前實測範圍大概到4848,後面都file not found
可以用Burp suite intruder,目前實測範圍大概到4848,後面都file not found
敘述
漏洞詳情
該校檔案下載系統的 openfid.php 存在IDOR漏洞,攻擊者可透過修改 id 參數存取其他檔案。
重現步驟&詳情
- 存取 https://www.lygsh.ilc.edu.tw/resource/openfid.php?id=3857
- 目錄有確實 403 forbidden https://www.lygsh.ilc.edu.tw/resource/
- 但是可透過修改id參數即可存取所有檔案
成功的數字payload:
失敗的數字payload:
影響
- 未授權使用者可下載系統內任意檔案
修補建議
1. 實施適當的存取控制機制,驗證使用者權限
2. 修正檔案不存在(2103)回應,確實阻擋未授權存取
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。