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-42351 AEM Incorrect Authorization Security feature bypass — Experience Manager 4.3 Medium2022-12-19
CVE-2022-41962 BigBlueButton contains Incorrect Authorization for setting emoji status — bigbluebutton 2.7 Low2022-12-16
CVE-2022-23741 Incorrect authorization in GitHub Enterprise Server token generation leading to full admin access — GitHub Enterprise Server 7.2 -2022-12-14
CVE-2022-23473 Tuleap MediaWiki standalone "readers" can also edit pages — tuleap 4.3 Medium2022-12-13
CVE-2022-46160 Tuleap dashboards vulnerable to Incorrect Authorization — tuleap 4.3 Medium2022-12-13
CVE-2022-41274 SAP Disclosure Management 信息泄露漏洞 — Disclosure Management 6.5 Medium2022-12-13
CVE-2022-4397 morontt zend-blog-number-2 Comment Comment.php cross-site request forgery — zend-blog-number-2 4.3 Medium2022-12-10
CVE-2020-36610 annyshow DuxCMS cross-site request forgery — DuxCMS 4.3 Medium2022-12-08
CVE-2022-4349 CTF-hacker pwn delete.html cross-site request forgery — pwn 4.3 Medium2022-12-08
CVE-2022-46167 Capsule vulnerable to privilege escalation by ServiceAccount deployed in a Tenant Namespace — capsule 8.8 High2022-12-02
CVE-2022-4090 rickxy Stock Management System cross-site request forgery — Stock Management System 4.3 Medium2022-11-24
CVE-2022-4013 Hospital Management Center appointment.php cross-site request forgery — Hospital Management Center 4.3 Medium2022-11-16
CVE-2022-4014 FeehiCMS Post My Comment Tab cross-site request forgery — FeehiCMS 4.3 Medium2022-11-16
CVE-2022-41918 Issue with fine-grained access control of indices backing data streams — security 6.3 Medium2022-11-15
CVE-2022-3978 NodeBB abort cross-site request forgery — NodeBB 4.3 Medium2022-11-13
CVE-2022-20928 Cisco Adaptive Security Appliance(ASA)Software和Cisco Firepower Threat Defense(FTD)Software 安全漏洞 — Cisco Adaptive Security Appliance (ASA) Software 5.8 Medium2022-11-10
CVE-2022-39388 Istio may allow identity impersonation if user has localhost access — istio 7.6 High2022-11-10
CVE-2022-39352 OpenFGA Authorization Bypass — openfga 4.8 Medium2022-11-08
CVE-2022-42344 [CVE-2021-36032] Magento IDOR Leads to Account Takeover — Adobe Commerce 8.8 High2022-10-20
CVE-2022-3582 SourceCodester Simple Cold Storage Management System cross-site request forgery — Simple Cold Storage Management System 4.3 Medium2022-10-18
CVE-2022-3585 SourceCodester Simple Cold Storage Management System Contact Us cross-site request forgery — Simple Cold Storage Management System 4.3 Medium2022-10-18
CVE-2022-39302 Ree6 may bypass webhook protection — Ree6 5.5 Medium2022-10-13
CVE-2022-31252 permissions: chkstat does not check for group-writable parent directories or target files in safeOpen() — SUSE Linux Enterprise Server 12-SP5 4.4 Medium2022-10-06
CVE-2022-39275 Improper object type validation in saleor — saleor 5.3 Medium2022-10-06
CVE-2022-3024 Simple Bitcoin Faucets <= 1.7.0 - Unauthorised AJAX Call to Stored XSS — Bitcoin Satoshi Tools : Faucets, Visitor Rewarder, Satoshi Games, Referral Program 7.6 -2022-09-26
CVE-2022-39955 Partial rule set bypass in OWASP ModSecurity Core Rule Set by submitting a specially crafted HTTP Content-Type header — ModSecurity Core Rule Set 7.3 High2022-09-20
CVE-2022-39956 Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header — ModSecurity Core Rule Set 7.3 High2022-09-20
CVE-2022-39958 Response body bypass in OWASP ModSecurity Core Rule Set via repeated HTTP Range header submission with a small byte range — ModSecurity Core Rule Set 7.5 High2022-09-20
CVE-2022-36109 Moby vulnerability relating to supplementary group permissions — moby 5.3 Medium2022-09-09
CVE-2022-23451 barbican 授权问题漏洞 — openstack/barbican 8.1 -2022-09-06

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