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 Directories
    An 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 Identity
    An 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, Other
    An 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

CAPEC-1CAPEC-122CAPEC-127CAPEC-17CAPEC-180CAPEC-206CAPEC-234CAPEC-60CAPEC-61CAPEC-62CAPEC-642

References

  1. https://cwe.mitre.org/data/definitions/732.html

Exploits (incoming)11

TypeTargetConfidenceTier
AttackPatternReplace Binariescapec-642100%live
AttackPatternUsing Malicious Filescapec-17100%live
AttackPatternSigning Malicious Codecapec-206100%live
AttackPatternSession Fixationcapec-61100%live
AttackPatternDirectory Indexingcapec-127100%live
AttackPatternExploiting Incorrectly Configured Access Control Security Levelscapec-180100%live
AttackPatternReusing Session IDs (aka Session Replay)capec-60100%live
AttackPatternAccessing Functionality Not Properly Constrained by ACLscapec-1100%live
AttackPatternCross Site Request Forgerycapec-62100%live
AttackPatternPrivilege Abusecapec-122100%live
AttackPatternHijacking a privileged processcapec-234100%live

Compliance frameworks addressing this (incoming)39

TypeTargetConfidenceTier
ComplianceControldora-art12100%live
ComplianceControlpci_dss_v4-r1100%live
ComplianceControliso27001-a.8.2100%live
ComplianceControlgdpr-art33100%live
ComplianceControliso27701-a.7.3.6100%live
ComplianceControlai_act-art15100%live
ComplianceControlgdpr-art32100%live
ComplianceControltiber_eu-closure100%live
ComplianceControlowasp_top10-a05100%live
ComplianceControliso27001-a.5.23100%live
ComplianceControldora-art24100%live
ComplianceControldora-art10100%live
ComplianceControlgdpr-art35100%live
ComplianceControliso27701-a.7.3.1100%live
ComplianceControliso27001-a.8.9100%live
ComplianceControlnis2-art21i100%live
ComplianceControlcis_v8-3100%live
ComplianceControlcra-annexi-2100%live
ComplianceControlowasp_llm_top10-llm06100%live
ComplianceControldora-art8100%live
ComplianceControlnis2-art21f100%live
ComplianceControldora-art9100%live
ComplianceControlgdpr-art34100%live
ComplianceControliso27001-a.8.8100%live
ComplianceControlai_act-art10100%live
ComplianceControltiber_eu-preparation100%live
ComplianceControlnist_csf-pr100%live
ComplianceControliso27001-a.8.21100%live
ComplianceControldora-art7100%live
ComplianceControldora-art13100%live

Showing top 30 of 39 by confidence. Click any target to see the full neighbourhood.

(incoming)43

TypeTargetConfidenceTier
VulnerabilityCVE-2025-0066cve-2025-00660%live
VulnerabilityCVE-2025-10643cve-2025-106430%live
VulnerabilityCVE-2025-12985cve-2025-129850%live
VulnerabilityCVE-2025-13941cve-2025-139410%live
VulnerabilityCVE-2025-20298cve-2025-202980%live
VulnerabilityCVE-2025-21564cve-2025-215640%live
VulnerabilityCVE-2025-24527cve-2025-245270%live
VulnerabilityCVE-2025-25373cve-2025-253730%live
VulnerabilityCVE-2025-26168cve-2025-261680%live
VulnerabilityCVE-2025-26169cve-2025-261690%live
VulnerabilityCVE-2025-26469cve-2025-264690%live
VulnerabilityCVE-2025-27216cve-2025-272160%live
VulnerabilityCVE-2025-34206cve-2025-342060%live
VulnerabilityCVE-2025-34212cve-2025-342120%live
VulnerabilityCVE-2025-3936cve-2025-39360%live
VulnerabilityCVE-2025-3944cve-2025-39440%live
VulnerabilityCVE-2025-40804cve-2025-408040%live
VulnerabilityCVE-2025-41118cve-2025-411180%live
VulnerabilityCVE-2025-41659cve-2025-416590%live
VulnerabilityCVE-2025-43243cve-2025-432430%live
VulnerabilityCVE-2025-45150cve-2025-451500%live
VulnerabilityCVE-2025-45468cve-2025-454680%live
VulnerabilityCVE-2025-45471cve-2025-454710%live
VulnerabilityCVE-2025-45472cve-2025-454720%live
VulnerabilityCVE-2025-4609cve-2025-46090%live
VulnerabilityCVE-2025-46093cve-2025-460930%live
VulnerabilityCVE-2025-49131cve-2025-491310%live
VulnerabilityCVE-2025-52873cve-2025-528730%live
VulnerabilityCVE-2025-54497cve-2025-544970%live
VulnerabilityCVE-2025-58372cve-2025-583720%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.

CWE
Improper Access Control
CWE
Insecure Storage of Sensitive Information
CWE
Incorrect Execution-Assigned Permissions
CWE
Exposure of Sensitive System Information to an Unauthorized Control Sphere
CWE
Incorrect Ownership Assignment
CWE
Incorrect User Management
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.