Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-01144
- Vendor: 中國醫藥大學
- Title: 中國醫藥大學 大學資料庫注入
- Introduction: SQL injection
處理狀態
目前狀態
公開
Last Update : 2018/08/30
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2018/08/14 23:45:59 : 新提交 (由 Yi-T 更新此狀態)
- 2018/08/15 00:14:18 : 新提交 (由 Yi-T 更新此狀態)
- 2018/08/16 00:56:49 : 新提交 (由 Yi-T 更新此狀態)
- 2018/08/16 00:57:20 : 新提交 (由 Yi-T 更新此狀態)
- 2018/08/17 02:16:41 : 新提交 (由 Yi-T 更新此狀態)
- 2018/08/17 22:12:01 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/08/20 09:49:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/08/20 09:49:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/08/22 15:49:23 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/08/22 16:57:40 : 已修補 (由 組織帳號 更新此狀態)
- 2018/08/30 03:00:12 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-01144
- 通報者:yin_T (Yi-T)
- 風險:高
- 類型:資料庫注入攻擊 (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://web1.cmu.edu.tw/courseinfo/get_dept.asp, ref_type
http://web1.cmu.edu.tw/courseinfo/get_ucan_class.asp ,class
http://web1.cmu.edu.tw/courseinfo/get_ucan_class.asp ,class
敘述
這邊描述在web1.cmu.edu.tw中ref_type有time base的SQL injection問題,這邊顯示出他的payload與後端使用的DB跟主機資訊
這邊使用的工具是自動化檢測工具 SQLmap,該parameter是ref_type,payload會由sqlmap自動帶入。
payload 為union ,應管理員要求,這邊說明 如果要直接測試 不用sql map等自動化更具的話,請先找出該注入點有多少欄位(這邊測55個),完了之後使用在使用union seclect語法拿資料庫資料。
主機中所連接的資料庫等
因為可以拿到可是別人的個資,含姓名身分證字號 請簡易盡速修補
修補建議
1.建議做好字串與危險語法過濾
2.如有佈署WAF,請不要只佈署在官網上,旁系的網站都要一併納入保護。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。