CAPEC-180: Exploiting Incorrectly Configured Access Control Security Levels
An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack.
Last updated
Overview
Most commonly, attackers would take advantage of controls that provided too little protection for sensitive activities in order to perform actions that should be denied to them. In some circumstances, an attacker may be able to take advantage of overly restrictive access control policies, initiating denial of services (if an application locks because it unexpectedly failed to be granted access) or causing other legitimate actions to fail due to security. The latter class of attacks, however, is usually less severe and easier to detect than attacks based on inadequate security restrictions. This attack pattern differs from CAPEC 1, "Accessing Functionality Not Properly Constrained by ACLs" in that the latter describes attacks where sensitive functionality lacks access controls, where, in this pattern, the access control is present, but incorrectly configured.
How the attack works
The phases an attacker typically follows.
- Step 1Explore
[Survey] The attacker surveys the target application, possibly as a valid and authenticated user.
- Spider the web site for all available links.
- Brute force to guess all function names/action with different privileges.
- Step 2Experiment
[Identify weak points in access control configurations] The attacker probes the access control for functions and data identified in the Explore phase to identify potential weaknesses in how the access controls are configured.
- The attacker attempts authenticated access to targeted functions and data.
- The attacker attempts unauthenticated access to targeted functions and data.
- The attacker attempts indirect and side channel access to targeted functions and data.
- Step 3Exploit
[Access the function or data bypassing the access control] The attacker executes the function or accesses the data identified in the Explore phase bypassing the access control.
- The attacker executes the function or accesses the data not authorized to them.
What the attacker needs
Prerequisites
- The target must apply access controls, but incorrectly configure them. However, not all incorrect configurations can be exploited by an attacker. If the incorrect configuration applies too little security to some functionality, then the attacker may be able to exploit it if the access control would be the only thing preventing an attacker's access and it no longer does so. If the incorrect configuration applies too much security, it must prevent legitimate activity and the attacker must be able to force others to require this activity..
Skills required
- Low skill: In order to discover unrestricted resources, the attacker does not need special tools or skills. They only have to observe the resources or access mechanisms invoked as each action is performed and then try and access those access mechanisms directly.
Resources required
- None: No specialized resources are required to execute this type of attack.
Consequences
What a successful CAPEC-180 attack can achieve.
Modify Data
Affects: Integrity
Read Data
Affects: Confidentiality
Execute Unauthorized Commands
Affects: Authorization
Run Arbitrary Code
Gain Privileges
Affects: Authorization
Bypass Protection Mechanism
Affects: Access Control, Authorization
Unreliable Execution
Affects: Availability
How to mitigate it
Defenses that reduce the risk of CAPEC-180.
- Design: Configure the access control correctly.
Examples
For example, an incorrectly configured Web server, may allow unauthorized access to it, thus threaten the security of the Web application.
Terminology & mappings
Mapped taxonomies
- ATTACK: Hijack Execution Flow: Services File Permissions Weaknesses (1574.010)
Frequently asked questions
Common questions about CAPEC-180.
- What is CAPEC-180?
- An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack.
- How does a Exploiting Incorrectly Configured Access Control Security Levels attack work?
- It typically unfolds over 3 phases. It begins with: [Survey] The attacker surveys the target application, possibly as a valid and authenticated user.
- How do you prevent CAPEC-180?
- Design: Configure the access control correctly.
- What weaknesses does CAPEC-180 target?
- CAPEC-180 exploits 13 CWE weaknesses, including CWE-732 (Incorrect Permission Assignment for Critical Resource), CWE-1190 (DMA Device Enabled Too Early in Boot Phase), CWE-1191 (On-Chip Debug and Test Interface With Improper Access Control) and CWE-1193 (Power-On of Untrusted Execution Core Before Enabling Fabric Access Control).
- How severe is CAPEC-180?
- MITRE rates CAPEC-180 as Medium severity with high likelihood of attack.
Sources
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-180
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.