CVE-2023-25103: 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_dmvpn function with the gre_ip and the gre_mask variables.
AI Analysis
Technical Summary
CVE-2023-25103 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L router firmware version 32.3.0.5. The flaw stems from the use of an unsafe sprintf pattern within the set_dmvpn function, where the gre_ip and gre_mask variables are improperly handled. 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. The vulnerability requires no user interaction but does require the attacker to have elevated privileges on the device, which could be obtained through prior compromise or insider access. Exploitation can result in full control over the device, enabling attackers to manipulate routing configurations, intercept or redirect traffic, or disrupt network availability. The CVSS v3.1 base score is 7.2, reflecting high impact on confidentiality, integrity, and availability, with network attack vector and low attack complexity. Although no public exploits have been reported yet, the vulnerability poses a significant risk due to the critical role of the affected device in network infrastructure. The lack of available patches at the time of reporting increases the urgency for mitigation.
Potential Impact
For European organizations, this vulnerability presents a serious threat to network infrastructure security, especially for those relying on Milesight UR32L routers in critical environments such as telecommunications, industrial control systems, or enterprise networks. Successful exploitation could lead to unauthorized control over routing functions, enabling attackers to intercept sensitive data, disrupt communications, or launch further attacks within the network. The compromise of these devices could affect confidentiality by exposing data flows, integrity by altering routing paths or configurations, and availability by causing network outages. Given the strategic importance of secure and reliable network infrastructure in sectors like finance, government, and critical services across Europe, the impact could be widespread and severe. Additionally, the requirement for high privileges to exploit the vulnerability suggests that attackers may leverage this as a post-compromise escalation vector, increasing the risk of persistent and stealthy intrusions.
Mitigation Recommendations
European organizations should immediately assess their network inventory to identify any Milesight UR32L devices running version 32.3.0.5. Since no official patches are currently available, organizations should implement compensating controls such as restricting access to the device management interfaces to trusted administrators only, employing network segmentation to isolate vulnerable devices, and monitoring HTTP traffic for anomalous requests targeting the vtysh_ubus service. Enforcing strong authentication and privilege management policies can reduce the risk of attackers obtaining the required high privileges. Additionally, organizations should engage with Milesight support channels to obtain updates on patch availability and apply them promptly once released. Regular firmware audits and vulnerability scanning should be conducted to detect and remediate similar issues proactively. Finally, deploying intrusion detection systems capable of recognizing exploitation attempts targeting this vulnerability can enhance early warning capabilities.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Belgium
CVE-2023-25103: 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_dmvpn function with the gre_ip and the gre_mask variables.
AI-Powered Analysis
Technical Analysis
CVE-2023-25103 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the vtysh_ubus binary of the Milesight UR32L router firmware version 32.3.0.5. The flaw stems from the use of an unsafe sprintf pattern within the set_dmvpn function, where the gre_ip and gre_mask variables are improperly handled. 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. The vulnerability requires no user interaction but does require the attacker to have elevated privileges on the device, which could be obtained through prior compromise or insider access. Exploitation can result in full control over the device, enabling attackers to manipulate routing configurations, intercept or redirect traffic, or disrupt network availability. The CVSS v3.1 base score is 7.2, reflecting high impact on confidentiality, integrity, and availability, with network attack vector and low attack complexity. Although no public exploits have been reported yet, the vulnerability poses a significant risk due to the critical role of the affected device in network infrastructure. The lack of available patches at the time of reporting increases the urgency for mitigation.
Potential Impact
For European organizations, this vulnerability presents a serious threat to network infrastructure security, especially for those relying on Milesight UR32L routers in critical environments such as telecommunications, industrial control systems, or enterprise networks. Successful exploitation could lead to unauthorized control over routing functions, enabling attackers to intercept sensitive data, disrupt communications, or launch further attacks within the network. The compromise of these devices could affect confidentiality by exposing data flows, integrity by altering routing paths or configurations, and availability by causing network outages. Given the strategic importance of secure and reliable network infrastructure in sectors like finance, government, and critical services across Europe, the impact could be widespread and severe. Additionally, the requirement for high privileges to exploit the vulnerability suggests that attackers may leverage this as a post-compromise escalation vector, increasing the risk of persistent and stealthy intrusions.
Mitigation Recommendations
European organizations should immediately assess their network inventory to identify any Milesight UR32L devices running version 32.3.0.5. Since no official patches are currently available, organizations should implement compensating controls such as restricting access to the device management interfaces to trusted administrators only, employing network segmentation to isolate vulnerable devices, and monitoring HTTP traffic for anomalous requests targeting the vtysh_ubus service. Enforcing strong authentication and privilege management policies can reduce the risk of attackers obtaining the required high privileges. Additionally, organizations should engage with Milesight support channels to obtain updates on patch availability and apply them promptly once released. Regular firmware audits and vulnerability scanning should be conducted to detect and remediate similar issues proactively. Finally, deploying intrusion detection systems capable of recognizing exploitation attempts targeting this vulnerability can enhance early warning capabilities.
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.072Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690a53192a90255b94da5e78
Added to database: 11/4/2025, 7:25:13 PM
Last enriched: 11/4/2025, 9:03:31 PM
Last updated: 11/6/2025, 12:51:40 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-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.