Dark Mode

Settings

Capec-180 Detail

Exploiting Incorrectly Configured Access Control Security Levels

Standard Software Hardware Likelihood: High Typical Severity: Medium

Parents: 122

Children: 58 679 680 681 702

Threats: T72 T271 T275 T277 T280 T286 T293 T336 T340 T383 T386 T390 T394 T396 T399 T405

Description

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.

Extended Description

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.
External ID Source Link Description
CAPEC-180 capec https://capec.mitre.org/data/definitions/180.html
CWE-732 cwe http://cwe.mitre.org/data/definitions/732.html
CWE-1190 cwe http://cwe.mitre.org/data/definitions/1190.html
CWE-1191 cwe http://cwe.mitre.org/data/definitions/1191.html
CWE-1193 cwe http://cwe.mitre.org/data/definitions/1193.html
CWE-1220 cwe http://cwe.mitre.org/data/definitions/1220.html
CWE-1268 cwe http://cwe.mitre.org/data/definitions/1268.html
CWE-1280 cwe http://cwe.mitre.org/data/definitions/1280.html
CWE-1297 cwe http://cwe.mitre.org/data/definitions/1297.html
CWE-1311 cwe http://cwe.mitre.org/data/definitions/1311.html
CWE-1315 cwe http://cwe.mitre.org/data/definitions/1315.html
CWE-1318 cwe http://cwe.mitre.org/data/definitions/1318.html
CWE-1320 cwe http://cwe.mitre.org/data/definitions/1320.html
CWE-1321 cwe http://cwe.mitre.org/data/definitions/1321.html
T1574.010 ATTACK https://attack.mitre.org/wiki/Technique/T1574/010 Hijack Execution Flow: Services File Permissions Weaknesses
REF-29 reference_from_CAPEC http://phrack.org/issues/56/7.html Silvio Cesare, Share Library Call Redirection Via ELF PLT Infection (Issue 56), Phrack Magazine, 2000
REF-30 reference_from_CAPEC https://www.owasp.org/www-pdf-archive/OWASP_Top_10_2007.pdf OWASP Top 10 2007 (2007), The Open Web Application Security Project (OWASP)
Explore
  1. Survey: The attacker surveys the target application, possibly as a valid and authenticated user.

  2. Techniques
    Spider the web site for all available links.
    Brute force to guess all function names/action with different privileges.
Experiment
  1. 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.

  2. Techniques
    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.
Exploit
  1. 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.

  2. Techniques
    The attacker executes the function or accesses the data not authorized to them.
  1. 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..
  1. None: No specialized resources are required to execute this type of attack.
Low
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.
Integrity Availability Authorization Access Control Confidentiality
Modify Data Unreliable Execution Execute Unauthorized Commands (Run Arbitrary Code) Bypass Protection Mechanism Read Data
Gain Privileges
Bypass Protection Mechanism
  1. For example, an incorrectly configured Web server, may allow unauthorized access to it, thus threaten the security of the Web application.