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

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

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25098 is a stack-based buffer overflow vulnerability classified under CWE-121, identified in the vtysh_ubus binary of the Milesight UR32L device running firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function within the set_qos function, where input from the source variable is not properly bounded, leading to buffer overflow conditions. An attacker possessing high privileges on the device can craft and send malicious HTTP requests that exploit this vulnerability to execute arbitrary code remotely. The vulnerability affects the confidentiality, integrity, and availability of the device by potentially allowing full system compromise. The CVSS v3.1 score is 7.2, reflecting network attack vector (AV:N), low attack complexity (AC:L), required privileges (PR:H), no user interaction (UI:N), unchanged scope (S:U), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no public exploits have been reported, the vulnerability presents a significant risk due to the potential for remote code execution. The vulnerability is particularly concerning for organizations relying on Milesight UR32L devices for network routing or management, as exploitation could disrupt network operations or facilitate lateral movement within a network.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to severe consequences including unauthorized control over network routing devices, data breaches, and disruption of network services. Critical infrastructure sectors such as energy, transportation, and telecommunications that utilize Milesight UR32L devices may face operational outages or compromise of sensitive data. The high privileges required to exploit the vulnerability limit the attack surface to insiders or attackers who have already gained elevated access, but once exploited, the impact is extensive. This could facilitate further attacks within the network, data exfiltration, or sabotage of network traffic. The lack of known exploits in the wild currently reduces immediate risk, but the presence of a public CVE and detailed vulnerability information increases the likelihood of future exploitation attempts. European organizations with remote management interfaces exposed to untrusted networks are particularly vulnerable.

Mitigation Recommendations

1. Immediately restrict access to the management interfaces of Milesight UR32L devices to trusted internal networks or VPNs, blocking all unauthorized external HTTP requests. 2. Monitor network traffic for unusual or malformed HTTP requests targeting the vtysh_ubus service, especially those attempting to invoke set_qos functionality. 3. Implement strict access control policies to ensure only authorized personnel have high privilege access to these devices. 4. Engage with Milesight support to obtain firmware updates or patches addressing this vulnerability; apply them as soon as they become available. 5. Conduct regular security audits and vulnerability assessments on network devices to detect outdated firmware versions. 6. Employ network segmentation to isolate critical network devices and limit potential lateral movement in case of compromise. 7. Maintain comprehensive logging and alerting on device management activities to detect potential exploitation attempts early.

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

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

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

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