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.
Terminology & mappings
Mapped taxonomies
- WASC: Remote File Inclusion (05)
Frequently asked questions
Common questions about CAPEC-253.
- What is CAPEC-253?
- 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.
- How do you prevent 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.
- What weaknesses does CAPEC-253 target?
- CAPEC-253 exploits 1 CWE weakness, including CWE-829 (Inclusion of Functionality from Untrusted Control Sphere).
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-253
Track the CVEs and weaknesses attackers exploit with this technique, with AI-written analysis and remediation guidance.