Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2021-00899
- Vendor: 南台科技大學
- Title: 南台科技大學-帳務暨請採購管理系統 網站參數存在 SQL injection 與 XSS
- Introduction: 網站參數存在 SQL injection 與 XSS
- 感謝函
處理狀態
目前狀態
公開
Last Update : 2021/12/24
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2021/12/09 19:48:23 : 新提交 (由 BTtea 更新此狀態)
- 2021/12/09 19:53:34 : 新提交 (由 BTtea 更新此狀態)
- 2021/12/09 20:45:02 : 新提交 (由 BTtea 更新此狀態)
- 2021/12/10 23:55:53 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/15 12:21:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/15 12:21:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/15 12:21:17 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2021/12/20 14:33:03 : 複測申請中 (由 組織帳號 更新此狀態)
- 2021/12/20 18:13:33 : 確認已修補 (由 BTtea 更新此狀態)
- 2021/12/24 03:00:02 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2021-00899
- 通報者:blacktea_player (BTtea)
- 風險:高
- 類型:資料庫注入攻擊 (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://120.117.3.22/backup.sql
http://120.117.3.22/sta/index.php
http://120.117.3.22/sta/index.php
敘述
http://120.117.3.22/backup.sql
這個應該算是資訊洩漏,看起來貌似是廠商相關資訊
建議設置外網無權限存取
http://120.117.3.22/sta/index.php
密碼欄位存在 XSS
xss payload : '><script>alert(document.cookie)</script>
在密碼欄位輸入單引號,發現 SQL 語法爆錯會噴出寫死的密碼
帳號嘗試用 admin 猜測登錄成功,建議更換
並且嘗試手動構建 SQLi payload 成功,可被注入出資料庫
登錄後台後,發現很多分頁,嘗試測試了很多搜索框或者網址參數
發現幾乎都具有 xss 與 SQL injection
包含下載網址也是,如 http://120.117.3.22/sta/msg_files.php?issue_time=MjAxMi0wNy0zMSAxMTo0MToxMw==
皆建議修復
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。