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.
Last updated
Overview
CAPEC-253 (Remote Code Inclusion) is a standard-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
What the attacker needs
Prerequisites
- Target application server must allow remote files to be included.The malicious file must be placed on the remote machine previously.
How to mitigate it
Defenses that reduce the risk of CAPEC-253.
- 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.