CAPECattack pattern
CAPEC-75 Manipulating Writeable Configuration Files
Very High
Official page ↗
- Abstraction
- Standard
- Status
- Draft
- Likelihood of attack
- High
- Typical severity
- Very High
- CAPEC version
- 3.9
Description
Generally these are manually edited files that are not in the preview of the system administrators, any ability on the attackers' behalf to modify these files, for example in a CVS repository, gives unauthorized access directly to the application, the same as authorized users.
Prerequisites
• Configuration files must be modifiable by the attacker
Skills required
• [Medium] To identify vulnerable configuration files, and understand how to manipulate servers and erase forensic evidence
Consequences
• Confidentiality, Access Control, Authorization: Gain Privileges
Mitigations
• Design: Enforce principle of least privilege
• Design: Backup copies of all configuration files
• Implementation: Integrity monitoring for configuration files
• Implementation: Enforce audit logging on code and configuration promotion procedures.
• Implementation: Load configuration from separate process and memory space, for example a separate physical device like a CD
Related
Child of · CAPEC (1)
- CAPEC-176 Configuration/Environment Manipulation attack pattern
Weakness · CWE (6)
- CWE-346 Origin Validation Error weakness
- CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data weakness
- CWE-353 Missing Support for Integrity Check weakness
- CWE-354 Improper Validation of Integrity Check Value weakness
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
- CWE-99 Improper Control of Resource Identifiers weakness
Referenced by CAPEC · peer of (1)
- CAPEC-35 Leverage Executable Code in Non-Executable Files attack pattern
Referenced by CWE · attack pattern (6)
- CWE-346 Origin Validation Error weakness
- CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data weakness
- CWE-353 Missing Support for Integrity Check weakness
- CWE-354 Improper Validation of Integrity Check Value weakness
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
- CWE-99 Improper Control of Resource Identifiers weakness