Skip to content
OpenAdvisories

Weakness (CWE)

CWE-494: Download of Code Without Integrity Check

Base Draft

The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.

How to prevent it (5 mitigations)
  1. Implementation

    Perform proper forward and reverse DNS lookups to detect DNS spoofing.

  2. Architecture and Design, Operation

    Encrypt the code with a reliable encryption scheme before transmitting.

  3. Architecture and Design

    Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].

    Speficially, it may be helpful to use tools or frameworks to perform integrity checking on the transmitted code.

    - When providing the code that is to be downloaded, such as for automatic updates of the software, then use cryptographic signatures for the code and modify the download clients to verify the signatures. Ensure that the implementation does not contain CWE-295, CWE-320, CWE-347, and related weaknesses.

    - Use code signing technologies such as Authenticode. See references [REF-454] [REF-455] [REF-456].

  4. Architecture and Design, Operation

    Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

  5. Architecture and Design, Operation

    Run the code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software.

    OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations.

    This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise.

    Be careful to avoid CWE-243 and other weaknesses related to jails.

Source: MITRE CWE-494

120 results · Clear filters · Feed

  • High 7.5

    Phoenix Contact: ProConOs prone to Download of Code Without Integrity Check

    Download of Code Without Integrity Check vulnerability in PHOENIX CONTACT MULTIPROG, PHOENIX CONTACT ProConOS eCLR (SDK) allows an unauthenticated remote attacker to download and execute applications without integrity checks on the device which may result in …

  • High 8.1

    Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Bui…

  • High 8.1

    Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Bui…

  • High 8.1

    Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Bui…

  • High 8.1

    Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Bui…

  • High 8.1

    Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Bui…

  • High 8.1

    A data integrity vulnerability exists in the BR_NO_CHECK_HASH_FOR functionality of Buildroot 2023.08.1 and dev commit 6…

  • High 7.2

    A CWE-494 Download of Code Without Integrity Check vulnerability exists that could allow modified firmware to be upload…

  • High 7.2

    MLSoft TCO!stream Remote Code Execution Vulnerability

    In MLSoft TCO!stream versions 8.0.22.1115 and below, a vulnerability exists due to insufficient permission validation. This allows an attacker to make the victim download and execute arbitrary files.

  • High 7.2

    Synel Terminals - CWE-494: Download of Code Without Integrity Check

    Synel Terminals - CWE-494: Download of Code Without Integrity Check

  • High 7.2

    PHOENIX CONTACT: WP 6xxx Web panels prone to download code without integrity check

    In PHOENIX CONTACTs WP 6xxx series web panels in versions prior to 4.0.10 a remote attacker with SNMPv2 write privileges may use an a special SNMP request to gain full access to the device.

  • High 7.5

    Electra Smart Kit for Split AC – Adjacent attacker may cause the unit to load unauthorized FW

    Electra Central AC unit – Adjacent attacker may cause the unit to load unauthorized FW.

  • High 7.5

    Electra Central AC unit – Adjacent attacker may cause the unit to load unauthorized FW

    Electra Central AC unit – Adjacent attacker may cause the unit to load unauthorized FW.

  • High 7.5

    RuoYi vulnerable to arbitrary file download

    An arbitrary file download vulnerability in the background management module of RuoYi v4.7.6 and below allows attackers to download arbitrary files in the server.

  • High 7.4

    An exploitable firmware modification vulnerability was discovered in certain Netgear products. The data integrity of th…

  • High 8.1

    An exploitable firmware modification vulnerability was discovered on the Netgear WNR2000v1 router. An attacker can cond…

  • High 8.8
    CVE-2022-40799 Exploited EPSS 34%

    Data Integrity Failure in 'Backup Config' in D-Link DNR-322L <= 2.60B15 allows an authenticated attacker to execute OS …

    KEV Aug 5, 2025
  • High 8.8
    CVE-2022-45442 Public exploit

    Sinatra vulnerable to Reflected File Download attack

    Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition hea…

  • High 8.1

    WISA Smart Wing CMS File Download Vulnerability

    This vulnerability is caused by the lack of validation of input values for specific functions if WISA Smart Wing CMS. Remote attackers can use this vulnerability to leak all files in the server without logging in system.

  • High 8.8

    Django vulnerable to Reflected File Download attack

    An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is der…

  • High 7.5

    RAONWIZ DEXT5 Upload ActiveX remote file execution vulnerability

    DEXT5 Upload 5.0.0.117 and earlier versions contain a vulnerability, which could allow remote attacker to download and execute remote file by setting the argument, variable in the activeX module. This can be leveraged for code execution.

  • High 8.8

    NEXACRO14 Runtime arbitrary file download and execution vulnerability

    Download of code without integrity check vulnerability in NEXACRO14 Runtime ActiveX control of tobesoft Co., Ltd allows the attacker to cause an arbitrary file download and execution. This vulnerability is due to incomplete validation of file download URL or …

  • High 8.8

    Download of code without integrity check vulnerability in ActiveX control of Younglimwon Co., Ltd allows the attacker t…

  • High 8.4

    Add integrity check of GateManager firmware

    Upload of Code Without Integrity Check vulnerability in firmware archive of Secomea GateManager allows authenticated attacker to execute malicious code on server. This issue affects: Secomea GateManager all versions prior to 9.4.621054022

  • High 8.8

    A vulnerability in the web-based contract management service interface Ebiz4u of INOGARD could allow an victim user to …

  • High 7.5

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R67…

  • High 8.8

    EyeSurfer BflyInstallerX.ocx v1.0.0.16 and earlier versions contain a vulnerability that could allow remote files to be…

  • High 7.8

    Kaoni ezHTTPTrans Active-X File Download and Execution Vulnerability

    Ezhttptrans.ocx ActiveX Control in Kaoni ezHTTPTrans 1.0.0.70 and prior versions contain a vulnerability that could allow remote attacker to download arbitrary file by setting the arguments to the activex method. This can be leveraged for code execution by re…

  • High 7.8

    Kaoni ezHTTPTrans Active-X File Download and Execution Vulnerability

    Ezhttptrans.ocx ActiveX Control in Kaoni ezHTTPTrans 1.0.0.70 and prior versions contain a vulnerability that could allow remote attacker to download and execute arbitrary file by setting the arguments to the activex method. This can be leveraged for code exe…

  • High 7.8

    Tobesoft Xplatform ActiveX File Download Vulnerability

    Tobesoft Xplatform 9.2.2.250 and earlier version have an arbitrary code execution vulnerability by using method supported by Xplatform ActiveX Control. It allows attacker to cause remote code execution.

  • High 7.8

    Tobesoft Nexacro14 ActiveX File Download Vulnerability

    Tobesoft Nexacro v2019.9.25.1 and earlier version have an arbitrary code execution vulnerability by using method supported by Nexacro14 ActiveX Control. It allows attacker to cause remote code execution.

  • High 7.8

    Tobesoft XPlatform Arbitrary File Execution Vulnerability

    Tobesoft XPlatform v9.1, 9.2.0, 9.2.1 and 9.2.2 have a vulnerability that can load unauthorized DLL files. It allows attacker to cause remote code execution.

  • High 7.2

    AxECM.cab(ActiveX Control) in Inogard Ebiz4u contains a vulnerability that could allow remote files to be downloaded an…

  • High 8.0
    CVE-2020-5398 Public exploit EPSS 88%

    RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application

    In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where th…

  • High 8.1

    High severity vulnerability that affects generator-jhipster

    ## Generated code uses repository configuration that downloads over HTTP instead of HTTPS ### Impact Gradle users were using the http://repo.spring.io/plugins-release repositories in plain HTTP, and not HTTPS, so a man-in-the-middle attack was possible at bui…

  • High 8.1

    Incorrect Resource Transfer Between Spheres in Grails

    Grails before 3.3.10 used cleartext HTTP to resolve the SDKMan notification service. NOTE: users' apps were not resolving dependencies over cleartext HTTP.

  • High 8.1

    Potentially compromised builds

    All Xtext & Xtend versions prior to 2.18.0 were built using HTTP instead of HTTPS file transfer and thus the built artifacts may have been compromised.

  • High 8.7

    Java Projects using HTTP to fetch dependencies

    Cloud Foundry cf-deployment, versions prior to 7.9.0, contain java components that are using an insecure protocol to fetch dependencies when building. A remote unauthenticated malicious attacker could hijack the DNS entry for the dependency, and inject malici…

  • High 8.1

    Eclipse Vorto resolved Maven build artifacts for the Xtext project over HTTP instead of HTTPS

    Eclipse Vorto versions prior to 0.11 resolved Maven build artifacts for the Xtext project over HTTP instead of HTTPS. Any of these dependent artifacts could have been maliciously compromised by a MITM attack. Hence produced build artifacts of Vorto might be i…

  • High 8.1

    Cleartext Transmission of Sensitive Information, Inclusion of Functionality from Untrusted Control Sphere , and Download of Code Without Integrity Check in Eclipse hawkBit

    Eclipse hawkBit versions prior to 0.3.0M2 resolved Maven build artifacts for the Vaadin based UI over HTTP instead of HTTPS. Any of these dependent artifacts could have been maliciously compromised by a MITM attack. Hence produced build artifacts of hawkBit m…