互動資通 js.e8d.tw / s.e8d.tw 額外 .git 目錄暴露 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2026-00632
  •  發信 Vendor: 互動資通股份有限公司
  • Title: 互動資通 js.e8d.tw / s.e8d.tw 額外 .git 目錄暴露
  • Introduction: .git 目錄對外暴露,洩漏 GitLab 部署帳密及全公司共用 Gitea 帳密,確認 .git 暴露為系統性部署缺失(共四個服務受影響)。

處理狀態

目前狀態

公開
Last Update : 2026/07/12
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 已複測
  • 公開

處理歷程

  • 2026/05/06 01:16:46 : 新提交 (由 罐頭 更新此狀態)
  • 2026/05/09 17:54:16 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 15:48:45 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 15:48:45 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 15:48:45 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/07/02 18:32:42 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2026/07/08 11:07:09 : 確認已修補 (由 罐頭 更新此狀態)
  • 2026/07/08 15:12:11 : 確認已修補 (由 罐頭 更新此狀態)
  • 2026/07/12 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2026-00632
  • 通報者:guan4tou2 (罐頭)
  • 風險:中
  • 類型:資訊洩漏 (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://js.e8d.tw/.git/HEAD
https://js.e8d.tw/.git/config
https://s.e8d.tw/.git/HEAD
https://s.e8d.tw/.git/config
https://monitor.e8d.tw/.git/HEAD

敘述

前置通報參考

本報告補充通報 ZD-2026-00631(in-api.e8d.tw .git 暴露)的額外發現:互動資通另外兩個對外生產服務(js.e8d.tw、s.e8d.tw)同樣存在 .git 目錄暴露,並洩漏 ZD-2026-00631 中未涵蓋的 GitLab 帳密(hoxxxxx:B93xxxxx)。

漏洞概述

除已通報的 in-api.e8d.tw(ZD-2026-00631)外,另有三個對外生產服務存在相同部署缺失:

受影響主機 用途 .git 暴露狀態(2026-05-06 確認)
js.e8d.tw JavaScript 靜態資源服務 ✅ HTTP 200(HEAD / config 均可存取)
s.e8d.tw 短網址服務(shorturl) ✅ HTTP 200(HEAD / config 均可存取)
monitor.e8d.tw EVERY8D MONITOR 管理後台 ⏸ HTTP 403(2026-05-06 已加 IP 白名單,原本 HTTP 200)

洩漏憑證彙整(本報告新增):

來源 系統 URL 帳號 密碼
s.e8d.tw/.git/config GitLab http://gitlab.e8d.cc hoxxxxxx B9xxxxx
js.e8d.tw/.git/config Gitea http://60.250.94.152:8088 jaxxxx mg5xxxx(同 ZD-2026-00631)

hosanna:B9315011 為本報告新發現,ZD-2026-00631 未涵蓋。
jack:mg5XYW7HXaaYEN8 在 in-api(ZD-2026-00631)、js、s.e8d.tw 的 git logs 中均出現,確認為全公司共用的 CI/CD 部署帳號,一旦洩漏即影響所有 tech_service 組織 repo。

重現步驟(Live verified: 2026-05-06)

步驟 1:確認 js.e8d.tw .git 暴露並取得 Gitea 帳密

curl -sk "https://js.e8d.tw/.git/HEAD"
# → ref: refs/heads/prod_20231003

curl -sk "https://js.e8d.tw/.git/config"

回應:

[remote "origin"]
    url = http://jaxxxxx:[email protected]:8088/tech_service/js.git

→ 洩漏 Gitea 帳密 jaxxxxxx:mg5Xxxxxxxx(與 ZD-2026-00631 相同帳密,從不同主機確認為全公司共用)

步驟 2:確認 s.e8d.tw .git 暴露並取得 GitLab 帳密(新憑證)

curl -sk "https://s.e8d.tw/.git/HEAD"
# → ref: refs/heads/prod_20250522

curl -sk "https://s.e8d.tw/.git/config"

回應:

[remote "origin"]
    url = http://hoxxxxx:[email protected]/tech_service/shorturl.git

→ 洩漏 GitLab 帳密 hoxxxxxx:Bxxxxxx(ZD-2026-00631 未涵蓋的新憑證)

步驟 3:確認 s.e8d.tw logs 中同樣有 jack 帳密(系統性確認)

curl -sk "https://s.e8d.tw/.git/logs/HEAD" | head -1
# → ... clone: from http://jaxxxxxx:[email protected]:8088/tech_service/shorturl.git

→ 初始 clone 使用 jack 帳密,確認同一部署帳號跨 in-api / js / s 三個 repo 使用

已驗證影響(Verified)

  • js.e8d.tw/.git/HEAD + /config HTTP 200,洩漏 Gitea 帳密 jaxxxxxx:mg5xxxxxx(2026-05-06 實測)
  • s.e8d.tw/.git/HEAD + /config HTTP 200,洩漏 GitLab 帳密 hoxxxxxxx:[email protected](2026-05-06 實測)
  • s.e8d.tw/.git/logs/HEAD 確認 jack 帳密跨三個 repo 使用(系統性問題)
  • monitor.e8d.tw/.git/HEAD 原本 HTTP 200(已另案 monitor 弱密碼通報);2026-05-06 已改為 403

潛在影響

  • hosxxxxxx:B93xxxxxxx 登入 gitlab.e8d.cc → 可能存取 tech_service 組織的所有 GitLab private repo,取得完整源碼及更多未暴露憑證
  • jaxxxxxx:mg5Xxxxxxxx 登入 60.250.94.152:8088 Gitea → 可存取所有 tech_service 組織 repo(js / shorturl / api / monitor 等)
  • 系統性 CI/CD 缺失:至少 4 個服務未清除 .git,推測所有 e8d.tw 子網域可能有相同問題

漏洞根因

互動資通所有 e8d.tw 服務均以相同方式部署(git clone 到 Web root),且未在 Web server 設定中封鎖 /.git/ 路徑,也未在 CI/CD Pipeline 中移除 .git 目錄。同一組 Gitea 部署帳號(jaxxxxxxxx:mg5xxxxxx)跨至少三個 repo 重複使用,任一 .git 暴露即可存取所有 repo。

修補建議

1. 立即:在 js.e8d.tw 及 s.e8d.tw 的 Web server 封鎖 /.git/ 路徑(Nginx: location ~ /\.git { deny all; return 403; })
2. 立即:撤銷並重設 GitLab 帳號 hxxxxxx 密碼(B9xxxxx)
3. 立即:撤銷並重設 Gitea 帳號 jaxxxxx 密碼(mg5xxxxxx8,同 ZD-2026-00631 建議)
4. 短期:稽核所有 e8d.tw / e8d.cc 子網域是否有相同 .git 暴露問題
5. 中期:CI/CD Pipeline 加入部署後清除 .git 目錄的步驟,並禁止在 git remote URL 中嵌入帳密

擷圖

留言討論

聯絡組織

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