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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-732 (关键资源的不正确权限授予) — Vulnerability Class 447

447 vulnerabilities classified as CWE-732 (关键资源的不正确权限授予). AI Chinese analysis included.

CWE-732 represents a critical access control weakness where software assigns overly permissive security attributes to vital resources, such as files, directories, or registry keys. This misconfiguration allows unintended actors to read or modify data that should remain restricted, often leading to sensitive information disclosure or unauthorized system changes. Attackers typically exploit this by identifying these loose permissions to access confidential data or alter critical configurations, potentially escalating privileges or compromising system integrity. To prevent this, developers must adhere to the principle of least privilege, ensuring resources are accessible only to necessary processes and users. Rigorous code reviews, automated static analysis tools, and strict adherence to secure coding standards help identify and correct improper permission assignments before deployment, thereby safeguarding critical assets against unauthorized access and manipulation.

MITRE CWE 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)
ConfidentialityRead 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 ControlGain 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, OtherModify 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.
Mitigations (5)
ImplementationWhen 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 DesignDivide 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]
Effectiveness: Moderate
Architecture and Design, OperationRun the code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software. OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For ex…
Effectiveness: Limited
Implementation, InstallationDuring 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.
Effectiveness: High
System ConfigurationFor all configuration files, executables, and libraries, make sure that they are only readable and writable by the software's administrator.
Effectiveness: High
Examples (2)
The following code sets the umask of the process to 0 before creating a file and writing "Hello world" into the file.
#define OUTFILE "hello.out" umask(0); FILE *out; /* Ignore link following (CWE-59) for brevity */ out = fopen(OUTFILE, "w"); if (out) { fprintf(out, "hello world!\n"); fclose(out); }
Bad · C
-rw-rw-rw- 1 username 13 Nov 24 17:58 hello.out
Result
This code creates a home directory for a new user, and makes that user the owner of the directory. If the new directory cannot be owned by the user, the directory is deleted.
function createUserDir($username){ $path = '/home/'.$username; if(!mkdir($path)){ return false; } if(!chown($path,$username)){ rmdir($path); return false; } return true; }
Bad · PHP
CVE IDTitleCVSSSeverityPublished
CVE-2024-7612 Ivanti Endpoint Manager Mobile 安全漏洞 — Endpoint Manager Mobile 8.8 High2024-10-08
CVE-2024-6360 Incorrect Permission Assignment for Critical Resource vulnerability has been discovered in OpenText™ Vertica. — Vertica 8.8 -2024-10-02
CVE-2024-7594 Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default — Vault 7.5 High2024-09-26
CVE-2024-8039 TECNO com.afmobi.boomplayer 安全漏洞 — com.afmobi.boomplayer 9.8 -2024-09-14
CVE-2024-41171 Siemens SINUMERIK 安全漏洞 — SINUMERIK 828D V4 8.8 High2024-09-10
CVE-2023-49582 Apache Portable Runtime (APR): Unexpected lax shared memory permissions — Apache Portable Runtime (APR) 3.3AILowAI2024-08-26
CVE-2022-43915 IBM App Connect Enterprise Certified Container — App Connect Enterprise Certified Container 6.8 Medium2024-08-24
CVE-2024-7986 Rockwell Automation ThinManager® ThinServer™ Information Disclosure — ThinManager® ThinServer™ 7.5AIHighAI2024-08-23
CVE-2024-5930 VIPRE Advanced Security Incorrect Permission Assignment Local Privilege Escalation Vulnerability — Advanced Security 7.8AIHighAI2024-08-21
CVE-2024-7513 Rockwell Automation FactoryTalk® View Site Edition Code Execution Vulnerability via File Permissions — FactoryTalk View Site Edition 7.8AIHighAI2024-08-14
CVE-2024-5915 GlobalProtect App: Local Privilege Escalation (PE) Vulnerability — GlobalProtect App 7.8AIHighAI2024-08-14
CVE-2024-6619 Incorrect Permission Assignment for Critical Resource in Ocean Data Systems Dream Report — Dream Report 2023 7.8AIHighAI2024-08-13
CVE-2024-41820 Cluster-level privilege escalation in kubean — kubean 6.0 Medium2024-08-05
CVE-2024-41954 FOG Weak file permissions — fogproject 5.3 Medium2024-07-31
CVE-2024-31202 Plug and Track Thermoscan IP 安全漏洞 — Thermoscan IP 7.8 High2024-07-31
CVE-2024-1724 snapd allows $HOME/bin symlink — snap 6.3 Medium2024-07-25
CVE-2024-5618 Broken Access Control in PruvaSoft Informatics' Apinizer Management Console — Apinizer Management Console 9.9 Critical2024-07-18
CVE-2024-6435 Rockwell Automation Privilege Escalation Vulnerability in Pavilion8® — Pavilion8® 7.1AIHighAI2024-07-16
CVE-2024-6780 Improper permission control in com.android.server.telecom — com.android.server.telecom 6.2AIMediumAI2024-07-16
CVE-2024-20456 Cisco IOS XR 安全漏洞 — Cisco IOS XR Software 6.7 Medium2024-07-10
CVE-2024-28827 Privilege escalation in Windows agent — Checkmk 8.8 High2024-07-10
CVE-2024-39875 Siemens SINEMA Remote Connect Server 安全漏洞 — SINEMA Remote Connect Server 4.3 Medium2024-07-09
CVE-2024-5163 Improper permission settings in com.transsion.carlcare — com.transsion.carlcare 9.1AICriticalAI2024-06-17
CVE-2024-37369 Rockwell Automation FactoryTalk® View SE Local Privilege Escalation Vulnerability via Local File Permissions — FactoryTalk® View SE 8.8AIHighAI2024-06-14
CVE-2024-3668 PowerPack Pro for Elementor <= 2.10.17 - Authenticated (Contributor+) Privilege Escalation — PowerPack Pro for Elementor 8.8 High2024-06-08
CVE-2024-30369 A10 Thunder ADC Incorrect Permission Assignment Local Privilege Escalation Vulnerability — Thunder ADC 7.8AIHighAI2024-06-06
CVE-2024-21902 QTS, QuTS hero — QTS 6.4 Medium2024-05-21
CVE-2023-5936 Unsafe temporary data privileges on Unix systems in Arc before v1.6.0 — Arc 7.8 High2024-05-15
CVE-2024-27108 Non privileged access to critical file vulnerability in GE HealthCare EchoPAC products — EchoPAC Software Only 6.8 Medium2024-05-14
CVE-2024-1486 Elevation of privileges via misconfigured access control list in GE HealthCare ultrasound devices — Venue 7.4 High2024-05-14

Vulnerabilities classified as CWE-732 (关键资源的不正确权限授予) represent 447 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.