Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-01402
- Vendor: 蔓達特藥品有限公司
- Title: 蔓達特藥品有限公司網站存在任意下載弱點
- Introduction: 可透過網站提供的「ReadFile」服務,下載任可已知名稱的現存檔案,包括原始碼、web.config及編譯後的 .dll
處理狀態
目前狀態
公開
Last Update : 2026/01/11
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2025/11/11 16:10:33 : 新提交 (由 阿美 更新此狀態)
- 2025/11/12 11:16:02 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/11/12 11:37:11 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/11/12 11:37:11 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/01/11 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2025-01402
- 通報者: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.mdtky.com.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.mdtky.com.tw/readfile?p=&n=../../web.config ,確實可下載系統檔案。
3.經檢視web.config內容,得知APP名稱為 drugmallApp,經由 https://www.mdtky.com.tw/readfile?p=&n=../../bin/drugmallApp.dll,亦下載編譯後的網站二進制內容(.dll)。
4.再嘗試 https://www.mdtky.com.tw/readfile?p=&n=../../views/about/index.aspx ,也能下載View元件的原始檔。
修補建議
1. 透過資料夾權 限設定,限制機敏資料夾的存取權。
2. ReadFile服務應確實檢查 p參數及n參數的值是否合理,例如:不允許P參數是空值;不允許n參數使用目錄遍歷形式(即../../ ....)
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。