Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2026-01192
- Vendor: 國立中央大學
- Title: 國立中央大學 社團網站 API SQL 注入漏洞
- Introduction: 社團網站的 API URI 路徑參數存在 SQL 注入,測試結果顯示可使用布林盲注、時間盲注及 UNION 查詢,並列舉資料庫名稱。
處理狀態
目前狀態
公開
Last Update : 2026/10/23
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2026/09/22 15:58:25 : 新提交 (由 IceOrange 更新此狀態)
- 2026/09/28 23:54:12 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/30 16:44:00 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/30 16:44:00 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/30 16:44:01 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/30 17:07:58 : 修補中 (由 組織帳號 更新此狀態)
- 2026/10/15 17:10:05 : 已修補 (由 組織帳號 更新此狀態)
- 2026/10/23 03:00:27 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2026-01192
- 通報者:Arnold1029 (IceOrange)
- 風險:高
- 類型:資料庫注入攻擊 (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
漏洞說明: 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://club.adm.ncu.edu.tw/api/club_list/A
敘述
漏洞概述
國立中央大學社團網站的社團清單 API,在 /api/club_list/A 中的 URI 路徑參數(A 所在位置)存在 SQL 注入問題。提供的 sqlmap 測試結果將注入點標示為 Parameter: #1* (URI),並辨識出 boolean-based blind、time-based blind 與 UNION query 三種注入方式。
受影響位置
- 網址:https://club.adm.ncu.edu.tw/api/club_list/A
- 請求方式:GET
- 注入參數:/api/club_list/ 後的路徑參數
重現方式與測試 Payload
以下為既有測試輸出中的 Payload,網址以未編碼形式呈現;實際 HTTP 傳送時應對空白等字元進行 URL 編碼。
-
布林盲注(AND boolean-based blind - WHERE or HAVING clause)
https://club.adm.ncu.edu.tw/api/club_list/A' AND 4450=4450 AND 'wWaM'='wWaM -
時間盲注(MySQL >= 5.0.12 AND time-based blind (query SLEEP))
https://club.adm.ncu.edu.tw/api/club_list/A' AND (SELECT 8391 FROM (SELECT(!SLEEP(5)))cUZf) AND 'pnGx'='pnGx -
UNION 查詢注入(Generic UNION query (NULL) - 15 columns)
https://club.adm.ncu.edu.tw/api/club_list/A' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(0x716a767071,0x6c574855795a7774464b756b74524f797945736a56507053506469716679505459755562527a7946,0x71626a6b71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -
螢幕截圖與證據說明
修補建議
使用參數化查詢(prepared statements/parameter binding)處理 club_list 路徑參數,避免將使用者輸入直接串接至 SQL;檢查相同資料存取函式及其他相似 API。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。