SB2021113006 - Multiple vulnerabilities in Eufy eufyCam 2 



SB2021113006 - Multiple vulnerabilities in Eufy eufyCam 2

Published: November 30, 2021

Security Bulletin ID SB2021113006
Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 secuirty vulnerabilities.


1) Buffer overflow (CVE-ID: CVE-2021-21950)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the "recv_server_device_response_msg_process" function in the CMD_DEVICE_GET_SERVER_LIST_REQUEST functionality of the home_security binary. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Buffer overflow (CVE-ID: CVE-2021-21951)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the "read_udp_push_config_file" function in the CMD_DEVICE_GET_SERVER_LIST_REQUEST functionality of the home_security binary. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


3) Man-in-the-Middle (MitM) attack (CVE-ID: CVE-2021-21953)

The vulnerability allows a remote attacker to perform a man-in-the-middle (MitM) attack.

The vulnerability exists due to authentication bypass issue in the "process_msg()" function of the home_security binary. A remote attacker can perform perform a man-in-the-middle attack and gain elevated privileges on the system.


4) Improper Authentication (CVE-ID: CVE-2021-21952)

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error in when processing authentication requests in the CMD_DEVICE_GET_RSA_KEY_REQUEST functionality of the home_security binary. A remote attacker can bypass authentication process and gain unauthorized access to the application.


5) Small Space of Random Values (CVE-ID: CVE-2021-21955)

The vulnerability allows a remote attacker to bypass authentication on the target system.

The vulnerability exists due to improper authentication in the "get_aes_key_info_by_packetid()" function of the home_security binary. A remote attacker can recovery the password and bypass authentication.


6) OS Command Injection (CVE-ID: CVE-2021-21954)

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the wifi_country_code_update functionality of the home_security binary. A remote authenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.