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

0
High
VulnerabilityCVE-2023-25109cvecve-2023-25109cwe-121
Published: Thu Jul 06 2023 (07/06/2023, 14:53:25 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_gre function with the local_ip variable.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25109 is a stack-based buffer overflow vulnerability classified under CWE-121, discovered in the vtysh_ubus binary of the Milesight UR32L device firmware version v32.3.0.5. The vulnerability stems from the unsafe use of the sprintf function in the set_gre function, specifically when handling the local_ip variable. This unsafe pattern allows an attacker with high privileges to craft malicious HTTP requests that overflow the buffer, potentially leading to arbitrary code execution on the device. The vulnerability requires the attacker to have elevated privileges (PR:H) but does not require user interaction (UI:N), and it can be exploited remotely over the network (AV:N). The impact includes full compromise of confidentiality, integrity, and availability of the affected device, as indicated by the CVSS vector (C:H/I:H/A:H). The vulnerability is significant because the UR32L device is often used in network routing and gateway roles, making exploitation a critical risk for network security. Although no known exploits are publicly available at this time, the vulnerability's nature and ease of exploitation by privileged users make it a serious concern. The lack of an official patch at the time of reporting necessitates immediate mitigation efforts to reduce exposure.

Potential Impact

For European organizations, this vulnerability poses a substantial risk, particularly for those relying on Milesight UR32L devices in their network infrastructure. Successful exploitation could allow attackers to execute arbitrary code, leading to full device compromise, disruption of network services, interception or manipulation of sensitive data, and potential lateral movement within the network. Critical sectors such as telecommunications, energy, transportation, and government agencies that deploy these devices could face operational disruptions and data breaches. The high severity and remote exploitability mean that attackers with administrative access—such as insiders or compromised accounts—could leverage this flaw to escalate privileges and control network gateways. This could undermine trust in network integrity and availability, causing cascading effects on dependent systems and services across European enterprises.

Mitigation Recommendations

1. Immediately restrict access to the administrative HTTP interface of the Milesight UR32L devices to trusted management networks only, using network segmentation and firewall rules. 2. Implement strict access controls and multi-factor authentication for all administrative accounts to reduce the risk of privilege escalation. 3. Monitor network traffic for anomalous HTTP requests targeting the vtysh_ubus service, especially those attempting to exploit the set_gre function. 4. Disable or limit GRE tunnel configuration capabilities if not required, reducing the attack surface. 5. Regularly audit device firmware versions and configurations to identify vulnerable devices. 6. Engage with the vendor for official patches or firmware updates addressing this vulnerability and apply them promptly once available. 7. Consider deploying intrusion detection/prevention systems with signatures tailored to detect exploitation attempts of this specific buffer overflow. 8. Maintain comprehensive logging and alerting on device management activities to facilitate rapid incident response.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 690a53192a90255b94da5e90

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

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

Last updated: 11/6/2025, 2:21:31 PM

Views: 1

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