CVE-2020-14946 in BSA Radarinfo

Summary

by MITRE

downloadFile.ashx in the Administrator section of the Surveillance module in Global RADAR BSA Radar 1.6.7234.24750 and earlier allows users to download transaction files. When downloading the files, a user is able to view local files on the web server by manipulating the FileName and FilePath parameters in the URL, or while using a proxy. This vulnerability could be used to view local sensitive files or configuration files.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/10/2024

This vulnerability exists in the Global RADAR BSA Radar surveillance system version 1.6.7234.24750 and earlier, specifically within the downloadFile.ashx component of the Administrator section in the Surveillance module. The flaw represents a classic local file inclusion vulnerability that allows authenticated users to access arbitrary files on the web server filesystem through manipulation of the FileName and FilePath parameters in the URL or via proxy interception. The vulnerability stems from insufficient input validation and sanitization of user-supplied parameters that are directly used to construct file paths for retrieval operations.

The technical implementation of this vulnerability demonstrates a clear lack of proper access control and path validation mechanisms within the web application's file download functionality. When users provide malicious input through the FileName and FilePath parameters, the application fails to properly sanitize or validate these inputs before using them in file system operations. This creates an opportunity for attackers to traverse the file system and access sensitive configuration files, log files, or other locally stored data that should remain protected. The vulnerability operates at the application layer and requires authentication to the Administrator section, making it less immediately exploitable but still highly concerning for systems with compromised administrator credentials.

The operational impact of this vulnerability extends beyond simple information disclosure, as it could potentially expose critical system configuration files, database connection strings, application secrets, or other sensitive data that could be leveraged for further attacks. Attackers could use this vulnerability to gain insights into the system architecture, identify potential attack vectors, or extract credentials and other sensitive information stored in configuration files. This type of vulnerability directly relates to CWE-22 - Improper Limitation of a Pathname to a Restricted Directory and aligns with ATT&CK technique T1213.002 - Data from Information Repositories, where adversaries extract data from databases or configuration files.

Mitigation strategies should focus on implementing proper input validation and sanitization for all user-supplied parameters, particularly those used in file system operations. The system should enforce strict path validation to ensure that file paths are restricted to predetermined directories and that relative path traversal sequences are properly handled. Organizations should implement proper access controls and authentication mechanisms, ensuring that only authorized users can access administrative functions. Additionally, the application should employ a whitelist approach for file access, where only explicitly allowed files can be retrieved, rather than allowing arbitrary file paths to be specified. Regular security testing and code reviews should be conducted to identify similar vulnerabilities in other components of the surveillance system, and system administrators should be trained to recognize and respond to potential exploitation attempts.

Reservation

06/21/2020

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.07700

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!