Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00231
- Vendor: 馬雅音樂有限公司
- Title: 馬雅音樂有限公司資料庫注入漏洞
- Introduction: 資料庫注入漏洞
處理狀態
目前狀態
公開
Last Update : 2016/11/30
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2016/09/28 20:24:19 : 新提交 (由 Walter 更新此狀態)
- 2016/10/03 18:59:36 : 審核完成 (由 HITCON ZeroDay 平台自動更新)
- 2016/10/04 13:24:59 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/10/04 13:25:01 : 通報未回應 (由 HITCON ZeroDay 平台自動更新)
- 2016/11/28 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2016/11/30 01:00:04 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2016-00231
- 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
Sql-injection
http://www.magnum.com.tw/lyrics.php?sale_sn=50
User Enumeration and Guessable User Account, Weak Captcha
http://www.magnum.com.tw/login.php
http://www.magnum.com.tw/lyrics.php?sale_sn=50
User Enumeration and Guessable User Account, Weak Captcha
http://www.magnum.com.tw/login.php
敘述
漏洞種類:SQL Injection
重現方式:sqlmap -u "http://www.magnum.com.tw/lyrics.php?sale_sn=50" --level 5 --risk 3 --batch --banner --current-db --current-user --is-dba -v 1 -o
漏洞影響:資料庫外洩
截圖說明:
www.magnum.com.tw_sql-i2:sale_sn證明可被注入
www.magnum.com.tw_sql-i3:系統資訊
www.magnum.com.tw_sql-i4:資料庫資訊
漏洞種類:User Enumeration and Guessable User Account, Weak Captcha
重現方式:
- 進入http://www.magnum.com.tw/login.php
- 輸入帳號並按下忘記密碼按鈕會提示無此帳號,因此可暴力列舉帳號
- 取得帳號之後開始對密碼進行攻擊,即使輸入密碼錯誤,驗證碼仍不會改變,只要第一次輸入正確即可,因此又可以大量隊密碼進行攻擊
漏洞影響:帳號列舉,驗證碼繞過
截圖說明:
www.magnum.com.tw_weak-captcha:於此頁面可進行帳號猜測
漏洞種類:Plaintext Password
重現方式:
- 登入成功
- 於http://www.magnum.com.tw/my_into.php 可見密碼欄位為明文密碼
漏洞影響:被攻擊者取得資料庫後可以直接利用
截圖說明:
www.magnum.com.tw_Plain-password:明文密碼
==========
另外請改一下忘記密碼的方式,當初密碼提示亂填的就找不回密碼了Q_Q
擷圖
留言討論
登入後留言