Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2025-00534
- Vendor: 台灣電腦網路危機處理暨協調中心(TWCERT/CC)
- Title: 日本 FLUX 株式會社 .git 暴露
- Introduction: .git 暴露
處理狀態
目前狀態
公開
Last Update : 2025/08/07
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2025/06/07 18:48:01 : 新提交 (由 yusheng 更新此狀態)
- 2025/06/08 17:11:24 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/06/12 16:26:53 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/06/12 16:26:53 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/06/12 16:26:53 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/08/07 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2025/08/07 14:30:48 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2025-00534
- 通報者:cat1528985 (yusheng)
- 風險:中
- 類型:資訊洩漏 (Information Leakage)
參考資料
攻擊者可利用洩漏資訊進行下一步攻擊行為。
OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure
CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html
OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure
CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://flux-cdn.com/.git/config
https://flux-cdn.com/.git/index
https://flux-cdn.com/.git/logs/HEAD
https://flux-cdn.com/.git/index
https://flux-cdn.com/.git/logs/HEAD
敘述
重現漏洞方式:
- https://flux-cdn.com/.git/config 這個網址可以下載 .git/config
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://github.com/flux-dev/prebid-client-file fetch = +refs/heads/*:refs/remotes/origin/* [gc] auto = 0 [http "https://github.com/"] extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX1Y3bTRqSHpxaEN3NkhWbTFvdVVnb2h5SGFOZ3NZWTNjQng1dQ== [branch "master"] remote = origin merge = refs/heads/master同理,其他兩個網址也可以取得其他資訊
- basic auth 經過 base64 解碼後,是 x-access-token:ghs_V7m4jHzqhCw6HVm1ouUgohyHaNgsYY3cBx5u ,github 的 Personal Access Token,可拿這個 PAT 測試 github 的 REST API
修補建議
.git 資料夾不應該對外
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。