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

0
High
VulnerabilityCVE-2023-25084cvecve-2023-25084cwe-121
Published: Thu Jul 06 2023 (07/06/2023, 14:53:23 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 firewall_handler_set function with the ip, mac and description variables.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25084 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device, specifically version 32.3.0.5. The vulnerability is due to unsafe use of the sprintf function within the firewall_handler_set function, which processes the ip, mac, and description parameters. Because sprintf does not perform bounds checking, specially crafted HTTP requests containing oversized input for these parameters can overflow the stack buffer. This overflow can overwrite the return address or other control data on the stack, enabling an attacker with high privileges to execute arbitrary code remotely on the device. The attack vector is network-based (AV:N), requires low attack complexity (AC:L), but does require the attacker to have high privileges (PR:H) and no user interaction (UI:N). The vulnerability affects confidentiality, integrity, and availability (C:H/I:H/A:H) of the device, potentially allowing full system compromise. The device is typically used in networking environments, and exploitation could lead to disruption of network services or unauthorized access to sensitive data. Although no public exploits are currently known, the vulnerability's nature and CVSS score of 7.2 indicate a significant risk if exploited. The lack of available patches at the time of reporting necessitates immediate mitigation efforts.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to severe consequences including unauthorized control over network devices, disruption of critical network services, and potential lateral movement within internal networks. Given that Milesight UR32L devices are used in various sectors such as telecommunications, industrial control systems, and enterprise networking, a successful attack could compromise sensitive data and operational continuity. The high privileges required to exploit the vulnerability suggest that insider threats or attackers who have already gained elevated access could leverage this flaw to escalate their control. This could impact confidentiality by exposing sensitive network configurations, integrity by altering firewall rules or device settings, and availability by causing device crashes or denial of service. Organizations relying on these devices for perimeter security or critical infrastructure protection are particularly at risk. The absence of known exploits in the wild provides a window for proactive defense, but also means attackers could develop exploits rapidly once the vulnerability becomes widely known.

Mitigation Recommendations

Organizations should immediately identify any Milesight UR32L devices running version 32.3.0.5 within their networks. Since no official patches are currently available, mitigation should focus on restricting access to the device management interfaces to trusted administrators only, ideally through network segmentation and firewall rules that limit HTTP access to management ports. Implement strict access controls and monitor for unusual HTTP requests targeting the firewall_handler_set function or related endpoints. Employ intrusion detection systems (IDS) or web application firewalls (WAF) with custom rules to detect and block suspicious payloads that could trigger buffer overflows. Regularly audit device configurations and logs for signs of exploitation attempts. Additionally, coordinate with the vendor for updates or patches and plan for prompt deployment once available. Consider temporary replacement or isolation of vulnerable devices in critical environments until a fix is applied. Training and awareness for administrators about the risks of elevated privilege misuse can also reduce the likelihood of exploitation.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 690a53152a90255b94da579f

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

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

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