Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00873
- Vendor: 台灣電腦網路危機處理暨協調中心(TWCERT/CC)
- Title: 宜蘭縣政府教育處 git leak
- Introduction: git 洩漏,可查看 commit 紀錄
處理狀態
目前狀態
公開
Last Update : 2024/08/31
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2024/08/05 22:18:48 : 新提交 (由 ywc 更新此狀態)
- 2024/08/06 22:38:23 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 18:56:24 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 18:56:24 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/12 18:56:24 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/23 14:36:48 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/31 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00873
- 通報者:ywc (ywc)
- 風險:低
- 類型:資訊洩漏 (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://www.ilc.edu.tw/.git/HEAD
https://www.ilc.edu.tw/.git/config
https://www.ilc.edu.tw/.git/logs/HEAD
https://www.ilc.edu.tw/.git/config
https://www.ilc.edu.tw/.git/logs/HEAD
敘述
進入首頁,透過 DotGit 工具偵測到 /.git/HEAD 路徑
訪問 /.git/config 路徑,可查看到相關設定資訊,包含 origin url 等
訪問 /.git/logs/HEAD 路徑,可發現相關 git commit 紀錄,含有操作者帳號資訊等
攻擊者可透過這些資訊進行 reconnaissance,透過蒐集到的資訊進一步進行利用
修補建議
移除 .git 資料夾
設定 .htaccess 限制外部使用者無法訪問 .git 目錄下的資料
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。