CVE-2023-25090: CWE-121: Stack-based Buffer Overflow in Milesight UR32L
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 handle_interface_acl function with the interface and in_acl variables.
AI Analysis
Technical Summary
CVE-2023-25090 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device, specifically version 32.3.0.5. The root cause is the unsafe use of the sprintf function in the handle_interface_acl function, where the interface and in_acl variables are improperly handled, leading to buffer overflow conditions. This vulnerability can be exploited by an attacker with high privileges by sending specially crafted HTTP requests to the device, which do not require user interaction. Successful exploitation allows arbitrary code execution, potentially enabling the attacker to take full control over the device, compromising its confidentiality, integrity, and availability. The CVSS v3.1 score is 7.2, reflecting high severity due to network attack vector, low attack complexity, required privileges, and high impact on all security properties. Although no exploits are currently known in the wild, the vulnerability poses a significant risk to organizations relying on this device for network routing or security functions. The absence of available patches increases the urgency for mitigation. The vulnerability affects a specific firmware version, so organizations should verify their device versions and take immediate action.
Potential Impact
For European organizations, the exploitation of this vulnerability could lead to complete compromise of affected Milesight UR32L devices, which are often used in network routing and security contexts. This could result in unauthorized access to sensitive network segments, interception or manipulation of data, disruption of network services, and potential lateral movement within corporate networks. Critical infrastructure sectors such as energy, transportation, and telecommunications that utilize these devices are particularly at risk. The compromise of these devices could undermine operational continuity and data confidentiality, potentially causing significant financial and reputational damage. Given the network-based attack vector and high privileges required, insider threats or compromised administrative accounts could facilitate exploitation. The lack of known exploits in the wild suggests a window for proactive defense, but also a risk of future weaponization.
Mitigation Recommendations
Organizations should immediately identify all Milesight UR32L devices running version 32.3.0.5 and restrict administrative access to trusted personnel only. Network segmentation should be enforced to isolate these devices from untrusted networks. Employ strict access control lists and monitor HTTP traffic to detect anomalous or malformed requests targeting the vtysh_ubus interface. Since no official patches are currently available, consider deploying virtual patching via intrusion prevention systems (IPS) that can detect and block exploit attempts. Regularly audit device firmware versions and subscribe to vendor advisories for updates. Implement multi-factor authentication for device management interfaces to reduce the risk posed by compromised credentials. Additionally, maintain comprehensive logging and alerting to detect potential exploitation attempts early. Plan for rapid deployment of vendor patches once released.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2023-25090: CWE-121: Stack-based Buffer Overflow in Milesight 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 handle_interface_acl function with the interface and in_acl variables.
AI-Powered Analysis
Technical Analysis
CVE-2023-25090 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device, specifically version 32.3.0.5. The root cause is the unsafe use of the sprintf function in the handle_interface_acl function, where the interface and in_acl variables are improperly handled, leading to buffer overflow conditions. This vulnerability can be exploited by an attacker with high privileges by sending specially crafted HTTP requests to the device, which do not require user interaction. Successful exploitation allows arbitrary code execution, potentially enabling the attacker to take full control over the device, compromising its confidentiality, integrity, and availability. The CVSS v3.1 score is 7.2, reflecting high severity due to network attack vector, low attack complexity, required privileges, and high impact on all security properties. Although no exploits are currently known in the wild, the vulnerability poses a significant risk to organizations relying on this device for network routing or security functions. The absence of available patches increases the urgency for mitigation. The vulnerability affects a specific firmware version, so organizations should verify their device versions and take immediate action.
Potential Impact
For European organizations, the exploitation of this vulnerability could lead to complete compromise of affected Milesight UR32L devices, which are often used in network routing and security contexts. This could result in unauthorized access to sensitive network segments, interception or manipulation of data, disruption of network services, and potential lateral movement within corporate networks. Critical infrastructure sectors such as energy, transportation, and telecommunications that utilize these devices are particularly at risk. The compromise of these devices could undermine operational continuity and data confidentiality, potentially causing significant financial and reputational damage. Given the network-based attack vector and high privileges required, insider threats or compromised administrative accounts could facilitate exploitation. The lack of known exploits in the wild suggests a window for proactive defense, but also a risk of future weaponization.
Mitigation Recommendations
Organizations should immediately identify all Milesight UR32L devices running version 32.3.0.5 and restrict administrative access to trusted personnel only. Network segmentation should be enforced to isolate these devices from untrusted networks. Employ strict access control lists and monitor HTTP traffic to detect anomalous or malformed requests targeting the vtysh_ubus interface. Since no official patches are currently available, consider deploying virtual patching via intrusion prevention systems (IPS) that can detect and block exploit attempts. Regularly audit device firmware versions and subscribe to vendor advisories for updates. Implement multi-factor authentication for device management interfaces to reduce the risk posed by compromised credentials. Additionally, maintain comprehensive logging and alerting to detect potential exploitation attempts early. Plan for rapid deployment of vendor patches once released.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- talos
- Date Reserved
- 2023-02-02T20:42:36.070Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690a53152a90255b94da57b7
Added to database: 11/4/2025, 7:25:09 PM
Last enriched: 11/4/2025, 9:15:01 PM
Last updated: 11/6/2025, 2:08:20 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2024-5651: Improper Control of Generation of Code ('Code Injection')
HighCVE-2024-57520: n/a
CriticalCVE-2025-11268: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpchill Strong Testimonials
MediumCVE-2025-12360: CWE-285 Improper Authorization in codesolz Better Find and Replace – AI-Powered Suggestions
MediumCVE-2025-10259: CWE-1284 Improper Validation of Specified Quantity in Input in Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MT/ES
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.