PT-2023-5078 · Milesight · Milesight Ur32L

Francesco Benvenuto

·

Published

2023-07-06

·

Updated

2023-08-02

·

CVE-2023-25117

CVSS v2.0

8.3

High

VectorAV:N/AC:L/Au:M/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Milesight UR32L version 32.3.0.5
Description Multiple buffer overflow vulnerabilities exist in the vtysh ubus binary due to the use of an unsafe sprintf pattern. A specially crafted HTTP request can lead to arbitrary code execution. An attacker with high privileges can send HTTP requests to trigger these vulnerabilities. This buffer overflow occurs in the set openvpn client function with the local virtual ip and the local virtual mask variables.
Recommendations For Milesight UR32L version 32.3.0.5, as a temporary workaround, consider disabling the set openvpn client function until a patch is available. Restrict access to the vtysh ubus binary to minimize the risk of exploitation. Avoid using the local virtual ip and local virtual mask variables in the affected function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Stack Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

BDU:2023-05638
CVE-2023-25117

Affected Products

Milesight Ur32L