Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00575
- Vendor: 社團法人雲林縣雲林故事人協會
- Title: 雲林故事人協會-雲林故事館 Ylstoryhouse 網站 SQL Injection 漏洞
- Introduction: 當應用程式(Web)與SQL連接的輸入控管不當時,則可能導致被攻擊者惡意利用,進而獲取或更動資料庫內容,從而達到特定目標。
處理狀態
目前狀態
公開
Last Update : 2024/07/18
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/05/18 17:40:50 : 新提交 (由 XD3an 更新此狀態)
- 2024/05/20 12:21:29 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/06/12 17:00:21 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/06/12 17:00:21 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/07/18 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00575
- 通報者:XD3an (XD3an)
- 風險:高
- 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://ylstoryhouse.org.tw/index.php
e.g.
https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426
https://ylstoryhouse.org.tw/index.php?inter=intro&iId=6
e.g.
https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426
https://ylstoryhouse.org.tw/index.php?inter=intro&iId=6
敘述
該網站未對多數 id 參數作過濾措施,導致使用者可以利用該網站存在的 SQL Injection 漏洞進行惡意利用。
以下利用 https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426 作舉例
-
進入 https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426 會是正常的資訊內容
-
當使用者對 URL 中參數進行惡意操作,例如以下
https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426'--
明顯會有錯誤訊息出現 -
改以使用自動化工具 sqlmap 進行測試,並使用以下命令執行
python3 sqlmap.py "https://ylstoryhouse.org.tw/index.php?inter=news&nId=1426" --random-agent --batch --dbs --purge
可以發現確實存在 SQL Injection 漏洞。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。