Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00992
- Vendor: TACERT台灣學術網路危機處理中心
- Title: 臺北市立民權國民中學 網路投票系統 RXSS
- Introduction: (Reflected ) Cross-site scripting
處理狀態
目前狀態
公開
Last Update : 2024/10/25
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2024/08/25 18:58:18 : 新提交 (由 tusoar 更新此狀態)
- 2024/08/29 23:42:50 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/09/10 20:59:52 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/09/10 20:59:52 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/09/10 20:59:52 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/10/17 11:12:19 : 已修補 (由 組織帳號 更新此狀態)
- 2024/10/25 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00992
- 通報者:tusoar (tusoar)
- 風險:低
- 類型:反射型跨站腳本攻擊 (Reflected Cross-Site Scripting)
參考資料
攻擊者可經由該漏洞竊取使用者身份,或進行掛碼、轉址等攻擊行為。
漏洞說明: OWASP - Cross-site Scripting (XSS)
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
防護原則: OWASP - XSS (Cross Site Scripting) Prevention Cheat Sheet
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
防禦繞過方式: OWASP - XSS Filter Evasion Cheat Sheet
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
漏洞說明: OWASP - Cross-site Scripting (XSS)
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
防護原則: OWASP - XSS (Cross Site Scripting) Prevention Cheat Sheet
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
防禦繞過方式: OWASP - XSS Filter Evasion Cheat Sheet
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://163.21.39.6/rscott2/index.php?errMSG=
敘述
http://163.21.39.6/rscott2/index.php?errMSG=TEST
- 發現錯誤訊息可控
- 輸入
http://163.21.39.6/rscott2/index.php?errMSG=%3Cscript%3Ealert(1)%3C/script%3E
- 且網站沒有設置 httponly
修補建議
使用 htmlspecialchars 這個函數進行防禦
https://www.php.net/manual/zh/function.htmlspecialchars.php
XSS 講解
https://portswigger.net/web-security/cross-site-scripting
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。