CVE-2021-45039 Memory corruption in n/a
Remote attackers can exploit a buffer overflow in an undocumented UDP service to execute code and gain root access via hardcoded credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-45039?
CVE-2021-45039 is a critical memory corruption vulnerability in n/a, published on 31 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple models of the Uniview IP Camera (e.g., IPC_G6103 B6103.16.10.B25.201218, IPC_G61, IPC21, IPC23, IPC32, IPC36, IPC62, and IPC_HCMN) offer an undocumented UDP service on port 7788 that allows a remote unauthenticated attacker to overflow an internal buffer and achieve code execution. By using this buffer overflow, a remote attacker can start the telnetd service. This service has a hardcoded default username and password (root/123456). Although it has a restrictive shell, this can be easily bypassed via the built-in ECHO shell command.
Weakness: CWE-120
Which versions are affected by CVE-2021-45039?
It affects 1 product.
Products include Uniview Camera Firmware.
How do I fix CVE-2021-45039?
No fix has been published for CVE-2021-45039 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-45039 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-45039 exists.
Sources
Also known as GHSA-x4x8-9gcf-h58w.