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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

1279 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-2023-4812 Incorrect Authorization in GitLab — GitLab 7.6 High2024-01-12
CVE-2023-5356 Incorrect Authorization in GitLab — GitLab 7.3 High2024-01-12
CVE-2024-21736 Missing Authorization check in SAP S/4HANA Finance (Advanced Payment Management) — SAP S/4HANA Finance (Advanced Payment Management) 6.4 Medium2024-01-09
CVE-2024-21735 Improper Authorization check in SAP LT Replication Server — SAP LT Replication Server 7.3 High2024-01-09
CVE-2023-52077 External apps using tokens issued by administrators and moderators can call admin APIs — nexkey 8.9 High2023-12-27
CVE-2023-51649 Nautobot missing object-level permissions enforcement when running Job Buttons — nautobot 3.5 Low2023-12-22
CVE-2023-51380 Incorrect Authorization allows Read Access to Issue Comments in GitHub Enterprise Server — Enterprise Server 2.7 Low2023-12-21
CVE-2023-51379 Incorrect Authorization for Issue Comments in GitHub Enterprise Server — Enterprise Server 4.9 Medium2023-12-21
CVE-2023-50732 Velocity execution without script right through tree macro — xwiki-platform 8.3 High2023-12-21
CVE-2023-49734 Apache Superset: Privilege Escalation Vulnerability — Apache Superset 7.7 High2023-12-19
CVE-2023-41314 Apache Doris: Missing API authentication allowed DoS — Apache Doris 9.1AICriticalAI2023-12-18
CVE-2023-3511 Incorrect Authorization in GitLab — GitLab 2.0 Low2023-12-15
CVE-2023-6837 Incorrect Authorization in Multiple WSO2 Products via Federated Authentication with JIT Provisioning Leading to User Impersonation — WSO2 API Manager 8.5 High2023-12-15
CVE-2023-45185 IBM i Access Client Solutions code execution — i Access Client Solutions 7.4 High2023-12-14
CVE-2023-49273 Umbraco CMS vulnerable to Privilege Escalation using Spoofing — Umbraco-CMS 5.4 Medium2023-12-12
CVE-2023-48227 Umbraco CMS Backoffice User can bypass "Publish" restriction — Umbraco-CMS 4.3 Medium2023-12-12
CVE-2023-6542 Improper Export of Android Application Components in SAP EMARSYS SDK ANDROID — SAP EMARSYS SDK ANDROID 7.1 High2023-12-12
CVE-2023-3443 Incorrect Authorization in GitLab — GitLab 3.1 Low2023-12-01
CVE-2023-3964 Incorrect Authorization in GitLab — GitLab 4.3 Medium2023-12-01
CVE-2023-4317 Incorrect Authorization in GitLab — GitLab 4.3 Medium2023-12-01
CVE-2023-4658 Incorrect Authorization in GitLab — GitLab 3.1 Low2023-12-01
CVE-2023-5995 Incorrect Authorization in GitLab — GitLab 4.4 Medium2023-12-01
CVE-2023-47827 WordPress Events Addon for Elementor Plugin <= 2.1.3 is vulnerable to Broken Access Control — Events Addon for Elementor 6.5 Medium2023-11-30
CVE-2023-40610 Apache Superset: Privilege escalation with default examples database — Apache Superset 6.3 Medium2023-11-27
CVE-2023-48712 User authorization bug leading to privilege escalation in warpgate — warpgate 7.1 High2023-11-24
CVE-2023-5553 AXIS OS 安全漏洞 — AXIS OS 7.6 High2023-11-21
CVE-2023-48218 Strapi Protected Populate Plugin leaking fields if the request fields where empty or only fields selected where not populatable — strapi-plugin-protected-populate 5.3 Medium2023-11-20
CVE-2023-3379 WAGO: Improper Privilege Management in web-based management — Compact Controller 100 (751-9301) 5.3 Medium2023-11-20
CVE-2022-40681 Fortinet FortiClient 安全漏洞 — FortiClientWindows 7.1 High2023-11-14
CVE-2023-31403 Improper Access Control vulnerability in SAP Business One product installation — SAP Business One 9.6 Critical2023-11-14

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