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-25106: CWE-121: Stack-based Buffer Overflow in Milesight UR32L

0
High
VulnerabilityCVE-2023-25106cvecve-2023-25106cwe-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 local_virtual_ip and the local_virtual_mask variables.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:02:37 UTC

Technical Analysis

CVE-2023-25106 is a stack-based buffer overflow vulnerability identified in the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The vulnerability stems from the unsafe use of the sprintf function within the set_gre function, which processes the local_virtual_ip and local_virtual_mask parameters. Because sprintf does not perform bounds checking, specially crafted HTTP requests containing oversized input for these parameters can overflow the stack buffer, corrupting memory and enabling arbitrary code execution. Exploitation requires the attacker to have high privileges on the device, such as administrative access, but does not require user interaction. The vulnerability affects the confidentiality, integrity, and availability of the device, as arbitrary code execution could allow attackers to manipulate network traffic, disrupt device operation, or pivot into internal networks. The CVSS v3.1 base score is 7.2, reflecting a high severity with network attack vector, low attack complexity, and no user interaction. No public exploits are known yet, but the vulnerability is critical for environments where the UR32L is deployed as a network router or gateway. The lack of available patches at the time of disclosure necessitates immediate mitigation steps to reduce exposure.

Potential Impact

For European organizations, this vulnerability poses a significant risk, especially for those deploying Milesight UR32L devices in network infrastructure roles such as industrial control systems, telecommunications, or enterprise edge routing. Successful exploitation could lead to full device compromise, enabling attackers to intercept or manipulate sensitive data, disrupt network services, or establish persistent footholds within critical networks. This could impact confidentiality through data leakage, integrity by altering network configurations or traffic, and availability by causing device crashes or denial of service. Given the device’s role in network connectivity, exploitation could cascade to broader network segments, amplifying the impact. The requirement for high privileges limits exposure to some extent, but insider threats or compromised administrative credentials could facilitate attacks. The absence of known exploits in the wild provides a window for proactive defense, but organizations must act swiftly to prevent potential exploitation.

Mitigation Recommendations

1. Immediately restrict access to the management interfaces of the Milesight UR32L devices, ensuring only trusted administrators can connect, preferably via VPN or secure management networks. 2. Monitor network traffic for unusual HTTP requests targeting the device’s management interface, focusing on anomalous payload sizes or malformed GRE configuration requests. 3. Implement strict access control lists (ACLs) to limit which IP addresses can communicate with the device’s HTTP management service. 4. Regularly audit and rotate administrative credentials to reduce the risk of privilege abuse. 5. Engage with Milesight support or vendor channels to obtain firmware updates or patches addressing this vulnerability as soon as they become available. 6. If patching is delayed, consider temporary compensating controls such as disabling the vulnerable service or isolating the device from untrusted networks. 7. Conduct internal penetration testing to verify the effectiveness of mitigations and detect any signs of compromise. 8. Maintain up-to-date asset inventories to identify all affected devices across the organization.

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: 690a53192a90255b94da5e84

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

Last enriched: 11/4/2025, 9:02:37 PM

Last updated: 11/6/2025, 12:35:00 PM

Views: 1

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