Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-25110: CWE-121: Stack-based Buffer Overflow in Milesight UR32L

0
High
VulnerabilityCVE-2023-25110cvecve-2023-25110cwe-121
Published: Thu Jul 06 2023 (07/06/2023, 14:53:25 UTC)
Source: CVE Database V5
Vendor/Project: Milesight
Product: UR32L

Description

Multiple buffer overflow vulnerabilities exist in the vtysh_ubus binary of Milesight UR32L v32.3.0.5 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_gre function with the remote_virtual_ip variable.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:01:12 UTC

Technical Analysis

CVE-2023-25110 is a stack-based buffer overflow vulnerability classified under CWE-121, affecting the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function in the set_gre function, where the remote_virtual_ip variable is not properly bounds-checked before being copied into a fixed-size buffer. This allows an attacker with high privileges to craft a malicious HTTP request that overflows the buffer on the stack, overwriting adjacent memory and enabling arbitrary code execution. The vulnerability requires the attacker to have high privileges on the device, which implies prior access or compromise. Exploitation does not require user interaction, and the attack vector is network-based via HTTP requests. The impact includes full compromise of the device, allowing an attacker to execute arbitrary code, potentially leading to data theft, device manipulation, or denial of service. The CVSS v3.1 score is 7.2 (high), reflecting network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability. No patches or public exploits have been reported yet, but the vulnerability is publicly disclosed and should be considered a significant risk for affected devices.

Potential Impact

For European organizations, the exploitation of this vulnerability could lead to severe consequences including unauthorized control over Milesight UR32L devices, which are often used in networking and industrial environments. This could result in data breaches, disruption of network services, manipulation of network traffic, and potential pivoting to other internal systems. Critical infrastructure sectors such as energy, manufacturing, and telecommunications that rely on these devices could face operational disruptions and safety risks. The high privilege requirement limits the attack surface somewhat, but insider threats or compromised credentials could enable exploitation. The lack of known public exploits currently reduces immediate risk but does not eliminate it, as attackers may develop exploits. The vulnerability’s network-based nature means that exposed devices accessible from internal or external networks are at risk, emphasizing the need for strict network segmentation and access controls.

Mitigation Recommendations

1. Immediately verify if Milesight UR32L devices running firmware version 32.3.0.5 are deployed within the environment. 2. Contact Milesight support or monitor official channels for firmware updates or patches addressing CVE-2023-25110 and apply them promptly once available. 3. Restrict network access to the management interfaces of affected devices, limiting HTTP access to trusted and authenticated users only. 4. Implement strict network segmentation to isolate critical devices from general user networks and the internet. 5. Employ intrusion detection/prevention systems (IDS/IPS) to monitor for anomalous HTTP requests targeting the vtysh_ubus service or unusual traffic patterns. 6. Enforce strong authentication and credential management to reduce the risk of privilege escalation that could enable exploitation. 7. Regularly audit device configurations and logs for signs of suspicious activity or exploitation attempts. 8. Consider temporary compensating controls such as disabling vulnerable services if feasible until patches are applied.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
talos
Date Reserved
2023-02-02T20:42:36.073Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a53192a90255b94da5e94

Added to database: 11/4/2025, 7:25:13 PM

Last enriched: 11/4/2025, 9:01:12 PM

Last updated: 11/6/2025, 12:42:45 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats