Standardlikelihood: Highseverity: Very HighStable

CAPEC-159Redirect Access to Libraries

Abstraction
Standard
Status
Stable
Likelihood
High
Severity
Very High

Description

An adversary exploits a weakness in the way an application searches for external libraries to manipulate the execution flow to point to an adversary supplied library or code base. This pattern of attack allows the adversary to compromise the application or server via the execution of unauthorized code. An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. If an adversary can redirect an application's attempts to access these libraries to other libraries that the adversary supplies, the adversary will be able to force the targeted application to execute arbitrary code. This is especially dangerous if the targeted application has enhanced privileges. Access can be redirected through a number of techniques, including the use of symbolic links, search path modification, and relative path manipulation.

Related weaknesses· 1

CWE-706

MITRE ATT&CK crosswalk· 1

T1574.008: Hijack Execution Flow:Path Interception by Search Order Hijacking

Related attack patterns· 2

CAPEC-154 (ChildOf)CAPEC-185 (CanPrecede)

Exploits1

TypeTargetConfidenceTier
WeaknessUse of Incorrectly-Resolved Name or Referencecwe-706100%live

Related to1

TypeTargetConfidenceTier
SubTechniquePath Interception by Search Order Hijackingt1574.008100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CAPEC
Search Order Hijacking
CAPEC
Leveraging/Manipulating Configuration File Search Paths
CAPEC
Block Access to Libraries
CAPEC
Open-Source Library Manipulation
CAPEC
Remote Code Inclusion
CAPEC
Local Code Inclusion
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.