Remote Code Execution Vulnerability in UniFi Protect Cameras by Ubiquiti
CVE-2025-23115
What is CVE-2025-23115?
CVE-2025-23115 is a vulnerability affecting the UniFi Protect Cameras developed by Ubiquiti Inc. These cameras are part of an integrated security system designed to provide surveillance and monitoring solutions for various environments. This specific vulnerability allows for remote code execution (RCE) due to a Use After Free condition, which can be exploited by malicious users who gain access to the management network of the cameras. If exploited, this vulnerability could lead to unauthorized access and control over the affected surveillance systems, compromising the security and privacy of the monitored areas.
Technical Details
The vulnerability is characterized as a Use After Free flaw, which can occur when a program continues to use a memory reference after it has been freed. In the context of UniFi Protect Cameras, this error could enable an attacker to execute arbitrary code remotely. The successful execution of this code may not require physical access to the camera but rather the ability to interact with the management network where the camera operates. The technical exploitation of this vulnerability involves sophisticated knowledge of memory management and network protocols, allowing attackers to manipulate application flows and gain unauthorized access to system functionalities.
Potential impact of CVE-2025-23115
-
Unauthorized System Access: Attackers could gain control over the UniFi Protect system, allowing them to manipulate camera feeds or disable security monitoring, which poses a direct threat to the physical security of protected premises.
-
Data Privacy Breach: Exploiting this vulnerability could lead to unauthorized access to video and audio feeds, risking the exposure of sensitive information captured by the cameras and compromising the privacy of individuals in monitored areas.
-
Networking and System Integrity Risks: The vulnerability can lead to additional threats by allowing attackers to pivot from the compromised camera to other connected devices within the management network, potentially leading to further exploitation of the overall security infrastructure.
Affected Version(s)
UniFi Protect Cameras 4.74.106