Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-01626
- Vendor: 輔仁大學學校財團法人輔仁大學
- Title: 輔仁大學醫學院公共衛生學系網站,存在任意檔案下載漏洞
- Introduction: 啊就...Arbitrary File Download漏洞
處理狀態
目前狀態
公開
Last Update : 2018/11/15
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2018/10/29 00:05:06 : 新提交 (由 癡情法王 更新此狀態)
- 2018/10/29 00:05:44 : 新提交 (由 癡情法王 更新此狀態)
- 2018/10/29 00:07:48 : 新提交 (由 癡情法王 更新此狀態)
- 2018/10/30 22:04:45 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/10/30 22:04:47 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/10/31 22:30:49 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/10/31 22:30:49 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/11/07 08:39:44 : 已修補 (由 組織帳號 更新此狀態)
- 2018/11/15 03:00:30 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-01626
- 通報者:RoRo (癡情法王)
- 風險:中
- 類型:任意檔案下載 (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://www.medph.url.tw/new/download.asp?filename=a&file=../../_config/db_include.asp
敘述
- 靜態網頁的部分是www.medph.fju.edu.tw,動態網頁的部分係iframe(內嵌)www.medph.url.tw的內容
- 網站不存在下載檢核機制、或檢核機制不夠完整,導致user可下載敏感資訊
- 例如可下載db_include.asp檔的程式原始碼,含有疑似Access檔的路徑資訊,不可不慎
修補建議
1. 過濾參數(例如:file),以白名單的方式限制範圍外的路徑或檔案類型
2. 盡量使用關聯的方式(例如:fileID=1取代file=abc.pdf)來傳遞檔案資訊
3. 限制web server的權限,不允許存取敏感目錄或檔案
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。