Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CAPEC-38:Leveraging/Manipulating Configuration File Search Paths
Attack Pattern ID:38
Version:v3.9
Attack Pattern Name:Leveraging/Manipulating Configuration File Search Paths
Abstraction:Detailed
Status:Draft
Likelihood of Attack:High
Typical Severity:Very High
DetailsContent HistoryRelated WeaknessesReports
▼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.
▼Extended Description
▼Alternate Terms
▼Relationships
NatureTypeIDName
ChildOfS159Redirect Access to Libraries
Nature: ChildOf
Type: Standard
ID: 159
Name: Redirect Access to Libraries
▼Execution Flow
▼Prerequisites
The attacker must be able to write to redirect search paths on the victim host.
▼Skills Required
Low

To identify and execute against an over-privileged system interface

▼Resources Required
▼Indicators
▼Consequences
ScopeLikelihoodImpactNote
ConfidentialityIntegrityAvailabilityN/AExecute Unauthorized CommandsRun Arbitrary Code
ConfidentialityAccess ControlAuthorizationN/AGain PrivilegesN/A
Scope: Confidentiality, Integrity, Availability
Likelihood: N/A
Impact: Execute Unauthorized Commands
Note: Run Arbitrary Code
Scope: Confidentiality, Access Control, Authorization
Likelihood: N/A
Impact: Gain Privileges
Note: N/A
▼Mitigations
Design: Enforce principle of least privilege
Design: Ensure that the program's compound parts, including all system dependencies, classpath, path, and so on, are secured to the same or higher level assurance as the program
Implementation: Host integrity monitoring
▼Example Instances
▼Related Weaknesses
IDName
CWE-426Untrusted Search Path
CWE-427Uncontrolled Search Path Element
ID: CWE-426
Name: Untrusted Search Path
ID: CWE-427
Name: Uncontrolled Search Path Element
▼Taxonomy Mappings
Taxonomy NameEntry IDEntry Name
ATTACK1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
ATTACK1574.009Hijack Execution Flow: Path Interception by Unquoted Path
Taxonomy Name: ATTACK
Entry ID: 1574.007
Entry Name: Hijack Execution Flow: Path Interception by PATH Environment Variable
Taxonomy Name: ATTACK
Entry ID: 1574.009
Entry Name: Hijack Execution Flow: Path Interception by Unquoted Path
▼Notes
▼References
Reference ID: REF-1
Title: Exploiting Software: How to Break Code
Author: G. Hoglund, G. McGraw
Publication:
Publisher:Addison-Wesley
Edition:
URL:
URL Date:
Day:N/A
Month:02
Year:2004
Details not found