ClassDraft
CWE-732Incorrect Permission Assignment for Critical Resource
Category: authz
Description
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
When a resource is given a permission setting that provides access to a wider range of actors than required, it could lead to the exposure of sensitive information, or the modification of that resource by unintended parties. This is especially dangerous when the resource is related to program configuration, execution, or sensitive user data. For example, consider a misconfigured storage account for the cloud that can be read or written by a public or anonymous user.
Common consequences· 3
- Confidentiality — Read Application Data, Read Files or DirectoriesAn attacker may be able to read sensitive information from the associated resource, such as credentials or configuration information stored in a file.
- Access Control — Gain Privileges or Assume IdentityAn attacker may be able to modify critical properties of the associated resource to gain privileges, such as replacing a world-writable executable with a Trojan horse.
- Integrity / Other — Modify Application Data, OtherAn attacker may be able to destroy or corrupt critical data in the associated resource, such as deletion of records from a database.
Potential mitigations· 5
- [Implementation]When using a critical resource such as a configuration file, check to see if the resource has insecure permissions (such as being modifiable by any regular user) [REF-62], and generate an error or even exit the software if there is a possibility that the resource could have been modified by an unauthorized party.
- [Architecture and Design]Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully defining distinct user groups, privileges, and/or roles. Map these against data, functionality, and the related resources. Then set the permissions accordingly. This will allow you to maintain more fine-grained control over your resources. [REF-207]
- [Architecture and Design, Operation]
- [Implementation, Installation]During program startup, explicitly set the default permissions or umask to the most restrictive setting possible. Also set the appropriate permissions during program installation. This will prevent you from inheriting insecure permissions from any user who installs or runs the program.
- [System Configuration]For all configuration files, executables, and libraries, make sure that they are only readable and writable by the software's administrator.
Related CAPEC attack patterns· 11
References
Exploits (incoming)11
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Replace Binariescapec-642 | 100% | live |
| AttackPattern | Using Malicious Filescapec-17 | 100% | live |
| AttackPattern | Signing Malicious Codecapec-206 | 100% | live |
| AttackPattern | Session Fixationcapec-61 | 100% | live |
| AttackPattern | Directory Indexingcapec-127 | 100% | live |
| AttackPattern | Exploiting Incorrectly Configured Access Control Security Levelscapec-180 | 100% | live |
| AttackPattern | Reusing Session IDs (aka Session Replay)capec-60 | 100% | live |
| AttackPattern | Accessing Functionality Not Properly Constrained by ACLscapec-1 | 100% | live |
| AttackPattern | Cross Site Request Forgerycapec-62 | 100% | live |
| AttackPattern | Privilege Abusecapec-122 | 100% | live |
| AttackPattern | Hijacking a privileged processcapec-234 | 100% | live |
Compliance frameworks addressing this (incoming)39
| Type | Target | Confidence | Tier |
|---|---|---|---|
| ComplianceControl | dora-art12 | 100% | live |
| ComplianceControl | pci_dss_v4-r1 | 100% | live |
| ComplianceControl | iso27001-a.8.2 | 100% | live |
| ComplianceControl | gdpr-art33 | 100% | live |
| ComplianceControl | iso27701-a.7.3.6 | 100% | live |
| ComplianceControl | ai_act-art15 | 100% | live |
| ComplianceControl | gdpr-art32 | 100% | live |
| ComplianceControl | tiber_eu-closure | 100% | live |
| ComplianceControl | owasp_top10-a05 | 100% | live |
| ComplianceControl | iso27001-a.5.23 | 100% | live |
| ComplianceControl | dora-art24 | 100% | live |
| ComplianceControl | dora-art10 | 100% | live |
| ComplianceControl | gdpr-art35 | 100% | live |
| ComplianceControl | iso27701-a.7.3.1 | 100% | live |
| ComplianceControl | iso27001-a.8.9 | 100% | live |
| ComplianceControl | nis2-art21i | 100% | live |
| ComplianceControl | cis_v8-3 | 100% | live |
| ComplianceControl | cra-annexi-2 | 100% | live |
| ComplianceControl | owasp_llm_top10-llm06 | 100% | live |
| ComplianceControl | dora-art8 | 100% | live |
| ComplianceControl | nis2-art21f | 100% | live |
| ComplianceControl | dora-art9 | 100% | live |
| ComplianceControl | gdpr-art34 | 100% | live |
| ComplianceControl | iso27001-a.8.8 | 100% | live |
| ComplianceControl | ai_act-art10 | 100% | live |
| ComplianceControl | tiber_eu-preparation | 100% | live |
| ComplianceControl | nist_csf-pr | 100% | live |
| ComplianceControl | iso27001-a.8.21 | 100% | live |
| ComplianceControl | dora-art7 | 100% | live |
| ComplianceControl | dora-art13 | 100% | live |
Showing top 30 of 39 by confidence. Click any target to see the full neighbourhood.
(incoming)43
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-0066cve-2025-0066 | 0% | live |
| Vulnerability | CVE-2025-10643cve-2025-10643 | 0% | live |
| Vulnerability | CVE-2025-12985cve-2025-12985 | 0% | live |
| Vulnerability | CVE-2025-13941cve-2025-13941 | 0% | live |
| Vulnerability | CVE-2025-20298cve-2025-20298 | 0% | live |
| Vulnerability | CVE-2025-21564cve-2025-21564 | 0% | live |
| Vulnerability | CVE-2025-24527cve-2025-24527 | 0% | live |
| Vulnerability | CVE-2025-25373cve-2025-25373 | 0% | live |
| Vulnerability | CVE-2025-26168cve-2025-26168 | 0% | live |
| Vulnerability | CVE-2025-26169cve-2025-26169 | 0% | live |
| Vulnerability | CVE-2025-26469cve-2025-26469 | 0% | live |
| Vulnerability | CVE-2025-27216cve-2025-27216 | 0% | live |
| Vulnerability | CVE-2025-34206cve-2025-34206 | 0% | live |
| Vulnerability | CVE-2025-34212cve-2025-34212 | 0% | live |
| Vulnerability | CVE-2025-3936cve-2025-3936 | 0% | live |
| Vulnerability | CVE-2025-3944cve-2025-3944 | 0% | live |
| Vulnerability | CVE-2025-40804cve-2025-40804 | 0% | live |
| Vulnerability | CVE-2025-41118cve-2025-41118 | 0% | live |
| Vulnerability | CVE-2025-41659cve-2025-41659 | 0% | live |
| Vulnerability | CVE-2025-43243cve-2025-43243 | 0% | live |
| Vulnerability | CVE-2025-45150cve-2025-45150 | 0% | live |
| Vulnerability | CVE-2025-45468cve-2025-45468 | 0% | live |
| Vulnerability | CVE-2025-45471cve-2025-45471 | 0% | live |
| Vulnerability | CVE-2025-45472cve-2025-45472 | 0% | live |
| Vulnerability | CVE-2025-4609cve-2025-4609 | 0% | live |
| Vulnerability | CVE-2025-46093cve-2025-46093 | 0% | live |
| Vulnerability | CVE-2025-49131cve-2025-49131 | 0% | live |
| Vulnerability | CVE-2025-52873cve-2025-52873 | 0% | live |
| Vulnerability | CVE-2025-54497cve-2025-54497 | 0% | live |
| Vulnerability | CVE-2025-58372cve-2025-58372 | 0% | live |
Showing top 30 of 43 by confidence. Click any target to see the full neighbourhood.
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.