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

0
High
VulnerabilityCVE-2023-25083cvecve-2023-25083cwe-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 and mac variables.

AI-Powered Analysis

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

Technical Analysis

CVE-2023-25083 is a stack-based buffer overflow vulnerability identified in the vtysh_ubus binary of the Milesight UR32L device, specifically version 32.3.0.5. The vulnerability stems from unsafe use of the sprintf function within the firewall_handler_set function, where the ip and mac variables are handled without proper bounds checking. This unsafe coding practice allows an attacker with high privileges to craft malicious HTTP requests that overflow the stack buffer, leading to arbitrary code execution on the device. The vulnerability requires the attacker to have high privileges, implying that initial access or authentication is necessary before exploitation. Once exploited, the attacker can compromise the device’s confidentiality, integrity, and availability by executing arbitrary code, potentially taking full control of the device. The vulnerability is classified under CWE-121 (Stack-based Buffer Overflow) and has a CVSS 3.1 base score of 7.2, indicating high severity. The attack vector is network-based (AV:N), with low attack complexity (AC:L), but requires privileges (PR:H) and no user interaction (UI:N). No public exploit code is currently known, but the vulnerability’s nature and impact make it a critical concern for affected users. The device in question, Milesight UR32L, is typically used in network routing and firewall roles, making this vulnerability particularly impactful in network security contexts.

Potential Impact

For European organizations, exploitation of CVE-2023-25083 could lead to complete compromise of affected Milesight UR32L devices, which are often deployed as network routers or firewalls. This can result in unauthorized access to internal networks, interception or manipulation of sensitive data, disruption of network services, and potential lateral movement within corporate environments. The loss of device integrity and availability could cause significant operational downtime, impacting business continuity. Confidential information passing through these devices could be exposed or altered, leading to regulatory compliance issues under GDPR and other data protection laws. Given the high privileges required for exploitation, the threat is more pronounced in environments where administrative access controls are weak or where insider threats exist. The absence of known exploits in the wild currently reduces immediate risk, but the vulnerability remains a critical concern due to its potential impact and ease of exploitation once high privileges are obtained.

Mitigation Recommendations

1. Immediately restrict HTTP access to the vtysh_ubus interface on Milesight UR32L devices to trusted administrators only, ideally via network segmentation or VPN. 2. Implement strict access controls and multi-factor authentication for administrative interfaces to reduce the risk of privilege escalation or unauthorized access. 3. Monitor network traffic for unusual or malformed HTTP requests targeting the firewall_handler_set function or related endpoints, using IDS/IPS solutions with custom signatures if possible. 4. Regularly audit device configurations and logs for signs of exploitation attempts or suspicious activity. 5. Engage with Milesight support to obtain and apply official patches or firmware updates addressing this vulnerability as soon as they become available. 6. Consider deploying network-level protections such as web application firewalls (WAFs) to filter malicious HTTP requests targeting the device. 7. Educate network administrators about the risks and ensure they follow best practices for device hardening and secure management.

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

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

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

Last updated: 11/6/2025, 10:52:00 AM

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