CVE-2023-25093: 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_qos function with the class_name variable..
AI Analysis
Technical Summary
CVE-2023-25093 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The vulnerability stems from the unsafe use of the sprintf function in the set_qos function, where the class_name variable is not properly bounded, allowing an attacker to overflow the stack buffer. This overflow can be triggered by sending a specially crafted HTTP request to the device. The vulnerability requires the attacker to have high privileges on the device, but does not require user interaction. Successful exploitation can lead to arbitrary code execution, compromising the device’s confidentiality, integrity, and availability. The CVSS v3.1 base score is 7.2, reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No public exploits are currently reported, but the vulnerability poses a significant risk due to the potential for remote code execution on network infrastructure devices. The lack of available patches at the time of reporting increases the urgency for mitigation.
Potential Impact
For European organizations, this vulnerability poses a critical risk to network infrastructure security, especially for those relying on Milesight UR32L devices for routing or network management. Exploitation could allow attackers to execute arbitrary code remotely, potentially leading to full device compromise, interception or manipulation of network traffic, disruption of services, and lateral movement within internal networks. This can severely impact critical sectors such as telecommunications, manufacturing, energy, and public services that depend on reliable network devices. The high privileges required limit exploitation to insiders or attackers who have already gained elevated access, but once exploited, the impact on confidentiality, integrity, and availability is severe. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits over time.
Mitigation Recommendations
European organizations should immediately inventory their network devices to identify any Milesight UR32L units running firmware version 32.3.0.5. Until an official patch is released, organizations should restrict access to the device management interfaces to trusted administrators only, ideally via isolated management networks or VPNs. Implement strict network segmentation and firewall rules to limit HTTP access to these devices. Monitor network traffic for unusual HTTP requests targeting the vtysh_ubus service. Employ host-based intrusion detection systems to detect anomalous behavior indicative of exploitation attempts. Additionally, enforce the principle of least privilege to minimize the number of users with high-level access to these devices. Regularly check for firmware updates from Milesight and apply patches promptly once available. Consider deploying network-level protections such as web application firewalls (WAFs) that can detect and block malformed HTTP requests targeting this vulnerability.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2023-25093: 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_qos function with the class_name variable..
AI-Powered Analysis
Technical Analysis
CVE-2023-25093 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L device firmware version 32.3.0.5. The vulnerability stems from the unsafe use of the sprintf function in the set_qos function, where the class_name variable is not properly bounded, allowing an attacker to overflow the stack buffer. This overflow can be triggered by sending a specially crafted HTTP request to the device. The vulnerability requires the attacker to have high privileges on the device, but does not require user interaction. Successful exploitation can lead to arbitrary code execution, compromising the device’s confidentiality, integrity, and availability. The CVSS v3.1 base score is 7.2, reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No public exploits are currently reported, but the vulnerability poses a significant risk due to the potential for remote code execution on network infrastructure devices. The lack of available patches at the time of reporting increases the urgency for mitigation.
Potential Impact
For European organizations, this vulnerability poses a critical risk to network infrastructure security, especially for those relying on Milesight UR32L devices for routing or network management. Exploitation could allow attackers to execute arbitrary code remotely, potentially leading to full device compromise, interception or manipulation of network traffic, disruption of services, and lateral movement within internal networks. This can severely impact critical sectors such as telecommunications, manufacturing, energy, and public services that depend on reliable network devices. The high privileges required limit exploitation to insiders or attackers who have already gained elevated access, but once exploited, the impact on confidentiality, integrity, and availability is severe. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits over time.
Mitigation Recommendations
European organizations should immediately inventory their network devices to identify any Milesight UR32L units running firmware version 32.3.0.5. Until an official patch is released, organizations should restrict access to the device management interfaces to trusted administrators only, ideally via isolated management networks or VPNs. Implement strict network segmentation and firewall rules to limit HTTP access to these devices. Monitor network traffic for unusual HTTP requests targeting the vtysh_ubus service. Employ host-based intrusion detection systems to detect anomalous behavior indicative of exploitation attempts. Additionally, enforce the principle of least privilege to minimize the number of users with high-level access to these devices. Regularly check for firmware updates from Milesight and apply patches promptly once available. Consider deploying network-level protections such as web application firewalls (WAFs) that can detect and block malformed HTTP requests targeting this vulnerability.
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.071Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690a53172a90255b94da5e41
Added to database: 11/4/2025, 7:25:11 PM
Last enriched: 11/4/2025, 9:06:07 PM
Last updated: 11/6/2025, 11:01:32 AM
Views: 1
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.