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

0
High
VulnerabilityCVE-2023-25114cvecve-2023-25114cwe-121
Published: Thu Jul 06 2023 (07/06/2023, 14:53:26 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_openvpn_client function with the expert_options variable.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:00:09 UTC

Technical Analysis

CVE-2023-25114 is a stack-based buffer overflow vulnerability identified in the Milesight UR32L device firmware version 32.3.0.5. The flaw is located in the vtysh_ubus binary, specifically within the set_openvpn_client function, which processes the expert_options variable using an unsafe sprintf pattern. This unsafe coding practice allows an attacker with high privileges to craft a malicious HTTP request that overflows the buffer on the stack, leading to potential arbitrary code execution. The vulnerability is classified under CWE-121, indicating a classic stack-based buffer overflow. Exploitation requires the attacker to have high-level privileges on the device and the ability to send HTTP requests to the vulnerable service, but does not require user interaction. The CVSS v3.1 base score is 7.2, reflecting high severity with network attack vector, low attack complexity, and no user interaction needed. The impact includes full compromise of confidentiality, integrity, and availability of the device, as arbitrary code execution could allow an attacker to take control of the device, disrupt network operations, or pivot to other network segments. No public exploit code or active exploitation in the wild has been reported yet. The vulnerability affects a specific firmware version, and no official patch links are provided in the source information, indicating that mitigation may require vendor engagement or workaround implementation.

Potential Impact

For European organizations, the impact of this vulnerability can be significant, especially for those relying on Milesight UR32L devices in their network infrastructure, such as for VPN connectivity or network routing. Successful exploitation could lead to complete device compromise, allowing attackers to intercept or manipulate sensitive data, disrupt network services, or use the device as a foothold for further attacks within the network. This is particularly critical for sectors like telecommunications, energy, transportation, and government, where network reliability and security are paramount. The vulnerability's network-based attack vector and high privileges requirement limit the attack surface but do not eliminate risk, especially in environments where administrative access is not tightly controlled. The absence of known exploits in the wild provides a window for proactive mitigation, but organizations must act swiftly to prevent potential future exploitation. Additionally, compromised devices could be used to launch attacks against other European networks or critical infrastructure, amplifying the threat.

Mitigation Recommendations

European organizations should immediately inventory their network devices to identify any running Milesight UR32L firmware version 32.3.0.5. Since no official patches are currently linked, organizations should contact Milesight support to obtain any available firmware updates or security advisories. In the interim, restrict access to the device management interfaces, especially HTTP services, to trusted administrative networks only, using network segmentation and firewall rules. Implement strict access controls and multi-factor authentication for administrative accounts to reduce the risk of high-privilege attackers. Monitor network traffic for unusual HTTP requests targeting the vulnerable service and enable logging to detect potential exploitation attempts. Consider deploying intrusion detection/prevention systems with custom signatures to detect malformed HTTP requests exploiting sprintf vulnerabilities. Regularly review and update device firmware as vendor patches become available. Finally, conduct security awareness training for administrators to recognize and report suspicious device behavior.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 690a531b2a90255b94da5eaf

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

Last enriched: 11/4/2025, 9:00:09 PM

Last updated: 11/6/2025, 1:41:11 PM

Views: 3

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