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

0
High
VulnerabilityCVE-2023-25096cvecve-2023-25096cwe-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 rule_name variable with two possible format strings.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25096 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The vulnerability stems from the unsafe use of the sprintf function within the set_qos function, specifically involving the rule_name variable that can be manipulated with two different format strings. This improper handling of input data leads to a buffer overflow condition, which can be exploited by an attacker with high privileges on the device by sending specially crafted HTTP requests. Successful exploitation allows arbitrary code execution, potentially enabling the attacker to take full control of the device, disrupt its operation, or pivot into the internal network. The vulnerability requires no user interaction but does require the attacker to have high privileges, which may be obtained through other means or insider access. The CVSS v3.1 base score is 7.2, reflecting the network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, the nature of the vulnerability makes it a critical concern for organizations relying on this device for network connectivity or security functions.

Potential Impact

For European organizations, the impact of this vulnerability can be severe. The Milesight UR32L is used in various network environments, including industrial, enterprise, and critical infrastructure sectors. Exploitation could lead to unauthorized control over network devices, enabling attackers to intercept or manipulate sensitive data, disrupt network services, or launch further attacks within the network. This can compromise confidentiality, integrity, and availability of critical systems. Given the device’s role in network management, an attacker could also disable security controls or create persistent backdoors. The disruption of network services could affect business continuity and critical operations, especially in sectors like manufacturing, energy, and telecommunications. The requirement for high privileges limits the attack surface but does not eliminate risk, as privilege escalation or insider threats could facilitate exploitation. The absence of public exploits currently provides a window for mitigation before widespread attacks occur.

Mitigation Recommendations

European organizations should immediately assess their deployment of Milesight UR32L devices and verify firmware versions. Since no official patches are listed, organizations should contact Milesight support for updates or advisories. In the interim, restrict access to the device management interfaces to trusted networks and users only, employing network segmentation and strict firewall rules to limit exposure. Implement strong authentication and monitor for unusual HTTP requests targeting the vtysh_ubus service. Employ intrusion detection systems to detect anomalous traffic patterns indicative of exploitation attempts. Regularly audit device configurations and logs for signs of compromise. Consider deploying compensating controls such as application-layer firewalls or reverse proxies to sanitize incoming requests. Finally, develop an incident response plan specific to network device compromise scenarios to minimize impact if exploitation occurs.

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

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

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

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