CAPECattack pattern

CAPEC-116 Excavation

Medium Official page ↗
Abstraction
Meta
Status
Stable
Likelihood of attack
High
Typical severity
Medium
CAPEC 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.

Extended description

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.

Consequences

• 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

Can precede · CAPEC (1)

Weakness · CWE (2)

  • CWE-1243 Sensitive Non-Volatile Information Not Protected During Debug weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

Referenced by CAPEC · child of (5)

  • CAPEC-150 Collect Data from Common Resource Locations attack pattern
  • CAPEC-54 Query System for Information attack pattern
  • CAPEC-545 Pull Data from System Resources attack pattern
  • CAPEC-569 Collect Data as Provided by Users attack pattern
  • CAPEC-675 Retrieve Data from Decommissioned Devices attack pattern

Referenced by CWE · attack pattern (2)

  • CWE-1243 Sensitive Non-Volatile Information Not Protected During Debug weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness