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

0
High
VulnerabilityCVE-2023-25094cvecve-2023-25094cwe-121
Published: Thu Jul 06 2023 (07/06/2023, 14:53:24 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 into_class_node function with either the class_name or old_class_name variable.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:05:47 UTC

Technical Analysis

CVE-2023-25094 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 into_class_node function, where the class_name or old_class_name variables are copied without proper bounds checking. This flaw allows an attacker with high privileges to craft malicious HTTP requests that overflow the stack buffer, potentially overwriting the return address or other control data. Successful exploitation can lead to arbitrary code execution on the device, compromising its confidentiality, integrity, and availability. The vulnerability requires no user interaction but does require the attacker to have high privileges, likely meaning authenticated access to the device's management interface or network segment. The CVSS v3.1 base score is 7.2, reflecting network attack vector, low attack complexity, high privileges required, and full impact on confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability poses a significant risk given the potential for remote code execution. The affected product, Milesight UR32L, is a network device commonly used in industrial and enterprise environments, making this vulnerability particularly relevant for organizations relying on these devices for critical communications or control.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to full compromise of affected Milesight UR32L devices, enabling attackers to execute arbitrary code remotely. This could result in unauthorized data access, disruption of network services, or pivoting to other internal systems. Given the device's role in network infrastructure, successful attacks could impact operational technology environments, critical infrastructure sectors, or enterprise networks. The loss of confidentiality, integrity, and availability could have severe consequences, including data breaches, operational downtime, and potential safety risks in industrial contexts. The requirement for high privileges limits the attack surface but does not eliminate risk, especially if credential management or network segmentation is weak. European organizations in sectors such as manufacturing, energy, transportation, and telecommunications that deploy Milesight UR32L devices are particularly vulnerable. The absence of known exploits in the wild currently provides a window for proactive mitigation before widespread exploitation occurs.

Mitigation Recommendations

1. Immediately verify if your Milesight UR32L devices are running firmware version 32.3.0.5 and prioritize upgrading to a patched version once available from the vendor. 2. Until a patch is released, restrict access to the device management interfaces by implementing strict network segmentation and firewall rules to limit HTTP access only to trusted administrators. 3. Enforce strong authentication mechanisms and rotate credentials regularly to reduce the risk of high-privilege account compromise. 4. Monitor network traffic for unusual HTTP requests targeting the vtysh_ubus interface, especially those containing suspicious payloads that could trigger buffer overflows. 5. Employ intrusion detection or prevention systems with custom signatures to detect attempts to exploit this specific vulnerability. 6. Conduct regular security audits and vulnerability assessments on network devices to identify and remediate similar unsafe coding practices. 7. Educate network and security teams about this vulnerability to ensure rapid response if exploitation attempts are detected. 8. Consider isolating critical devices from general enterprise networks to minimize exposure.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 690a53172a90255b94da5e45

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

Last enriched: 11/4/2025, 9:05:47 PM

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