---
title: "CAPEC-116: Excavation"
url: https://radicalnotion.ai/capec/capec-116
type: capec
description: "An adversary actively probes the target in a manner that is designed to solicit information that could be leveraged for malicious purposes."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-116: Excavation

- **Abstraction:** Meta
- **Status:** Stable
- **Typical severity:** Medium
- **Likelihood of attack:** High
- **CAPEC catalog version:** 3.9

## Description

An adversary actively probes the target in a manner that is designed to solicit information that could be leveraged for malicious purposes.

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.

## 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

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Data | - |

## Mitigations

- 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.

## Related weaknesses (CWE)

- [CWE-200](https://radicalnotion.ai/cwe/cwe-200): Exposure of Sensitive Information to an Unauthorized Actor
- [CWE-1243](https://radicalnotion.ai/cwe/cwe-1243): Sensitive Non-Volatile Information Not Protected During Debug

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Child | [CAPEC-54](https://radicalnotion.ai/capec/capec-54) | Query System for Information |
| Child | [CAPEC-150](https://radicalnotion.ai/capec/capec-150) | Collect Data from Common Resource Locations |
| Child | [CAPEC-545](https://radicalnotion.ai/capec/capec-545) | Pull Data from System Resources |
| Child | [CAPEC-569](https://radicalnotion.ai/capec/capec-569) | Collect Data as Provided by Users |
| Child | [CAPEC-675](https://radicalnotion.ai/capec/capec-675) | Retrieve Data from Decommissioned Devices |
| Can precede | [CAPEC-163](https://radicalnotion.ai/capec/capec-163) | Spear Phishing |

## Frequently asked questions

### 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.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/116.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-116). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
