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

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

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25099 is a stack-based buffer overflow vulnerability identified in the Milesight UR32L device firmware version v32.3.0.5. The flaw exists in the vtysh_ubus binary, specifically within the set_qos function, due to unsafe use of the sprintf function to handle the dest variable. This unsafe pattern allows an attacker with high privileges to craft malicious HTTP requests that overflow the buffer, leading to arbitrary code execution on the device. The vulnerability is classified under CWE-121, indicating a classic stack-based buffer overflow. The attack vector is network-based (AV:N), requiring low attack complexity (AC:L), but does require the attacker to have high privileges (PR:H) on the device, though no user interaction is needed (UI:N). The scope remains unchanged (S:U), but the impact on confidentiality, integrity, and availability is high (C:H/I:H/A:H), as the attacker can execute arbitrary code remotely. Although no public exploits have been reported, the vulnerability poses a significant risk to the security posture of affected devices. The lack of available patches at the time of reporting increases the urgency for mitigation. The vulnerability affects a specific firmware version, so organizations using this version are directly impacted. The device is typically used in network infrastructure roles, making exploitation potentially impactful on network operations and data security.

Potential Impact

For European organizations, exploitation of CVE-2023-25099 could lead to complete compromise of affected Milesight UR32L devices, which are often deployed in network infrastructure, industrial control systems, or telecommunications environments. Successful exploitation allows attackers to execute arbitrary code remotely, potentially leading to unauthorized access, data exfiltration, disruption of network services, or pivoting to other internal systems. This could impact confidentiality by exposing sensitive data, integrity by allowing unauthorized configuration changes, and availability by causing device crashes or denial of service. Given the critical role these devices may play in operational technology (OT) or critical infrastructure sectors, the impact could extend to service outages or safety risks. The requirement for high privileges limits the attack surface somewhat, but insider threats or compromised credentials could enable exploitation. The absence of known exploits in the wild currently reduces immediate risk but does not eliminate it, especially as threat actors may develop exploits over time. European organizations should consider the potential for targeted attacks against critical infrastructure or industrial environments where these devices are deployed.

Mitigation Recommendations

1. Immediately restrict HTTP access to the management interface of Milesight UR32L devices to trusted administrators only, preferably via network segmentation and firewall rules. 2. Monitor network traffic for unusual or malformed HTTP requests targeting the vtysh_ubus service or the set_qos function patterns. 3. Enforce strong authentication and credential management to reduce the risk of privilege escalation or unauthorized access, as the vulnerability requires high privileges. 4. Engage with the vendor (Milesight) for firmware updates or patches addressing this vulnerability and plan prompt deployment once available. 5. If patching is not immediately possible, consider disabling or limiting the vulnerable service or interface where feasible. 6. Conduct regular security audits and vulnerability scans on network devices to detect outdated firmware versions. 7. Implement intrusion detection/prevention systems (IDS/IPS) with signatures or heuristics capable of detecting exploitation attempts targeting this vulnerability. 8. Educate network administrators about the risks and signs of exploitation related to this vulnerability to enhance incident response readiness.

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

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

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

Last updated: 11/6/2025, 1:42:05 PM

Views: 1

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