Download of Code Without Integrity Check
CWE-494
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.
We track 122 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.4. 4 have been exploited in real attacks.
How this weakness is prevented
- Implementation: Perform proper forward and reverse DNS lookups to detect DNS spoofing.
- Architecture and Design Operation: Encrypt the code with a reliable encryption scheme before transmitting.
- Architecture and Design Operation: Run your code using the lowest privileges that are required to accomplish the necessary tasks. 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.
Latest Download of Code Without Integrity Check vulnerabilities
- 8.8 High severity
Keymouse Firmware: Download of Code Without Integrity Check
ZZ Inc. KeyMouse Windows 3.08 and prior is affected by a remote code execution vulnerability during an unauthenticated update. To exploit this vulnerability, a user must trigger an update of an affected installation of KeyMouse.
- 7.8 High severity
Fortinet FortiOS Arbitrary File Download Exploited
A download of code without integrity check vulnerability in the "execute restore src-vis" command of FortiOS before 7.0.3 may allow a local authenticated attacker to download arbitrary files on the device via specially crafted update packages.