Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00190
- Vendor: VERA婚紗
- Title: VERA婚紗資料庫注入漏洞
- Introduction: SQL-Injection
處理狀態
目前狀態
公開
Last Update : 2016/11/06
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2016/09/04 14:49:10 : 新提交 (由 Walter 更新此狀態)
- 2016/09/06 10:37:19 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/07 10:47:43 : 內部作業 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/07 10:47:56 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/11/06 01:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2016-00190
- 通報者:ewater (Walter)
- 風險:低
- 類型:資料庫注入攻擊 (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://vera.com.tw/about_news.php?ID=52
敘述
漏洞種類:資料庫注入
重現方式:sqlmap -u "http://vera.com.tw/about_news.php?ID=52" --batch --banner --current-db --current-user --is-dba
漏洞影響:資訊洩漏
截圖說明:
vera.com.tw_sql_i_0.png:以單引號附加於參數後方,即顯示出SQL syntax Error, 並且顯示後端為MySQL
vera.com.tw_sql_i_1.png:利用Sqlmap工具自動化的參數
vera.com.tw_sql_i_2.png:ID參數為可注入點,後端為Apache 2.4.23, PHP 5.2.17, MySQL 5.6.31
vera.com.tw_sql_i_3.png:可撈出該db所有table,證明漏洞可利用
建議修補方式:勿以拼接的方式串接變數與資料庫查詢語言,改以參數化查詢方式以避免SQL Injection,並關閉系統錯誤訊息
擷圖
留言討論
登入後留言