Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-863 (授权机制不正确) — Vulnerability Class 1278

1278 vulnerabilities classified as CWE-863 (授权机制不正确). AI Chinese analysis included.

CWE-863, Incorrect Authorization, represents a critical logic flaw where software fails to properly verify an actor’s permissions before granting access to resources or executing actions. Attackers typically exploit this vulnerability by manipulating input parameters, such as altering user IDs or session tokens, to bypass intended access controls and interact with data or functions reserved for privileged users. This often leads to unauthorized data disclosure, modification, or complete system compromise. To prevent such breaches, developers must implement robust, centralized authorization checks that are consistently applied across all application layers. Relying solely on client-side restrictions is insufficient; instead, server-side validation should enforce strict role-based or attribute-based access controls for every request, ensuring that permission verification occurs reliably before any sensitive operation is permitted.

MITRE CWE Description
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Common Consequences (5)
ConfidentialityRead Application Data, Read Files or Directories
An attacker could bypass intended access restrictions to read sensitive data, either by reading the data directly from a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to read the data.
IntegrityModify Application Data, Modify Files or Directories
An attacker could bypass intended access restrictions to modify sensitive data, either by writing the data directly to a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to write the data.
Access ControlGain Privileges or Assume Identity, Bypass Protection Mechanism
An attacker could bypass intended access restrictions to gain privileges by modifying or reading critical data directly, or by accessing privileged functionality.
Confidentiality, Integrity, AvailabilityExecute Unauthorized Code or Commands
An attacker could use elevated privileges to execute unauthorized commands or code.
AvailabilityDoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
An attacker could gain unauthorized access to resources on the system and excessively consume those resources, leading to a denial of service.
Mitigations (5)
Architecture and DesignDivide 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 …
Architecture and DesignEnsure 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…
Architecture and DesignUse 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 DesignFor 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 …
System Configuration, InstallationUse 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.
Examples (1)
The following code could be for a medical records application. It displays a record to already authenticated users, confirming the user's authorization using a value stored in a cookie.
$role = $_COOKIES['role']; if (!$role) { $role = getRole('user'); if ($role) { // save the cookie to send out in future responses setcookie("role", $role, time()+60*60*2); } else{ ShowLoginScreen(); die("\n"); } } if ($role == 'Reader') { DisplayMedicalHistory($_POST['patient_ID']); } else{ die("You are not Authorized to view this record\n"); }
Bad · PHP
CVE IDTitleCVSSSeverityPublished
CVE-2022-23627 Inadequate access verification when using proxy commands in ArchiSteamFarm — ArchiSteamFarm 5.0 Medium2022-02-08
CVE-2022-21713 Exposure of Sensitive Information in Grafana — grafana 4.3 Medium2022-02-08
CVE-2021-24947 RVM - Responsive Vector Maps < 6.4.2 - Subscriber+ Arbitrary File Read — RVM – Responsive Vector Maps 6.5 -2022-02-07
CVE-2021-41571 Pulsar Admin API allows access to data from other tenants using getMessageById API — Apache Pulsar 6.5 -2022-02-01
CVE-2022-23009 F5 BIG-IQ 访问控制错误漏洞 — BIG-IQ Centralized Management 7.2 -2022-01-25
CVE-2021-4133 Red Hat Keycloak 访问控制错误漏洞 — Keycloak 8.8 -2022-01-25
CVE-2022-0333 Moodle 访问控制错误漏洞 — moodle 3.8 -2022-01-25
CVE-2022-0334 Moodle 访问控制错误漏洞 — moodle 5.3 -2022-01-25
CVE-2021-24733 WP Post Page Clone < 1.2 - Unauthorised Post Access — WP Post Page Clone 4.3 -2022-01-24
CVE-2022-21707 Incorrect Authorization in wasmCloud — wasmcloud-otp 6.3 Medium2022-01-21
CVE-2022-21701 Privileged Escalation in Istio — istio 5.0 Medium2022-01-19
CVE-2022-22167 Junos OS: SRX Series: If no-syn-check is enabled, traffic classified as UNKNOWN gets permitted by pre-id-default-policy — Junos OS 7.2 High2022-01-19
CVE-2022-22157 Junos OS: SRX Series: Traffic classification vulnerability when 'no-syn-check' is enabled — Junos OS 7.2 High2022-01-19
CVE-2021-24872 Get Custom Field Values < 4.0 - Contributors+ Arbitrary Post Metadata Access — Get Custom Field Values 6.5 -2021-12-13
CVE-2021-24819 Page/Post Content Shortcode <= 1.0 - Contributor+ Arbitrary Posts/Pages Access — Page/Post Content Shortcode 4.3 -2021-12-13
CVE-2021-24917 WPS Hide Login < 1.9.1 - Protection Bypass with Referer-Header — WPS Hide Login 7.5 -2021-12-06
CVE-2021-43560 Moodle 权限许可和访问控制问题漏洞 — moodle 5.3 -2021-11-22
CVE-2021-43553 OSIsoft PI Vision — PI Vision 3.1 Low2021-11-17
CVE-2021-24851 Insert Pages < 3.7.0 - Contributor+ Arbitrary Posts/Pages Access — Insert Pages 4.3 -2021-11-17
CVE-2021-40504 SAP NetWeaver Application Server 权限许可和访问控制问题漏洞 — SAP NetWeaver AS for ABAP and ABAP Platform--2021-11-10
CVE-2021-42026 Siemens Mendix 安全漏洞 — Mendix Applications using Mendix 8 4.3 -2021-11-09
CVE-2021-42025 Siemens Mendix 安全漏洞 — Mendix Applications using Mendix 8 6.5 -2021-11-09
CVE-2021-24788 Batch Cat <= 0.3 - Subscriber+ Arbitrary Categories Add/Set/Delete to Posts — Batch Cat 6.5 -2021-11-08
CVE-2021-24783 Post Expirator < 2.6.0 - Contributor+ Arbitrary Post Schedule Deletion — Post Expirator: Automatically Unpublish WordPress Posts 6.5 -2021-11-08
CVE-2021-41230 OIDC claims not updated from Identity Provider in Pomerium — pomerium 5.3 Medium2021-11-05
CVE-2021-24770 Stylish Price List < 6.9.1 - Subscriber+ Arbitrary Image Upload — Stylish Price List 6.5 -2021-11-01
CVE-2021-24757 Stylish Price List < 6.9.0 - Unauthenticated Arbitrary Image Upload — Stylish Price List 7.5 -2021-11-01
CVE-2021-24742 Logo Slider and Showcase < 1.3.37 - Editor Plugin's Settings Update — Logo Slider and Showcase 6.5 -2021-11-01
CVE-2021-24717 AutomatorWP < 1.7.6 - Missing Authorization and Privilege Escalation — AutomatorWP 8.8 -2021-11-01
CVE-2021-41189 Communities and collections administrators can escalate their privilege up to system administrator — DSpace 7.2 High2021-10-29

Vulnerabilities classified as CWE-863 (授权机制不正确) represent 1278 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.