PT-2023-5081 · Milesight · Milesight Ur32L
Francesco Benvenuto
·
Published
2023-07-06
·
Updated
2023-08-02
·
CVE-2023-25122
CVSS v2.0
8.3
High
| Vector | AV: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
The issue is caused by a buffer overflow vulnerability in the set openvpn client function of the Milesight UR32L router's firmware. This vulnerability can be exploited by a remote attacker to execute arbitrary code. The buffer overflow occurs due to the use of an unsafe sprintf pattern and can be triggered by a specially crafted HTTP request. The
old remote subnet and old remote mask variables are involved in this buffer overflow.Recommendations
For Milesight UR32L version 32.3.0.5, consider disabling the
set openvpn client function until a patch is available to prevent exploitation. Restrict access to the vtysh ubus binary to minimize the risk of arbitrary code execution. Avoid using the old remote subnet and old remote 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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Milesight Ur32L