Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2019-00123
- Vendor: 國立臺中教育大學
- Title: 國立臺中教育大學師資培育暨就業輔導處 SQL Injection Vulnerability
- Introduction: SQL Injection Vulnerability
處理狀態
目前狀態
公開
Last Update : 2020/04/23
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2019/01/29 12:11:41 : 新提交 (由 Noth 更新此狀態)
- 2019/01/29 12:29:23 : 新提交 (由 Noth 更新此狀態)
- 2019/01/29 12:52:14 : 新提交 (由 Noth 更新此狀態)
- 2019/01/29 20:45:58 : 新提交 (由 Noth 更新此狀態)
- 2019/01/29 22:48:23 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/01/31 12:12:23 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/01/31 12:12:23 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/04/14 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2020/04/14 14:33:53 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2020/04/14 20:44:52 : 未修補完成 (由 Noth 更新此狀態)
- 2020/04/15 03:00:01 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2020/04/15 11:24:52 : 未修補完成 (由 Noth 更新此狀態)
- 2020/04/16 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2020/04/22 16:16:48 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2020/04/22 16:20:31 : 確認已修補 (由 Noth 更新此狀態)
- 2020/04/23 03:00:01 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2019-00123
- 通報者:Cake7528064 (Noth)
- 風險:高
- 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://tecs.ntcu.edu.tw/center.php?sn=8
https://tecs.ntcu.edu.tw/center.php?sn=11
https://tecs.ntcu.edu.tw/center.php?sn=19
https://tecs.ntcu.edu.tw/center.php?sn=18
https://tecs.ntcu.edu.tw/course_news.php?suid=1
https://tecs.ntcu.edu.tw/course.php?suid=1
https://tecs.ntcu.edu.tw/course_member.php?suid=1
https://tecs.ntcu.edu.tw/eeimages.php?suid=1
https://tecs.ntcu.edu.tw/course_news.php?suid=4
https://tecs.ntcu.edu.tw/course.php?suid=4
https://tecs.ntcu.edu.tw/course_member.php?suid=4
https://tecs.ntcu.edu.tw/eeimages.php?suid=4
https://tecs.ntcu.edu.tw/eeimages.php?suid=3
https://tecs.ntcu.edu.tw/plan.php?type=1
https://tecs.ntcu.edu.tw/plan.php?type=4
https://tecs.ntcu.edu.tw/organize.php?type=1
https://tecs.ntcu.edu.tw/organize.php?type=4
https://tecs.ntcu.edu.tw/organize.php?type=3
https://tecs.ntcu.edu.tw/news_course.php?suid=1
https://tecs.ntcu.edu.tw/news_course.php?suid=4
太多不便列舉,請全面檢查
https://tecs.ntcu.edu.tw/center.php?sn=11
https://tecs.ntcu.edu.tw/center.php?sn=19
https://tecs.ntcu.edu.tw/center.php?sn=18
https://tecs.ntcu.edu.tw/course_news.php?suid=1
https://tecs.ntcu.edu.tw/course.php?suid=1
https://tecs.ntcu.edu.tw/course_member.php?suid=1
https://tecs.ntcu.edu.tw/eeimages.php?suid=1
https://tecs.ntcu.edu.tw/course_news.php?suid=4
https://tecs.ntcu.edu.tw/course.php?suid=4
https://tecs.ntcu.edu.tw/course_member.php?suid=4
https://tecs.ntcu.edu.tw/eeimages.php?suid=4
https://tecs.ntcu.edu.tw/eeimages.php?suid=3
https://tecs.ntcu.edu.tw/plan.php?type=1
https://tecs.ntcu.edu.tw/plan.php?type=4
https://tecs.ntcu.edu.tw/organize.php?type=1
https://tecs.ntcu.edu.tw/organize.php?type=4
https://tecs.ntcu.edu.tw/organize.php?type=3
https://tecs.ntcu.edu.tw/news_course.php?suid=1
https://tecs.ntcu.edu.tw/news_course.php?suid=4
太多不便列舉,請全面檢查
敘述
信息錯誤:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home2/tecsntcu/public_html/news_view.php on line 11
Bypass Waf:
基於大小寫繞過Waf
弱口令:
admin / pascte2338140
s1 / test
s2 / test
s3 / yi99
s4/test
登入(弱後台路徑):
https://tecs.ntcu.edu.tw/admin
Systems(內含有個資就不放):
點到為止,無竊取任何資料,嚴重可能連主站都拿的到,另外提醒一下,ZD-2018-01121,雖顯示修補,但未修補。
修補建議
1. PHP可採Preparestatement。
2. 嚴謹過濾所有傳入傳出,切勿相信客戶端所傳的。
3. 密碼HASH過會比較好,否則容易被破解(多一層保障的概念)。
4. 弱後台,路徑不要設預設路徑(/admin)。
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。