PT-2023-5149 · Milesight · Milesight Ur32L

Francesco Benvenuto

·

Published

2023-07-06

·

Updated

2023-08-02

·

CVE-2023-25112

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Milesight UR32L version 32.3.0.5
Description The issue is caused by a buffer overflow vulnerability in the set l2tp function of the vtysh ubus binary, due to the use of an unsafe sprintf pattern. A specially crafted HTTP request can lead to arbitrary code execution. The buffer overflow occurs with the remote subnet and remote mask variables. An attacker can send HTTP requests to trigger these vulnerabilities.
Recommendations For Milesight UR32L version 32.3.0.5, consider disabling the set l2tp function until a patch is available to prevent exploitation. Restrict access to the vtysh ubus binary to minimize the risk of exploitation. Avoid using the remote subnet and remote mask variables in the affected HTTP requests 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-05741
CVE-2023-25112

Affected Products

Milesight Ur32L