元智大學 資訊學院 存在 Git 洩漏導致 SQLi 與 RCE - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2025-00833
  •  發信 Vendor: 元智大學
  • Title: 元智大學 資訊學院 存在 Git 洩漏導致 SQLi 與 RCE
  • Introduction: 該網站因 .git 洩漏導致原始碼外洩,進而被分析出後台路徑與 SQL Injection,最終可透過上傳功能達成 RCE。

處理狀態

目前狀態

公開
Last Update : 2025/08/27
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 未複測
  • 公開

處理歷程

  • 2025/07/29 10:04:17 : 新提交 (由 h4n3r_ 更新此狀態)
  • 2025/08/01 15:36:50 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/08/06 17:42:07 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/08/06 17:42:07 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/08/06 17:42:07 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/08/19 16:13:18 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2025/08/27 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2025-00833
  • 通報者:henry970124 (h4n3r_)
  • 風險:嚴重
  • 類型:指令注入攻擊 (Command Injection)

參考資料

攻擊者可經由該漏洞執行任意系統指令,取得系統權限,同時也有機會對資料進行破壞或修改。

漏洞說明: OWASP - Top 10 - 2017 A1 - Injection
https://www.owasp.org/index.php/Top_10-2017_A1-Injection

漏洞說明: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
https://cwe.mitre.org/data/definitions/77.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://www.ci.yzu.edu.tw/
https://www.ci.yzu.edu.tw/console/login.html

敘述

該網站 .git/HEAD 目錄為開啟狀態,故可以使用 git-dumper 工具取得網頁原始碼。
另在 console/login.html 發現後台管理系統,並可透過sql injection 語法 admin or '1' = '1' -- 登入後台系統編輯網站後台等等,亦可利用後台系統進行檔案上傳達成RCE
圖片

擷圖

留言討論

聯絡組織

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