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

0
High
VulnerabilityCVE-2023-25082cvecve-2023-25082cwe-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 old_ip and old_mac variables.

AI-Powered Analysis

AILast updated: 11/04/2025, 21:17:00 UTC

Technical Analysis

CVE-2023-25082 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 root cause is the unsafe use of the sprintf function within the firewall_handler_set function, where the old_ip and old_mac variables are handled without proper bounds checking. This leads to a buffer overflow condition when processing specially crafted HTTP requests. An attacker possessing high privileges on the device can exploit this vulnerability remotely by sending malicious HTTP requests, resulting in arbitrary code execution. The vulnerability affects the confidentiality, integrity, and availability of the device by allowing attackers to execute code with the same privileges as the vulnerable process, potentially leading to full device compromise. The CVSS 3.1 base score is 7.2, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. No patches or public exploits are currently reported, but the vulnerability's nature and impact make it critical for affected users to act promptly. The vulnerability is particularly concerning for environments where Milesight UR32L devices are used as network gateways or firewalls, as compromise could lead to lateral movement or disruption of network services.

Potential Impact

For European organizations, exploitation of CVE-2023-25082 could lead to severe consequences including unauthorized access to sensitive network segments, disruption of firewall and routing functions, and potential full device takeover. This could compromise the confidentiality of internal communications, integrity of network configurations, and availability of critical network infrastructure. Organizations relying on Milesight UR32L devices in industrial control systems, telecommunications, or enterprise networks face increased risk of operational disruption and data breaches. Given the network-accessible nature of the vulnerability and the high privileges required, insider threats or attackers who have already gained elevated access could leverage this flaw to escalate privileges or establish persistent footholds. The absence of known exploits in the wild currently reduces immediate risk but does not eliminate the threat, especially as threat actors often develop exploits post-disclosure. The impact is magnified in sectors with stringent regulatory requirements such as finance, healthcare, and critical infrastructure within Europe.

Mitigation Recommendations

1. Immediate mitigation involves isolating affected Milesight UR32L devices from untrusted networks to limit exposure to potentially malicious HTTP requests. 2. Monitor network traffic for unusual HTTP requests targeting the device management interface, focusing on malformed or suspicious payloads. 3. Restrict administrative access to the device to trusted hosts and use VPNs or secure tunnels to access management interfaces. 4. Implement strict access control policies to ensure only authorized personnel have high privileges on the device. 5. Regularly audit device configurations and logs for signs of exploitation attempts or anomalies. 6. Engage with the vendor for firmware updates or patches addressing this vulnerability; if unavailable, consider temporary compensating controls such as disabling vulnerable services or applying firewall rules to block exploit attempts. 7. Incorporate this vulnerability into vulnerability management and incident response plans to ensure timely detection and remediation. 8. Educate network administrators about the risks and signs of exploitation related to this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
talos
Date Reserved
2023-02-02T20:42:36.068Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a53152a90255b94da5797

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

Last enriched: 11/4/2025, 9:17:00 PM

Last updated: 11/6/2025, 2:07:22 PM

Views: 6

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