新北市新莊區丹鳳國小多個網站XSS漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2020-00814
  •  發信 Vendor: 丹鳳國小
  • Title: 新北市新莊區丹鳳國小多個網站XSS漏洞
  • Introduction: XSS攻擊

處理狀態

目前狀態

公開
Last Update : 2020/11/15
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2020/09/15 02:04:42 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 03:19:21 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 03:29:11 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 03:31:26 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 03:49:39 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 03:53:47 : 新提交 (由 peter 更新此狀態)
  • 2020/09/15 04:44:57 : 新提交 (由 peter 更新此狀態)
  • 2020/09/17 20:06:55 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2020/09/18 18:27:57 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2020/09/18 18:27:58 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2020/09/18 18:27:58 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2020/11/15 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2020-00814
  • 通報者:peter279k (peter)
  • 風險:低
  • 類型:反射型跨站腳本攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

http://163.20.170.6/~dfweb/listfixcom.php
http://163.20.170.6/~dfweb/index5.php
http://163.20.170.6/~dfweb/listup.php
http://163.20.170.6/~dfweb/index_list_cb.php
http://163.20.170.101/~235cs/index5.php
http://163.20.170.101/~235cs/index4.php
http://163.20.170.101/~235cs/index3.php
http://163.20.170.101/~235cs/index2.php
http://163.20.170.101/~235cs/listnews.php
http://163.20.170.101/~235cs/living_web/list_pic.php
http://163.20.170.101/~235cs/living_web/list_living.php
http://163.20.170.101/~235cs/living_web/list_news.php
http://163.20.170.101/~235cs/living_web/list_web.php

敘述

圖片

  • 接著按下查詢記錄按鈕,就出現XSS問題了。

圖片

修補建議

- https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
- https://www.php.net/manual/en/function.htmlspecialchars.php
- https://www.php.net/manual/en/function.htmlentities.php

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;