Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00922
- Vendor: 國立勤益科技大學
- Title: 國立勤益科技大學冷凍空調與能源系,網站參數存在SQL injection
- Introduction: 網站參數存在SQL injection
處理狀態
目前狀態
公開
Last Update : 2022/01/11
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2021/12/23 15:29:42 : 新提交 (由 P@ssw0rd 更新此狀態)
- 2021/12/23 15:31:44 : 新提交 (由 P@ssw0rd 更新此狀態)
- 2021/12/23 15:34:03 : 新提交 (由 P@ssw0rd 更新此狀態)
- 2021/12/23 17:26:59 : 新提交 (由 P@ssw0rd 更新此狀態)
- 2021/12/23 17:30:46 : 新提交 (由 P@ssw0rd 更新此狀態)
- 2021/12/26 23:16:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/27 17:20:41 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/27 17:20:41 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/27 17:20:41 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/01/03 11:40:05 : 已修補 (由 組織帳號 更新此狀態)
- 2022/01/11 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00922
- 通報者:wucy0612 (P@ssw0rd)
- 風險:高
- 類型:資料庫注入攻擊 (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://rac3.ncut.edu.tw/get_index_news.php?nClass=1
http://rac3.ncut.edu.tw/system/
http://rac3.ncut.edu.tw/system/
敘述
http://rac3.ncut.edu.tw/get_index_news.php?nClass=1
加上' 會噴sql訊息select * from news where del='0' and nStatus='1' and nClass='1'' order by nTop desc,nStrDate desc,nID desc limit 10
fetching database names
available databases [5]:
current user is DBA: True
database management system users
fetching tables for database: 'ncut_rac'
Database: ncut_rac
[36 tables]
取得網頁後台管理者帳號(廠商預設管理帳號)及密碼 可從42管理者中辨識出11筆密碼欄位
http://rac3.ncut.edu.tw/system/ 亦可以使用系統管理者 (開發人員專用)預設帳號(cm)及密碼登入管理區
成功登入管理平台首頁
後台帳號管理/後台帳號列表
修補建議
1.管理區建議限制IP進入
2.資料庫密碼欄位建議有加密儲存
3.關閉或變更系統管理者 (開發人員專用)帳號(cm)的預設密碼並加強密碼複雜度
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。