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

0
High
VulnerabilityCVE-2023-25108cvecve-2023-25108cwe-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_ip variable.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25108 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 root cause is the unsafe use of the sprintf function within the set_gre function, where the remote_ip variable is improperly handled, leading to a buffer overflow condition. This vulnerability allows an attacker with high privileges to craft malicious HTTP requests that overflow the stack buffer, enabling arbitrary code execution on the device. The vulnerability affects the confidentiality, integrity, and availability of the device by potentially allowing attackers to execute arbitrary code, disrupt device operations, or gain unauthorized access to sensitive information. Exploitation requires the attacker to have high-level privileges on the device, which limits the attack surface primarily to insiders or attackers who have already compromised the network. The CVSS v3.1 base score is 7.2, reflecting a high severity due to network attack vector, low attack complexity, and no user interaction required. Although no public exploits are known at this time, the vulnerability poses a significant risk to organizations relying on Milesight UR32L devices for networking or industrial control. The lack of available patches necessitates immediate mitigation efforts to reduce exposure. The vulnerability is cataloged under CWE-121, indicating a classic stack-based buffer overflow, a common and dangerous software flaw.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to severe consequences including unauthorized control over network devices, disruption of critical network services, and potential lateral movement within internal networks. Given the role of Milesight UR32L devices in industrial and enterprise networking environments, successful exploitation could impact operational technology (OT) and IT infrastructure, leading to downtime, data breaches, or sabotage. Confidentiality is at risk as attackers could access sensitive network configuration or data. Integrity is compromised through potential unauthorized code execution, allowing attackers to alter device behavior or firmware. Availability may be affected if the device crashes or is taken offline due to exploitation. The requirement for high privileges to exploit reduces the likelihood of external attackers directly exploiting this vulnerability but increases risk from insider threats or attackers who have already breached perimeter defenses. European critical infrastructure sectors such as manufacturing, energy, and transportation that deploy these devices are particularly vulnerable to operational disruptions and potential safety hazards.

Mitigation Recommendations

Given the absence of an official patch, European organizations should implement the following specific mitigations: 1) Restrict administrative access to the Milesight UR32L devices strictly to trusted personnel and secure management networks using network segmentation and strong access controls. 2) Monitor network traffic for unusual or malformed HTTP requests targeting the vtysh_ubus interface, employing intrusion detection/prevention systems (IDS/IPS) with custom signatures if possible. 3) Disable or limit HTTP management interfaces on these devices if not strictly necessary, or restrict access to them via firewall rules. 4) Conduct regular audits of device firmware versions and configurations to identify and isolate vulnerable devices. 5) Employ network anomaly detection to identify potential exploitation attempts. 6) Prepare incident response plans specifically addressing potential compromise of network devices. 7) Engage with the vendor for updates or patches and plan for timely firmware upgrades once available. 8) Consider deploying compensating controls such as application-layer gateways or reverse proxies to filter and sanitize management traffic. These targeted actions go beyond generic advice by focusing on access control, monitoring, and network-level protections tailored to the nature of this vulnerability.

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

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

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

Last updated: 11/6/2025, 1:26:11 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