Weakness (CWE)
CWE-862: Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
How to prevent it (5 mitigations)
-
Architecture and Design
Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries.
Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
-
Architecture and Design
Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
-
Architecture and Design
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].
-
Architecture and Design
For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.
One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.
-
System Configuration, Installation
Use the access control capabilities of your operating system and server environment and define your access control lists accordingly. Use a "default deny" policy when defining these ACLs.
Source: MITRE CWE-862
2,357 results · Clear filters · Feed
-
High 7.8
In getSlice of ProviderModelSlice.java, there is a missing permission check. This could lead to local escalation of pri…
-
High 7.8
In onCreate of WifiDialogActivity.java, there is a missing permission check. This could lead to local escalation of pri…
-
High 7.8
In multiple functions of AdapterService.java, there is a possible way to manipulate Bluetooth state due to a missing pe…
-
High 7.8
In onAttach of ConfigureWifiSettings.java, there is a possible way for a guest user to change WiFi settings due to a pe…
-
High 7.8
In onCreate of WifiDppConfiguratorActivity.java, there is a possible way for a guest user to add a WiFi configuration d…
-
High 7.1
Mega Addons For WPBakery Page Builder <= 4.3.0 - Authenticated (Subscriber+) Settings Update
The Mega Addons plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on the vc_saving_data function in versions up to, and including, 4.3.0. This makes it possible for authenticated attackers, with subscriber-level perm…
-
High 8.8
pgadmin4 vulnerable to Code Injection
The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Ver…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.8
In windows manager service, there is a missing permission check. This could lead to set up windows manager service with…
-
High 7.8
In UscAIEngine service, there is a missing permission check. This could lead to set up UscAIEngine service with no addi…
-
High 7.8
In power management service, there is a missing permission check. This could lead to set up power management service wi…
-
High 7.5
Improper access control in Key-Value RBAC in StackStorm version 3.7.0 didn't check the permissions in Jinja filters, al…
-
High 7.5
The /device/acceptBind end-point for Ourphoto App version 1.4.1 does not require authentication or authorization. The u…
-
High 7.5
org.xwiki.platform:xwiki-platform-user-profile-ui missing authorization to enable or disable users
org.xwiki.platform:xwiki-platform-user-profile-ui is missing authorization to enable or disable users. Any user (logged in or not) with access to the page XWiki.XWikiUserProfileSheet can enable or disable any user profile. This might allow to a disabled user …
-
High 8.8
CKAN contains Improper Authentication leading to account takeover
CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request. This allows a user to take over an existing account including superuser accounts.
-
High 7.5
Lack of authentication mechanism for webhook in CloudBees Docker Hub/Registry Notification Plugin
A missing permission check in Jenkins CloudBees Docker Hub/Registry Notification Plugin 2.6.2 and earlier allows unauthenticated attackers to trigger builds of jobs corresponding to the attacker-specified repository.
-
High 7.5
Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files
If anonymous read enabled, it's possible to read the database file directly without logging in.
-
High 7.5
The LBS module has a vulnerability in geofencing API access. Successful exploitation of this vulnerability may cause th…
-
High 7.8
In onCallRedirectionComplete of CallsManager.java, there is a possible permissions bypass due to a missing permission c…
-
High 7.8
In restorePermissionState of PermissionManagerServiceImpl.java, there is a possible way to bypass user consent due to a…
-
High 7.8
In messaging service, there is a missing permission check. This could lead to elevation of privilege in contacts servic…
-
High 7.8
In Soundrecorder service, there is a missing permission check. This could lead to elevation of privilege in Soundrecord…
-
High 7.8
In Music service, there is a missing permission check. This could lead to elevation of privilege in Music service with …
-
High 7.8
In Music service, there is a missing permission check. This could lead to elevation of privilege in Music service with …
-
High 7.8
In Music service, there is a missing permission check. This could lead to elevation of privilege in Music service with …
-
High 7.8
In Music service, there is a missing permission check. This could lead to elevation of privilege in Music service with …
-
High 8.1
In messaging service, there is a missing permission check. This could lead to local information disclosure with no addi…
-
High 7.8
In soundrecorder service, there is a missing permission check. This could lead to elevation of privilege in contacts se…