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

0
High
VulnerabilityCVE-2023-25103cvecve-2023-25103cwe-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_dmvpn function with the gre_ip and the gre_mask variables.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:03:31 UTC

Technical Analysis

CVE-2023-25103 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L router firmware version 32.3.0.5. The flaw stems from the use of an unsafe sprintf pattern within the set_dmvpn function, where the gre_ip and gre_mask variables are improperly handled. This unsafe coding practice allows an attacker with high privileges to craft malicious HTTP requests that overflow the stack buffer, leading to arbitrary code execution. The vulnerability requires no user interaction but does require the attacker to have elevated privileges on the device, which could be obtained through prior compromise or insider access. Exploitation can result in full control over the device, enabling attackers to manipulate routing configurations, intercept or redirect traffic, or disrupt network availability. The CVSS v3.1 base score is 7.2, reflecting high impact on confidentiality, integrity, and availability, with network attack vector and low attack complexity. Although no public exploits have been reported yet, the vulnerability poses a significant risk due to the critical role of the affected device in network infrastructure. The lack of available patches at the time of reporting increases the urgency for mitigation.

Potential Impact

For European organizations, this vulnerability presents a serious threat to network infrastructure security, especially for those relying on Milesight UR32L routers in critical environments such as telecommunications, industrial control systems, or enterprise networks. Successful exploitation could lead to unauthorized control over routing functions, enabling attackers to intercept sensitive data, disrupt communications, or launch further attacks within the network. The compromise of these devices could affect confidentiality by exposing data flows, integrity by altering routing paths or configurations, and availability by causing network outages. Given the strategic importance of secure and reliable network infrastructure in sectors like finance, government, and critical services across Europe, the impact could be widespread and severe. Additionally, the requirement for high privileges to exploit the vulnerability suggests that attackers may leverage this as a post-compromise escalation vector, increasing the risk of persistent and stealthy intrusions.

Mitigation Recommendations

European organizations should immediately assess their network inventory to identify any Milesight UR32L devices running version 32.3.0.5. Since no official patches are currently available, organizations should implement compensating controls such as restricting access to the device management interfaces to trusted administrators only, employing network segmentation to isolate vulnerable devices, and monitoring HTTP traffic for anomalous requests targeting the vtysh_ubus service. Enforcing strong authentication and privilege management policies can reduce the risk of attackers obtaining the required high privileges. Additionally, organizations should engage with Milesight support channels to obtain updates on patch availability and apply them promptly once released. Regular firmware audits and vulnerability scanning should be conducted to detect and remediate similar issues proactively. Finally, deploying intrusion detection systems capable of recognizing exploitation attempts targeting this vulnerability can enhance early warning capabilities.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 690a53192a90255b94da5e78

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

Last enriched: 11/4/2025, 9:03:31 PM

Last updated: 11/6/2025, 12:51:40 PM

Views: 2

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