Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00186
- Vendor: 國立成功大學
- Title: 成功大學求才網資料庫注入漏洞
- Introduction: 該校企業求才網站有sql injection漏洞,可偽冒企業登入,另利用該漏洞可取得資料庫內任意資料
處理狀態
目前狀態
公開
Last Update : 2021/05/22
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2021/04/09 22:21:19 : 新提交 (由 jacob_666 更新此狀態)
- 2021/04/09 22:22:12 : 新提交 (由 jacob_666 更新此狀態)
- 2021/04/11 22:49:13 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/04/12 12:39:46 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/04/12 12:39:47 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/05/04 08:13:15 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/05/22 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00186
- 通報者:jacoblin88 (jacob_666)
- 風險:高
- 類型:資料庫注入攻擊 (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://career3.osa.ncku.edu.tw/career/Login/
敘述
利用sql injection 語法測試登入頁面發現可成功登入
並發現登入後可直接查看原始碼取得用戶密碼
因為是登入頁面無回顯,使用sqlmap的time-based 嘗試sql注入(記得resend original post data to new location那邊要選n)
成功取得部分資料庫名稱
取得網頁所使用資料庫所有table名稱
因該頁面有企業用戶會使用,故資料庫內資料被竊取除了可能造成個資洩漏外,
亦可能造成有關企業危害,然後用time-based打太久了,所以就降囉!
修補建議
將該查詢頁面使用參數化查詢。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。