CAPEC Definitions / CAPEC-253
CAPEC-253: Remote Code Inclusion
The attacker forces an application to load arbitrary code files from a remote location. The attacker could use this to try to load old versions of library files that have known vulnerabilities, to load malicious files that the attacker placed on the remote machine, or to otherwise change the functionality of the targeted application in unexpected ways.
Extended Description
No Extended Description.
Mitigations
Minimize attacks by input validation and sanitization of any user data that will be used by the target application to locate a remote file to be included.
Relationships with other CAPECs
Prerequisites
Target application server must allow remote files to be included.The malicious file must be placed on the remote machine previously.
Related Weaknesses
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
