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

0
High
VulnerabilityCVE-2023-25086cvecve-2023-25086cwe-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 index and dport variables.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:15:49 UTC

Technical Analysis

CVE-2023-25086 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L router firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function within the firewall_handler_set function, where the index and dport variables are improperly handled, leading to buffer overflow conditions. This vulnerability can be triggered remotely via specially crafted HTTP requests sent to the device. Exploitation requires the attacker to have high privileges on the device, but no user interaction is necessary. Successful exploitation allows arbitrary code execution, which can compromise the device’s confidentiality, integrity, and availability. The CVSS v3.1 score is 7.2 (high severity), reflecting network attack vector, low attack complexity, required privileges, and full impact on confidentiality, integrity, and availability. Although no known exploits are currently in the wild, the vulnerability poses a serious risk to affected devices, especially those deployed in critical network environments. The lack of available patches at the time of publication necessitates immediate attention to alternative mitigations. The vulnerability’s presence in a network device used for routing and firewall functions increases the potential impact on organizational network security posture.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to full compromise of affected Milesight UR32L devices, which are often used in enterprise and industrial network environments. This could result in unauthorized access to internal networks, interception or manipulation of sensitive data, disruption of network services, and potential pivoting to other internal systems. The impact is particularly severe for critical infrastructure sectors such as energy, manufacturing, telecommunications, and transportation that rely on these devices for secure network operations. Compromise could lead to operational downtime, data breaches, and loss of trust. Given the network-facing nature of the vulnerability and the possibility of remote code execution, attackers could leverage this flaw to establish persistent footholds or launch further attacks within European organizational networks.

Mitigation Recommendations

Organizations should immediately inventory their network infrastructure to identify any Milesight UR32L devices running version 32.3.0.5. Until a vendor patch is released, network segmentation should be enforced to isolate these devices from untrusted networks and limit administrative access. Implement strict access controls and monitor HTTP traffic to these devices for anomalous or suspicious requests targeting the firewall_handler_set function. Employ intrusion detection/prevention systems (IDS/IPS) with signatures or heuristics capable of detecting buffer overflow attempts or malformed HTTP requests. Disable or restrict remote management interfaces if not required. Regularly review device logs for signs of exploitation attempts. Engage with the vendor for updates on patches or firmware upgrades addressing this vulnerability. Additionally, consider deploying network-level mitigations such as web application firewalls (WAF) to filter malicious HTTP requests targeting the device.

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

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

Last enriched: 11/4/2025, 9:15:49 PM

Last updated: 11/6/2025, 1:22:24 PM

Views: 5

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