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

0
High
VulnerabilityCVE-2023-25097cvecve-2023-25097cwe-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 set_qos function with the attach_class variable.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25097 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 in the set_qos function, particularly related to the attach_class variable. This unsafe pattern allows an attacker with high privileges to craft malicious HTTP requests that overflow the stack buffer, leading to arbitrary code execution. The vulnerability is classified under CWE-121, indicating a classic stack-based buffer overflow. Exploitation requires the attacker to have high privileges on the device, but no user interaction is needed once privileges are obtained. The vulnerability affects the confidentiality, integrity, and availability of the device, as arbitrary code execution could allow attackers to manipulate device configurations, intercept or disrupt network traffic, or cause denial of service. The CVSS v3.1 base score is 7.2, reflecting a high severity with network attack vector, low attack complexity, and no user interaction. While no public exploits are reported, the critical nature of the device in network infrastructure makes this vulnerability a significant risk. The lack of available patches at the time of reporting necessitates immediate mitigation efforts.

Potential Impact

For European organizations, the impact of this vulnerability can be substantial. Milesight UR32L devices are used in network routing and management, often in critical infrastructure, industrial environments, and enterprise networks. Successful exploitation could allow attackers to gain control over network routing functions, leading to interception or manipulation of sensitive data, disruption of network services, or pivoting to other internal systems. This could compromise data confidentiality and integrity, disrupt business operations, and potentially cause regulatory compliance issues under GDPR if personal data is affected. The requirement for high privileges to exploit somewhat limits the attack surface but does not eliminate risk, especially if internal threat actors or attackers who have gained initial access escalate privileges. The absence of known exploits in the wild reduces immediate risk but should not lead to complacency given the potential impact.

Mitigation Recommendations

European organizations should immediately audit their network environments to identify any Milesight UR32L devices running firmware version 32.3.0.5. Since no patches are currently available, organizations should implement compensating controls such as restricting administrative access to these devices to trusted personnel and networks only, using network segmentation to isolate vulnerable devices, and monitoring HTTP traffic to detect anomalous or malformed requests targeting the vtysh_ubus service. Employ strict access controls and multi-factor authentication for device management interfaces to reduce the risk of privilege escalation. Additionally, organizations should engage with Milesight support to obtain updates on patch availability and apply firmware updates as soon as they are released. Regular vulnerability scanning and penetration testing should include checks for this vulnerability. Incident response plans should be updated to address potential exploitation scenarios involving these devices.

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

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

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

Last updated: 11/6/2025, 12:10:01 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