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-2024-41887: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Hanwha Vision Co., Ltd. XRN-420S

0
Medium
VulnerabilityCVE-2024-41887cvecve-2024-41887cwe-22
Published: Tue Dec 24 2024 (12/24/2024, 05:20:40 UTC)
Source: CVE Database V5
Vendor/Project: Hanwha Vision Co., Ltd.
Product: XRN-420S

Description

Team ENVY, a Security Research TEAM has found a flaw that allows for a remote code execution on the NVR. An attacker can create an NVR log file in a directory one level higher on the system, which can be used to corrupt files in the directory. The manufacturer has released patch firmware for the flaw, please refer to the manufacturer's report for details and workarounds.

AI-Powered Analysis

AILast updated: 10/04/2025, 10:33:03 UTC

Technical Analysis

CVE-2024-41887 is a medium-severity vulnerability classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, commonly known as Path Traversal) affecting the Hanwha Vision XRN-420S Network Video Recorder (NVR) devices running firmware version 5.01.62 and earlier. The flaw was discovered by Team ENVY and allows an unauthenticated remote attacker to exploit the path traversal weakness to create or manipulate log files outside the intended directory scope. Specifically, the attacker can create an NVR log file in a directory one level higher than the designated log directory. This capability can be leveraged to corrupt or overwrite files in that directory, potentially leading to remote code execution (RCE) on the device. The vulnerability does not require user interaction or authentication but does require high privileges (PR:H) according to the CVSS vector, which suggests some form of elevated access or prior compromise may be necessary to exploit fully. The CVSS 4.0 base score is 5.1, reflecting a medium severity level with network attack vector, low integrity impact, and no impact on confidentiality or availability. The manufacturer has released patched firmware to address this issue, though no known exploits are currently observed in the wild. This vulnerability poses a risk to the integrity of the NVR system and could allow attackers to execute arbitrary code remotely, potentially compromising surveillance infrastructure and the security monitoring capabilities of affected organizations.

Potential Impact

For European organizations, the impact of this vulnerability can be significant, especially for entities relying on Hanwha Vision XRN-420S NVRs for critical security surveillance such as government agencies, transportation hubs, critical infrastructure, and large enterprises. Successful exploitation could allow attackers to corrupt log files, hide malicious activity, or execute arbitrary code, leading to loss of integrity and control over surveillance systems. This could result in unauthorized access to video feeds, disruption of security monitoring, or use of compromised devices as footholds for lateral movement within networks. Given the importance of video surveillance in physical security and compliance with regulations like GDPR, any compromise could also lead to regulatory scrutiny and reputational damage. The medium CVSS score suggests moderate risk, but the potential for remote code execution elevates the threat in environments where these devices are widely deployed and not promptly patched.

Mitigation Recommendations

European organizations using Hanwha Vision XRN-420S devices should immediately verify their firmware versions and upgrade to the latest patched firmware provided by the manufacturer. Network segmentation should be enforced to isolate NVR devices from general IT networks, limiting exposure to potential attackers. Access controls must be reviewed to ensure that only authorized personnel have administrative privileges on these devices, reducing the risk posed by the PR:H requirement in the CVSS vector. Monitoring and alerting on unusual file creation or modification activities in directories adjacent to log storage can help detect exploitation attempts. Additionally, organizations should implement strict network perimeter defenses such as firewalls and intrusion detection/prevention systems (IDS/IPS) to restrict external access to NVR management interfaces. Regular vulnerability scanning and penetration testing focused on physical security infrastructure are recommended to identify and remediate similar issues proactively.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Hanwha_Vision
Date Reserved
2024-07-23T00:24:03.861Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68e0f3c3b66c7f7acdd3e9f0

Added to database: 10/4/2025, 10:15:31 AM

Last enriched: 10/4/2025, 10:33:03 AM

Last updated: 10/16/2025, 12:42:07 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