AVIS安維斯租車 網站存在 SQL injection 與 XSS 與敏感性資訊洩漏 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2021-00450
  •  發信 Vendor: AVIS安維斯租車
  • Title: AVIS安維斯租車 網站存在 SQL injection 與 XSS 與敏感性資訊洩漏
  • Introduction: 網站存在 XSS 與 sql injection 與 敏感資訊洩漏

處理狀態

目前狀態

公開
Last Update : 2021/09/25
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2021/07/26 05:18:05 : 新提交 (由 BTtea 更新此狀態)
  • 2021/07/26 05:21:18 : 新提交 (由 BTtea 更新此狀態)
  • 2021/07/26 05:22:13 : 新提交 (由 BTtea 更新此狀態)
  • 2021/07/26 23:33:53 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/07/27 10:59:13 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/07/27 10:59:13 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/07/27 10:59:13 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/09/25 03:00:07 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2021-00450
  • 通報者:blacktea_player (BTtea)
  • 風險:高
  • 類型:資料庫注入攻擊 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://www.avis-taiwan.com/

敘述

直接再取車地點欄位輸入 "><script>alert('xss test')</script> 即可作用
圖片

在搜尋欄位輸入也有
https://www.avis-taiwan.com/cars.php?q="><script>alert('xss test')</script>
圖片

並且發現搜尋欄位除了xss也噴出sql語法錯誤,可能存在sql注入,使用sqlmap進行測試,其結果如下
圖片

還有敏感性資訊洩漏的網址
https://www.avis-taiwan.com/log/
圖片
其中幾個選項貌似是個人私密資料
圖片

還有其他可瀏覽目錄
https://www.avis-taiwan.com/lib/
https://www.avis-taiwan.com/assets/
圖片圖片

修補建議

攻擊者可利用該漏洞取得後端資料庫權限及完整資料(包含大量使用者個資或敏感性資料),同時也有機會對資料進行破壞或修改。

漏洞說明: 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 - Cross-site Scripting (XSS)
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)

防護原則: OWASP - XSS (Cross Site Scripting) Prevention Cheat Sheet
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet

防禦繞過方式: OWASP - XSS Filter Evasion Cheat Sheet
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet


攻擊者可利用洩漏資訊進行下一步攻擊行為。

OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure

CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html

擷圖

留言討論

聯絡組織

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