CAPEC-116: Excavation
An adversary actively probes the target in a manner that is designed to solicit information that could be leveraged for malicious purposes.
Last updated
Overview
This is achieved by exploring the target via ordinary interactions for the purpose of gathering intelligence about the target, or by sending data that is syntactically invalid or non-standard in an attempt to produce a response that contains the desired data. As a result of these interactions, the adversary is able to obtain information from the target that aids the attacker in making inferences about its security, configuration, or potential vulnerabilities. Examplar exchanges with the target may trigger unhandled exceptions or verbose error messages that reveal information like stack traces, configuration information, path information, or database design. This type of attack also includes the manipulation of query strings in a URI to produce invalid SQL queries, or by trying alternative path values in the hope that the server will return useful information.
What the attacker needs
Prerequisites
- An adversary requires some way of interacting with the system.
Resources required
- A tool, such as an Adversary in the Middle (CAPEC-94) Proxy or a fuzzer, that is capable of generating and injecting custom inputs to be used in the attack.
Consequences
What a successful CAPEC-116 attack can achieve.
Read Data
Affects: Confidentiality
How to mitigate it
Defenses that reduce the risk of CAPEC-116.
- Minimize error/response output to only what is necessary for functional use or corrective language.
- Remove potentially sensitive information that is not necessary for the application's functionality.
Frequently asked questions
Common questions about CAPEC-116.
- What is CAPEC-116?
- An adversary actively probes the target in a manner that is designed to solicit information that could be leveraged for malicious purposes.
- How do you prevent CAPEC-116?
- Minimize error/response output to only what is necessary for functional use or corrective language.
- What weaknesses does CAPEC-116 target?
- CAPEC-116 exploits 2 CWE weaknesses: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and CWE-1243 (Sensitive Non-Volatile Information Not Protected During Debug).
- How severe is CAPEC-116?
- MITRE rates CAPEC-116 as Medium severity with high likelihood of attack.
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-116
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.