Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2024-00268
- Vendor: 齊耀科技股份有限公司
- Title: 齊耀科技 網站存在 CVE-2021-33829 XSS
- Introduction: 網站存在 XSS
處理狀態
目前狀態
公開
Last Update : 2024/05/25
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2024/03/25 09:52:01 : 新提交 (由 BTtea 更新此狀態)
- 2024/03/28 21:12:18 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/04/09 19:50:09 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/04/09 19:50:09 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2024/05/25 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2024-00268
- 通報者:blacktea_player (BTtea)
- 風險:中
- 類型:預存式跨站腳本攻擊 (Stored Cross-Site Scripting)
參考資料
攻擊者可經由該漏洞竊取使用者身份,或進行掛碼、轉址等攻擊行為。
漏洞說明: OWASP - Cross-site Scripting (XSS)
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
防護原則:
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
XSS 防禦繞過方式:
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)
防護原則:
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
XSS 防禦繞過方式:
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://www.chilitag.com.tw/ckeditor/samples/
https://www.chilitag.com.tw/product_text_zh-tw.php
https://www.chilitag.com.tw/product_text_zh-tw.php
敘述
-
XSS
-
https://www.chilitag.com.tw/product_text_zh-tw.php?PID=58
GET 參數 PID 存在 XSS
xss payload"><script>alert(1)</script>執行結果
-
https://www.chilitag.com.tw/ckeditor/samples/replacebyclass.html
該框架過舊存在 CVE-2021-33829 儲存型 XSS
先點『原始碼』將原始文章內容刪除,然後將下方 xss payload 貼入後再點一次『原始碼』即可觸發Xss<!--{cke_protected} --!><img src=1 onerror=alert(`XSS`)>-->Attack執行結果
-
修補建議
CVE-2021-33829
更新 ckeditor 框架
建議可以使用 htmlspecialchars 函式來預防 XSS
htmlspecialchars用法:
https://www.w3schools.com/php/func_string_htmlspecialchars.asp
XSS攻擊防禦原理解說:(wiki):
https://zh.wikipedia.org/zh-tw/%E8%B7%A8%E7%B6%B2%E7%AB%99%E6%8C%87%E4%BB%A4%E7%A2%BC
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。