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

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

AI-Powered Analysis

AILast updated: 11/04/2025, 21:04:06 UTC

Technical Analysis

CVE-2023-25101 is a stack-based buffer overflow vulnerability classified under CWE-121, affecting the vtysh_ubus binary in Milesight UR32L devices running firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function within the set_dmvpn function, particularly when handling the gre_key variable. This unsafe pattern allows an attacker with high privileges to craft a malicious HTTP request that overflows the stack buffer, potentially overwriting return addresses or control data. Successful exploitation can lead to arbitrary code execution, compromising the device's confidentiality, integrity, and availability. The attack vector is network-based (AV:N), requiring no user interaction (UI:N), but does require high privileges (PR:H), indicating that the attacker must already have elevated access to the device or network segment. The vulnerability has a CVSS v3.1 score of 7.2, reflecting its high severity. No patches or public exploits are currently available, increasing the urgency for organizations to implement compensating controls. The affected device, Milesight UR32L, is typically used in industrial or enterprise network environments, making this vulnerability particularly critical for infrastructure security.

Potential Impact

For European organizations, the exploitation of CVE-2023-25101 could lead to severe consequences including unauthorized control over network devices, disruption of network services, and potential lateral movement within critical infrastructure. Given that the Milesight UR32L is often deployed in industrial, enterprise, and IoT network environments, successful exploitation could compromise sensitive data, disrupt operational technology (OT) systems, and degrade availability of essential services. This is especially concerning for sectors such as manufacturing, energy, transportation, and telecommunications, which rely heavily on networked devices for operational continuity. The requirement for high privileges to exploit the vulnerability means that insider threats or attackers who have already breached perimeter defenses pose the greatest risk. The lack of known public exploits reduces immediate widespread risk but does not eliminate the threat, as targeted attacks could leverage this vulnerability. Failure to address this vulnerability could lead to regulatory compliance issues under GDPR and other European cybersecurity directives if data breaches or service disruptions occur.

Mitigation Recommendations

European organizations should immediately verify if they are running Milesight UR32L devices with firmware version 32.3.0.5 and prioritize upgrading to a patched version once available. In the absence of an official patch, organizations should restrict access to the management interfaces of these devices to trusted networks only, employing network segmentation and strict firewall rules to limit exposure. Implement strong authentication and authorization controls to prevent unauthorized users from gaining high privileges required to exploit this vulnerability. Continuous monitoring for unusual HTTP request patterns targeting the vtysh_ubus service should be established to detect potential exploitation attempts. Employ intrusion detection/prevention systems (IDS/IPS) with custom signatures to identify malformed requests exploiting the sprintf vulnerability. Regularly audit device configurations and logs to identify suspicious activity. Additionally, consider deploying network anomaly detection solutions in OT environments to detect lateral movement or command execution attempts. Finally, maintain an incident response plan tailored to network device compromise scenarios.

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

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

Last enriched: 11/4/2025, 9:04:06 PM

Last updated: 11/6/2025, 2:11:06 PM

Views: 5

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