Skip to content
OpenAdvisories

Weakness (CWE)

CWE-732: Incorrect Permission Assignment for Critical Resource

Class Draft

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

How to prevent it (8 mitigations)
  1. 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.

  2. 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]

  3. Architecture and Design, Operation

    Run 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 example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations.

    This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise.

    Be careful to avoid CWE-243 and other weaknesses related to jails.

  4. 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.

  5. System Configuration

    For all configuration files, executables, and libraries, make sure that they are only readable and writable by the software's administrator.

  6. Documentation

    Do not suggest insecure configuration changes in documentation, especially if those configurations can extend to resources and other programs that are outside the scope of the application.

  7. Installation

    Do not assume that a system administrator will manually change the configuration to the settings that are recommended in the software's manual.

  8. Operation, System Configuration

    Ensure that the software runs properly under the United States Government Configuration Baseline (USGCB) [REF-199] or an equivalent hardening configuration guide, which many organizations use to limit the attack surface and potential risk of deployed software.

Source: MITRE CWE-732

374 results · Clear filters · Feed

  • Medium 5.0

    Incorrect permission assignment in the user migration feature in Devolutions Server 2024.3.8.0 and earlier allows users…

  • Medium 4.1

    stalld through 1.19.7 allows local users to cause a denial of service (file overwrite) via a /tmp/rtthrottle symlink at…

  • Medium 6.4

    This Medium severity Security Misconfiguration vulnerability was introduced in version 8.8.1 of Confluence Data Center …

  • Medium 5.9

    Affected devices create coredump files when crashed, storing them with world-readable permission. Any local user of the…

  • Medium 5.3

    Incorrect evaluation of effective permissions in M-Files Aino

    Improper access control vulnerability in M-Files Aino in versions before 24.10 allowed an authenticated user to access object information via incorrect evaluation of effective permissions.

  • Medium 5.7

    WAGO: Unauthorized Diagnostic Data Exposure in Multiple Devices

    A low privileged remote attacker may gain access to forbidden diagnostic data due to incorrect permission assignment for critical resources.

  • Medium 4.3

    Akamai SIA (Secure Internet Access Enterprise) ThreatAvert, in SPS (Security and Personalization Services) before the l…

  • Medium 6.6

    Rancher's External RoleTemplates can lead to privilege escalation

    A vulnerability has been identified whereby privilege escalation checks are not properly enforced for RoleTemplateobjects when external=true, which in specific scenarios can lead to privilege escalation.

  • Medium 6.9

    Incorrect Permission Assignment for Critical Resource vulnerability has been discovered in OpenText™ Vertica.

    Incorrect Permission Assignment for Critical Resource vulnerability in OpenText™ Vertica could allow Privilege Abuse and result in unauthorized access or privileges to Vertica agent apikey. This issue affects Vertica: from 10.0 through 10.X, from 11.0 through…

  • Medium 5.5

    Apache Portable Runtime (APR): Unexpected lax shared memory permissions

    Lax permissions set by the Apache Portable Runtime library on Unix platforms would allow local users read access to named shared memory segments, potentially revealing sensitive application data. This issue does not affect non-Unix platforms, or builds with A…

  • Medium 6.8

    IBM App Connect Enterprise Certified Container

    IBM App Connect Enterprise Certified Container 5.0, 7.1, 7.2, 8.0, 8.1, 8.2, 9.0, 9.1, 9.2, 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 12.0, and 12.1 does not limit calls to unshare in running Pods. This can allow a user with privileged access to e…

  • Medium 6.8

    Rockwell Automation ThinManager® ThinServer™ Information Disclosure

    A vulnerability exists in the Rockwell Automation ThinManager® ThinServer that allows a threat actor to disclose sensitive information. A threat actor can exploit this vulnerability by abusing the ThinServer™ service to read arbitrary files by creating a junc…

  • Medium 5.2

    GlobalProtect App: Local Privilege Escalation (PE) Vulnerability

    A privilege escalation (PE) vulnerability in the Palo Alto Networks GlobalProtect app on Windows devices enables a local user to execute programs with elevated privileges.

  • Medium 6.0

    Cluster-level privilege escalation in kubean

    Kubean is a cluster lifecycle management toolchain based on kubespray and other cluster LCM engine. The ClusterRole has `*` verbs of `*` resources. If a malicious user can access the worker node which has kubean's deployment, he/she can abuse these excessive …

  • Medium 5.3

    FOG Weak file permissions

    FOG is a cloning/imaging/rescue suite/inventory management system. The application stores plaintext service account credentials in the "/opt/fog/.fogsettings" file. This file is by default readable by all users on the host. By exploiting these credentials, a …

  • Medium 4.4

    A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Monterey 12.7.6, macOS Son…

  • Medium 6.3

    snapd allows $HOME/bin symlink

    In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a…

  • Medium 6.7

    A vulnerability in the boot process of Cisco IOS XR Software could allow an authenticated, local attacker with high pri…

  • Medium 4.3

    A vulnerability has been identified in SINEMA Remote Connect Server (All versions < V3.2 SP1). The affected application…

  • Medium 5.3

    The vCenter Server contains a denial-of-service vulnerability. A malicious actor with network access to vCenter Server …

  • Medium 6.4

    QTS, QuTS hero

    An incorrect permission assignment for critical resource vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated users to read or modify the resource via a network. We have al…

  • Medium 6.8

    Non privileged access to critical file vulnerability in GE HealthCare EchoPAC products

    Non privileged access to critical file vulnerability in GE HealthCare EchoPAC products

  • Medium 6.3

    A vulnerability has been identified in SIMATIC RTLS Locating Manager (6GT2780-0DA00) (All versions < V3.0.1.1), SIMATIC…

  • Medium 6.7

    Local privilege escalation in Harmony Endpoint Security Client for Windows via crafted DLL file

    A local privilege escalation vulnerability has been identified in Harmony Endpoint Security Client for Windows versions E88.10 and below. To exploit this vulnerability, an attacker must first obtain the ability to execute local privileged code on the target s…

  • Medium 6.2

    Rpm-ostree: world-readable /etc/shadow file

    A security vulnerability has been discovered within rpm-ostree, pertaining to the /etc/shadow file in default builds having the world-readable bit enabled. This issue arises from the default permissions being set at a higher level than recommended, potentiall…

  • Medium 6.9

    Git Credential Manager (GCM)'s Debian package does not set root ownership on installed files

    Git Credential Manager (GCM) is a secure Git credential helper. Prior to 2.5.0, the Debian package does not set root ownership on installed files. This allows user 1001 on a multi-user system can replace binary and gain other users' privileges. This vulnerabi…

  • Medium 5.7

    Brocade SANnav versions before v2.3.0a do not correctly set permissions on files, including docker files

    Brocade SANnav versions before v2.3.0a do not correctly set permissions on files, including docker files. An unprivileged attacker who gains access to the server can read sensitive information from these files.

  • Medium 6.1

    Vulnerability in the PeopleSoft Enterprise HCM Benefits Administration product of Oracle PeopleSoft (component: Benefit…

  • Medium 4.4

    IBM UrbanCode Deploy improper privilege control

    IBM UrbanCode Deploy (UCD) 7.0 through 7.0.5.20, 7.1 through 7.1.2.16, 7.2 through 7.2.3.9, 7.3 through 7.3.2.4 and IBM DevOps Deploy 8.0 through 8.0.0.1 could be vulnerable to incomplete revocation of permissions when deleting a custom security resource type…

  • Medium 6.5

    Permission control vulnerability in the Bluetooth module. Impact: Successful exploitation of this vulnerability may aff…

  • Medium 6.5

    Pebble service manager's file pull API allows access by any user

    It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also ava…

  • Medium 6.7
    CVE-2024-28589 Public exploit

    An issue was discovered in Axigen Mail Server for Windows versions 10.5.18 and before, allows local low-privileged atta…

  • Medium 5.5

    Dell Grab for Windows, versions 5.0.4 and below, contains an improper file permissions vulnerability. A locally authent…

  • Medium 5.3

    Information Disclosure vulnerability in SAP NetWeaver (Enterprise Portal)

    Under certain condition SAP NetWeaver (Enterprise Portal) - version 7.50 allows an attacker to access information which would otherwise be restricted causing low impact on confidentiality of the application and with no impact on Integrity and Availability of …

  • Medium 5.3

    Information Disclosure vulnerability in SAP NetWeaver Process Integration (Support Web Pages)

    Under certain conditions, Support Web Pages of SAP NetWeaver Process Integration (PI) - versions 7.50, allows an attacker to access information which would otherwise be restricted, causing low impact on Confidentiality with no impact on Integrity and Availabi…

  • Medium 5.3

    Information Disclosure vulnerability in NetWeaver (WSRM)

    Under certain conditions SAP NetWeaver WSRM - version 7.50, allows an attacker to access information which would otherwise be restricted, causing low impact on Confidentiality with no impact on Integrity and Availability of the application.

  • Medium 6.2

    In setListening of AppOpsControllerImpl.java, there is a possible way to hide the microphone privacy indicator when res…

  • Medium 5.3

    Information Disclosure vulnerability in SAP NetWeaver Application Server ABAP (SAP Kernel)

    SAP NetWeaver Application Server (ABAP) - versions KERNEL 7.53, KERNEL 7.54, KERNEL 7.77, KERNEL 7.85, KERNEL 7.89, KERNEL 7.93, KERNEL 7.94, KRNL64UC 7.53, under certain conditions, allows an attacker to access information which could otherwise be restricted…

  • Medium 4.1

    Spring Security's spring-security.xsd file is world writable

    The spring-security.xsd file inside the spring-security-config jar is world writable which means that if it were extracted it could be written by anyone with access to the file system. While there are no known exploits, this is an example of “CWE-732: Incorre…

  • Medium 4.3

    Record titles for restricted records can be viewed if exposed by GridFieldAddExistingAutocompleter

    Silverstripe Framework is the framework that forms the base of the Silverstripe content management system. Prior to versions 4.13.39 and 5.1.11, if a user should not be able to see a record, but that record can be added to a `GridField` using the `GridFieldAd…