CVE-2023-25110: 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 set_gre function with the remote_virtual_ip variable.
AI Analysis
Technical Summary
CVE-2023-25110 is a stack-based buffer overflow vulnerability classified under CWE-121, affecting the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function in the set_gre function, where the remote_virtual_ip variable is not properly bounds-checked before being copied into a fixed-size buffer. This allows an attacker with high privileges to craft a malicious HTTP request that overflows the buffer on the stack, overwriting adjacent memory and enabling arbitrary code execution. The vulnerability requires the attacker to have high privileges on the device, which implies prior access or compromise. Exploitation does not require user interaction, and the attack vector is network-based via HTTP requests. The impact includes full compromise of the device, allowing an attacker to execute arbitrary code, potentially leading to data theft, device manipulation, or denial of service. The CVSS v3.1 score is 7.2 (high), reflecting network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability. No patches or public exploits have been reported yet, but the vulnerability is publicly disclosed and should be considered a significant risk for affected devices.
Potential Impact
For European organizations, the exploitation of this vulnerability could lead to severe consequences including unauthorized control over Milesight UR32L devices, which are often used in networking and industrial environments. This could result in data breaches, disruption of network services, manipulation of network traffic, and potential pivoting to other internal systems. Critical infrastructure sectors such as energy, manufacturing, and telecommunications that rely on these devices could face operational disruptions and safety risks. The high privilege requirement limits the attack surface somewhat, but insider threats or compromised credentials could enable exploitation. The lack of known public exploits currently reduces immediate risk but does not eliminate it, as attackers may develop exploits. The vulnerability’s network-based nature means that exposed devices accessible from internal or external networks are at risk, emphasizing the need for strict network segmentation and access controls.
Mitigation Recommendations
1. Immediately verify if Milesight UR32L devices running firmware version 32.3.0.5 are deployed within the environment. 2. Contact Milesight support or monitor official channels for firmware updates or patches addressing CVE-2023-25110 and apply them promptly once available. 3. Restrict network access to the management interfaces of affected devices, limiting HTTP access to trusted and authenticated users only. 4. Implement strict network segmentation to isolate critical devices from general user networks and the internet. 5. Employ intrusion detection/prevention systems (IDS/IPS) to monitor for anomalous HTTP requests targeting the vtysh_ubus service or unusual traffic patterns. 6. Enforce strong authentication and credential management to reduce the risk of privilege escalation that could enable exploitation. 7. Regularly audit device configurations and logs for signs of suspicious activity or exploitation attempts. 8. Consider temporary compensating controls such as disabling vulnerable services if feasible until patches are applied.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2023-25110: 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 set_gre function with the remote_virtual_ip variable.
AI-Powered Analysis
Technical Analysis
CVE-2023-25110 is a stack-based buffer overflow vulnerability classified under CWE-121, affecting the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The root cause is the unsafe use of the sprintf function in the set_gre function, where the remote_virtual_ip variable is not properly bounds-checked before being copied into a fixed-size buffer. This allows an attacker with high privileges to craft a malicious HTTP request that overflows the buffer on the stack, overwriting adjacent memory and enabling arbitrary code execution. The vulnerability requires the attacker to have high privileges on the device, which implies prior access or compromise. Exploitation does not require user interaction, and the attack vector is network-based via HTTP requests. The impact includes full compromise of the device, allowing an attacker to execute arbitrary code, potentially leading to data theft, device manipulation, or denial of service. The CVSS v3.1 score is 7.2 (high), reflecting network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability. No patches or public exploits have been reported yet, but the vulnerability is publicly disclosed and should be considered a significant risk for affected devices.
Potential Impact
For European organizations, the exploitation of this vulnerability could lead to severe consequences including unauthorized control over Milesight UR32L devices, which are often used in networking and industrial environments. This could result in data breaches, disruption of network services, manipulation of network traffic, and potential pivoting to other internal systems. Critical infrastructure sectors such as energy, manufacturing, and telecommunications that rely on these devices could face operational disruptions and safety risks. The high privilege requirement limits the attack surface somewhat, but insider threats or compromised credentials could enable exploitation. The lack of known public exploits currently reduces immediate risk but does not eliminate it, as attackers may develop exploits. The vulnerability’s network-based nature means that exposed devices accessible from internal or external networks are at risk, emphasizing the need for strict network segmentation and access controls.
Mitigation Recommendations
1. Immediately verify if Milesight UR32L devices running firmware version 32.3.0.5 are deployed within the environment. 2. Contact Milesight support or monitor official channels for firmware updates or patches addressing CVE-2023-25110 and apply them promptly once available. 3. Restrict network access to the management interfaces of affected devices, limiting HTTP access to trusted and authenticated users only. 4. Implement strict network segmentation to isolate critical devices from general user networks and the internet. 5. Employ intrusion detection/prevention systems (IDS/IPS) to monitor for anomalous HTTP requests targeting the vtysh_ubus service or unusual traffic patterns. 6. Enforce strong authentication and credential management to reduce the risk of privilege escalation that could enable exploitation. 7. Regularly audit device configurations and logs for signs of suspicious activity or exploitation attempts. 8. Consider temporary compensating controls such as disabling vulnerable services if feasible until patches are applied.
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.073Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690a53192a90255b94da5e94
Added to database: 11/4/2025, 7:25:13 PM
Last enriched: 11/4/2025, 9:01:12 PM
Last updated: 11/6/2025, 12:42:45 PM
Views: 3
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-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
MediumCVE-2025-12471: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nerdpressteam Hubbub Lite – Fast, free social sharing and follow buttons
MediumCVE-2025-9338: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer in ASUS Armoury Crate
HighActions
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.