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

0
High
VulnerabilityCVE-2023-25085cvecve-2023-25085cwe-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 to_dst variables.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25085 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 in the firewall_handler_set function, where the index and to_dst variables are improperly handled, leading to buffer overflow conditions. This flaw can be exploited by an attacker with high privileges who can send specially crafted HTTP requests to the device. Successful exploitation allows arbitrary code execution on the device, compromising its confidentiality, integrity, and availability. The vulnerability does not require user interaction but does require the attacker to have elevated privileges, limiting the attack surface to authenticated or otherwise privileged users. The CVSS v3.1 base score is 7.2, reflecting high severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to organizations relying on these devices for network management and firewall functions. The lack of available patches at the time of publication necessitates immediate mitigation efforts to reduce exposure.

Potential Impact

For European organizations, exploitation of CVE-2023-25085 could lead to full compromise of affected Milesight UR32L devices, which are often used in network infrastructure and firewall management. This could result in unauthorized access, data exfiltration, disruption of network services, and potential lateral movement within corporate networks. Critical sectors such as telecommunications, energy, manufacturing, and government agencies that deploy these devices could face operational disruptions and data breaches. The high severity and network accessibility of the vulnerability increase the risk of targeted attacks, especially in environments where privileged access controls are weak or where devices are exposed to less trusted networks. The impact extends to regulatory compliance risks under GDPR if personal data confidentiality is compromised. Additionally, the integrity of firewall rules and network segmentation could be undermined, facilitating further attacks.

Mitigation Recommendations

European organizations should immediately audit their network to identify any Milesight UR32L devices running vulnerable firmware version 32.3.0.5. Until a vendor patch is available, restrict HTTP access to these devices strictly to trusted administrative networks using network segmentation and firewall rules. Implement strong authentication and limit the number of users with high privileges capable of sending HTTP requests to the device. Monitor network traffic for unusual or malformed HTTP requests targeting the vtysh_ubus service. Employ intrusion detection/prevention systems (IDS/IPS) with signatures tuned to detect exploitation attempts. Regularly check for firmware updates from Milesight and apply patches promptly once released. Consider deploying compensating controls such as network access control (NAC) to prevent unauthorized devices from communicating with UR32L devices. Conduct security awareness training for administrators managing these devices to recognize and respond to suspicious activity.

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

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

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

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