Detailedlikelihood: Highseverity: Very HighDraft

CAPEC-38Leveraging/Manipulating Configuration File Search Paths

Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
Very High

Description

This pattern of attack sees an adversary load a malicious resource into a program's standard path so that when a known command is executed then the system instead executes the malicious component. The adversary can either modify the search path a program uses, like a PATH variable or classpath, or they can manipulate resources on the path to point to their malicious components. J2EE applications and other component based applications that are built from multiple binaries can have very long list of dependencies to execute. If one of these libraries and/or references is controllable by the attacker then application controls can be circumvented by the attacker.

Related weaknesses· 2

CWE-426CWE-427

MITRE ATT&CK crosswalk· 2

T1574.007: Hijack Execution Flow: Path Interception by PATH Environment VariableT1574.009: Hijack Execution Flow: Path Interception by Unquoted Path

Related attack patterns· 1

CAPEC-159 (ChildOf)

Exploits2

TypeTargetConfidenceTier
WeaknessUntrusted Search Pathcwe-426100%live
WeaknessUncontrolled Search Path Elementcwe-427100%live

Related to2

TypeTargetConfidenceTier
SubTechniquePath Interception by Unquoted Patht1574.009100%live
SubTechniquePath Interception by PATH Environment Variablet1574.007100%live

Related by meaning· 6

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

CAPEC
Redirect Access to Libraries
CAPEC
Configuration/Environment Manipulation
CAPEC
Leverage Executable Code in Non-Executable Files
CAPEC
Search Order Hijacking
CAPEC
Path Traversal
CAPEC
File Manipulation
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.