CWE-863
Weakness Allowed-with-ReviewIncorrect Authorization
Abstraction: Class · Status: Incomplete
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.
Dimensions
- Behavior-Property: Incorrect
- Behavior-Type: Authorization
Mapping guidance
This CWE entry is a Class and might have Base-level children that would be more appropriate
Examine children of this entry to see if there is a better fit
Relationships and members
Modes of introduction
Authorization weaknesses may arise when a single-user application is ported to a multi-user environment.
REALIZATION: This weakness is caused during implementation of an architectural security tactic.
A developer may introduce authorization weaknesses because of a lack of understanding about the underlying technologies. For example, a developer may assume that attackers cannot modify certain inputs such as headers or cookies.
Detection methods
Automated Static Analysis
Automated static analysis is useful for detecting commonly-used idioms for authorization. A tool may be able to analyze related configuration files, such as .htaccess in Apache web servers, or detect the usage of commonly-used authorization libraries.
Generally, automated static analysis tools have difficulty detecting custom authorization schemes. Even if they can be customized to recognize these schemes, they might not be able to tell whether the scheme correctly performs the authorization in a way that cannot be bypassed or subverted by an attacker.
Effectiveness: Limited
Automated Dynamic Analysis
Automated dynamic analysis may not be able to find interfaces that are protected by authorization checks, even if those checks contain weaknesses.
Manual Analysis
This weakness can be detected using tools and techniques that require manual (human) analysis, such as penetration testing, threat modeling, and interactive tools that allow the tester to record and modify an active session.
Specifically, manual static analysis is useful for evaluating the correctness of custom authorization mechanisms.
Effectiveness: Moderate
These may be more effective than strictly automated techniques. This is especially the case with weaknesses that are related to design and business rules. However, manual efforts might not achieve desired code coverage within limited time constraints.
Manual Static Analysis - Binary or Bytecode
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Binary / Bytecode disassembler - then use manual analysis for vulnerabilities & anomalies
Effectiveness: SOAR Partial
Dynamic Analysis with Automated Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Web Application Scanner
Web Services Scanner
Database Scanners
Effectiveness: SOAR Partial
Dynamic Analysis with Manual Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Host Application Interface Scanner
Fuzz Tester
Framework-based Fuzzer
Forced Path Execution
Monitored Virtual Environment - run potentially malicious code in sandbox / wrapper / virtual machine, see if it does anything suspicious
Effectiveness: SOAR Partial
Manual Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Focused Manual Spotcheck - Focused manual analysis of source
Manual Source Code Review (not inspections)
Effectiveness: SOAR Partial
Automated Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Context-configured Source Code Weakness Analyzer
Effectiveness: SOAR Partial
Architecture or Design Review
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Formal Methods / Correct-By-Construction
Cost effective for partial coverage:
Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)
Effectiveness: High
Notes
Terminology
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user's privileges and any permissions or other access-control specifications that apply to the resource.
Content history
Contributed or reviewed taxonomy mappings for ISA/IEC 62443
Provided diagram to improve CWE usability
updated Demonstrative_Examples, Related_Attack_Patterns, Relationships
updated Potential_Mitigations, References, Relationships
updated References, Relationships
updated Potential_Mitigations
updated Description
updated Detection_Factors
updated Applicable_Platforms, Modes_of_Introduction, References, Relationships
updated References
updated Relationships
updated Relationships
updated Relationships
updated Relationships
updated Alternate_Terms
updated Observed_Examples
updated Relationships
updated Observed_Examples
updated Description, Potential_Mitigations
updated References, Relationships
updated Mapping_Notes, Relationships
updated Taxonomy_Mappings
updated Common_Consequences, Description, Diagram, Relationships, Terminology_Notes
updated Diagram
updated Detection_Factors, Observed_Examples, References
updated Applicable_Platforms, Relationships, Weakness_Ordinalities
updated Applicable_Platforms, Dimensions, References, Relationships, Taxonomy_Mappings
9029 vulnerabilities reference this CWE, most recent first.
GHSA-VW87-2P2H-8RP3
Vulnerability from github – Published: 2022-03-03 00:00 – Updated: 2022-03-17 00:04Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990.
{
"affected": [],
"aliases": [
"CVE-2022-0824"
],
"database_specific": {
"cwe_ids": [
"CWE-284",
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-03-02T12:15:00Z",
"severity": "HIGH"
},
"details": "Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990.",
"id": "GHSA-vw87-2p2h-8rp3",
"modified": "2022-03-17T00:04:17Z",
"published": "2022-03-03T00:00:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0824"
},
{
"type": "WEB",
"url": "https://github.com/webmin/webmin/commit/39ea464f0c40b325decd6a5bfb7833fa4a142e38"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/d0049a96-de90-4b1a-9111-94de1044f295"
},
{
"type": "WEB",
"url": "https://notes.netbytesec.com/2022/03/webmin-broken-access-control-to-post-auth-rce.html"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/166240/Webmin-1.984-Remote-Code-Execution.html"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/169700/Webmin-1.984-File-Manager-Remote-Code-Execution.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VW9W-FMV7-HQ4H
Vulnerability from github – Published: 2022-05-24 17:24 – Updated: 2022-05-24 17:24Huawei FusionComput 8.0.0 have an improper authorization vulnerability. A module does not verify some input correctly and authorizes files with incorrect access. Attackers can exploit this vulnerability to launch privilege escalation attack. This can compromise normal service.
{
"affected": [],
"aliases": [
"CVE-2020-9248"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-07-31T13:15:00Z",
"severity": "MODERATE"
},
"details": "Huawei FusionComput 8.0.0 have an improper authorization vulnerability. A module does not verify some input correctly and authorizes files with incorrect access. Attackers can exploit this vulnerability to launch privilege escalation attack. This can compromise normal service.",
"id": "GHSA-vw9w-fmv7-hq4h",
"modified": "2022-05-24T17:24:50Z",
"published": "2022-05-24T17:24:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-9248"
},
{
"type": "WEB",
"url": "https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20200729-01-fc-en"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-VWC3-P989-3GJ3
Vulnerability from github – Published: 2026-08-25 21:31 – Updated: 2026-08-28 00:31Incorrect authorization in CustomTabs in Google Chrome on on Android prior to 152.0.7977.65 allowed a local attacker to bypass web origin policy via a co-installed app. (Chromium security severity: Medium)
{
"affected": [],
"aliases": [
"CVE-2026-79222"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-25T21:18:16Z",
"severity": "MODERATE"
},
"details": "Incorrect authorization in CustomTabs in Google Chrome on on Android prior to 152.0.7977.65 allowed a local attacker to bypass web origin policy via a co-installed app. (Chromium security severity: Medium)",
"id": "GHSA-vwc3-p989-3gj3",
"modified": "2026-08-28T00:31:58Z",
"published": "2026-08-25T21:31:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-79222"
},
{
"type": "WEB",
"url": "https://chromereleases.googleblog.com/2026/08/stable-channel-update-for-desktop_0256176589.html"
},
{
"type": "WEB",
"url": "https://issues.chromium.org/issues/496195129"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-VWFM-Q7X6-VVC7
Vulnerability from github – Published: 2026-10-13 21:37 – Updated: 2026-10-13 21:37Improper access control in Windows NTFS allows an authorized attacker to elevate privileges locally.
{
"affected": [],
"aliases": [
"CVE-2026-96918"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-13T19:22:03Z",
"severity": "HIGH"
},
"details": "Improper access control in Windows NTFS allows an authorized attacker to elevate privileges locally.",
"id": "GHSA-vwfm-q7x6-vvc7",
"modified": "2026-10-13T21:37:04Z",
"published": "2026-10-13T21:37:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96918"
},
{
"type": "WEB",
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-96918"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VWHH-G8G6-6PF7
Vulnerability from github – Published: 2022-12-22 21:30 – Updated: 2025-04-15 18:31An attacker could have written a value to the first element in a zero-length JavaScript array. Although the array was zero-length, the value was not written to an invalid memory address. This vulnerability affects Firefox < 104.
{
"affected": [],
"aliases": [
"CVE-2022-38475"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-12-22T20:15:00Z",
"severity": "MODERATE"
},
"details": "An attacker could have written a value to the first element in a zero-length JavaScript array. Although the array was zero-length, the value was not written to an invalid memory address. This vulnerability affects Firefox \u003c 104.",
"id": "GHSA-vwhh-g8g6-6pf7",
"modified": "2025-04-15T18:31:33Z",
"published": "2022-12-22T21:30:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38475"
},
{
"type": "WEB",
"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1773266"
},
{
"type": "WEB",
"url": "https://www.mozilla.org/security/advisories/mfsa2022-33"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-VWJ5-WR4R-CQ36
Vulnerability from github – Published: 2024-02-22 00:31 – Updated: 2024-02-22 00:31An issue has been discovered in GitLab affecting all versions before 16.7.6, all versions starting from 16.8 before 16.8.3, all versions starting from 16.9 before 16.9.1. It was possible for group members with sub-maintainer role to change the title of privately accessible deploy keys associated with projects in the group.
{
"affected": [],
"aliases": [
"CVE-2023-3509"
],
"database_specific": {
"cwe_ids": [
"CWE-284",
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-02-21T23:15:08Z",
"severity": "LOW"
},
"details": "An issue has been discovered in GitLab affecting all versions before 16.7.6, all versions starting from 16.8 before 16.8.3, all versions starting from 16.9 before 16.9.1. It was possible for group members with sub-maintainer role to change the title of privately accessible deploy keys associated with projects in the group.",
"id": "GHSA-vwj5-wr4r-cq36",
"modified": "2024-02-22T00:31:02Z",
"published": "2024-02-22T00:31:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3509"
},
{
"type": "WEB",
"url": "https://hackerone.com/reports/2037814"
},
{
"type": "WEB",
"url": "https://gitlab.com/gitlab-org/gitlab/-/issues/416945"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-VWM2-F2H6-4JH9
Vulnerability from github – Published: 2026-12-01 06:31 – Updated: 2026-12-01 06:31The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Missing Authorization via the wc-hippoo/v1/ext/wp/v2/settings REST endpoint in all versions up to, and including, 1.13.0. This is due to the hippoo_rest_re_register_external_routes() function copying every non-Hippoo REST route — including WordPress core routes such as /wp/v2/settings, /wp/v2/users, /wp/v2/plugins, and /wp/v2/themes — into the wc-hippoo/v1/ext/ namespace and replacing each route's permission_callback with __return_true via the hippoo_extension_permission_check filter whenever the requesting role has access_extensions enabled and the extensions allowlist is empty, without re-applying the original core route's capability requirement. This makes it possible for authenticated attackers with subscriber-level access and above to modify arbitrary manage_options-gated site options — including blogname, blogdescription, and any other setting exposed by the WordPress core REST Settings controller — effectively granting administrator-equivalent control over all core REST endpoints mirrored into the plugin's namespace. Exploitation requires that an administrator has configured the attacker's role in the Hippoo Role & Permissions screen with both "Enable access" and "Access extensions" enabled, and that the "Limit to selected extensions" allowlist is empty, which is the default state on sites without any Hippoo extension plugins installed.
{
"affected": [],
"aliases": [
"CVE-2026-131579"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-12-01T06:17:23Z",
"severity": "HIGH"
},
"details": "The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Missing Authorization via the `wc-hippoo/v1/ext/wp/v2/settings` REST endpoint in all versions up to, and including, 1.13.0. This is due to the `hippoo_rest_re_register_external_routes()` function copying every non-Hippoo REST route \u2014 including WordPress core routes such as `/wp/v2/settings`, `/wp/v2/users`, `/wp/v2/plugins`, and `/wp/v2/themes` \u2014 into the `wc-hippoo/v1/ext/` namespace and replacing each route\u0027s `permission_callback` with `__return_true` via the `hippoo_extension_permission_check` filter whenever the requesting role has `access_extensions` enabled and the extensions allowlist is empty, without re-applying the original core route\u0027s capability requirement. This makes it possible for authenticated attackers with subscriber-level access and above to modify arbitrary `manage_options`-gated site options \u2014 including `blogname`, `blogdescription`, and any other setting exposed by the WordPress core REST Settings controller \u2014 effectively granting administrator-equivalent control over all core REST endpoints mirrored into the plugin\u0027s namespace. Exploitation requires that an administrator has configured the attacker\u0027s role in the Hippoo Role \u0026 Permissions screen with both \"Enable access\" and \"Access extensions\" enabled, and that the \"Limit to selected extensions\" allowlist is empty, which is the default state on sites without any Hippoo extension plugins installed.",
"id": "GHSA-vwm2-f2h6-4jh9",
"modified": "2026-12-01T06:31:36Z",
"published": "2026-12-01T06:31:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131579"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/hippoo/tags/1.13.0/app/permissions/access.php#L198"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/hippoo/tags/1.13.0/app/permissions/access.php#L582"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/hippoo/tags/1.13.0/app/rest.php#L101"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/changeset?reponame=\u0026old=3819279%40hippoo\u0026new=3819279%40hippoo"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7f638736-5280-4279-88b4-2515c05136ac?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VWM5-6GGM-73PX
Vulnerability from github – Published: 2026-09-04 12:30 – Updated: 2026-09-04 12:30A Missing Authorization vulnerability in HTTP Connector in Google Cloud Integration Connectors versions prior to 2025-12-11 on Google Cloud Platform allows an authenticated user to escalate privileges and take over a Google Cloud Project using unauthorized service account attachment.
This vulnerability was patched on 11 December 2025, and no customer action is needed.
{
"affected": [],
"aliases": [
"CVE-2026-4644"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-04T11:17:18Z",
"severity": "HIGH"
},
"details": "A Missing Authorization vulnerability in HTTP Connector in Google Cloud Integration Connectors versions prior to 2025-12-11 on Google Cloud Platform allows an authenticated user to escalate privileges and take over a Google Cloud Project using unauthorized service account attachment.\n\n\n\nThis vulnerability was patched on 11 December 2025, and no customer action is needed.",
"id": "GHSA-vwm5-6ggm-73px",
"modified": "2026-09-04T12:30:56Z",
"published": "2026-09-04T12:30:56Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4644"
},
{
"type": "WEB",
"url": "https://docs.cloud.google.com/support/bulletins#gcp-2026-059"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear",
"type": "CVSS_V4"
}
]
}
GHSA-VWMC-G4GV-2MF9
Vulnerability from github – Published: 2026-11-08 15:31 – Updated: 2026-11-08 15:31OpenEMR before 8.4.0 contains an incorrect authorization vulnerability because the prescription REST API routes check the patients.med ACL instead of patients.rx and request no specific permission bit, so read-only Medical/History access passes the check. Authenticated staff users can reuse the UI-exposed APICSRFTOKEN to enumerate prescription UUIDs, forge prescriptions for arbitrary patients, and deactivate existing prescriptions tenant-wide.
{
"affected": [],
"aliases": [
"CVE-2026-124483"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-08T14:18:17Z",
"severity": "HIGH"
},
"details": "OpenEMR before 8.4.0 contains an incorrect authorization vulnerability because the prescription REST API routes check the patients.med ACL instead of patients.rx and request no specific permission bit, so read-only Medical/History access passes the check. Authenticated staff users can reuse the UI-exposed APICSRFTOKEN to enumerate prescription UUIDs, forge prescriptions for arbitrary patients, and deactivate existing prescriptions tenant-wide.",
"id": "GHSA-vwmc-g4gv-2mf9",
"modified": "2026-11-08T15:31:29Z",
"published": "2026-11-08T15:31:29Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/openemr/openemr/security/advisories/GHSA-qrc2-5wvq-f68q"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124483"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-via-prescription-rest-api"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-VWPG-F6GW-RJVF
Vulnerability from github – Published: 2021-05-10 15:18 – Updated: 2021-05-07 18:52Applications using the “Sensitive Headers” functionality in Spring Cloud Netflix Zuul 2.2.6.RELEASE and below may be vulnerable to bypassing the “Sensitive Headers” restriction when executing requests with specially constructed URLs. Applications that use Spring Security's StrictHttpFirewall (enabled by default for all URLs) are not affected by the vulnerability, as they reject requests that allow bypassing.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.springframework.cloud:spring-cloud-netflix-zuul"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.7"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-22113"
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"github_reviewed": true,
"github_reviewed_at": "2021-05-07T18:52:54Z",
"nvd_published_at": "2021-02-23T17:15:00Z",
"severity": "MODERATE"
},
"details": "Applications using the \u201cSensitive Headers\u201d functionality in Spring Cloud Netflix Zuul 2.2.6.RELEASE and below may be vulnerable to bypassing the \u201cSensitive Headers\u201d restriction when executing requests with specially constructed URLs. Applications that use Spring Security\u0027s StrictHttpFirewall (enabled by default for all URLs) are not affected by the vulnerability, as they reject requests that allow bypassing.",
"id": "GHSA-vwpg-f6gw-rjvf",
"modified": "2021-05-07T18:52:54Z",
"published": "2021-05-10T15:18:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22113"
},
{
"type": "WEB",
"url": "https://github.com/spring-cloud/spring-cloud-netflix/commit/8ecb3dca511c3ce0454e42ac31ee2331d7318c07"
},
{
"type": "WEB",
"url": "https://tanzu.vmware.com/security/cve-2021-22113"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Incorrect Authorization in Spring Cloud Netflix Zuul"
}
Mitigation
- 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.
Mitigation
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].
Mitigation MIT-4.4
Strategy: Libraries or Frameworks
- 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].
Mitigation
- 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.
Mitigation
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.
No CAPEC attack patterns related to this CWE.