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

989 results · Feed

  • High 7.6

    Openshift-api: openshift-controller-manager/build: build process in openshift allows overwriting of node pull credentials

    A flaw was found in the OpenShift build process, where the docker-build container is configured with a hostPath volume mount that maps the node's /var/lib/kubelet/config.json file into the build pod. This file contains sensitive credentials necessary for pull…

  • Medium 4.8

    User-Readable Private Key in Windows Agent

    Incorrect permissions on the Checkmk Windows Agent's data directory in Checkmk < 2.3.0p23, < 2.2.0p38 and <= 2.1.0p49 (EOL) allows a local attacker to read sensitive data.

  • Medium 6.8

    IBM i incorrect privilege assignment

    IBM i 7.4 and 7.5 is vulnerable to an authenticated user gaining elevated privilege to a physical file. A user with authority to a view can alter the based-on physical file security attributes without having object management rights to the physical file. A ma…

    IBM i
  • Medium 6.9

    Exposure of Sensitive Information to an Unauthorized Actor vulnerability in ODA CDE inWEB SDK before 2025.3

    Exposure of Sensitive Information to an Unauthorized Actor vulnerability was discovered in Open Design Alliance CDE inWEB SDK before 2025.3. Installing CDE Server with default settings allows unauthorized users to visit prometheus metrics page. This can allow…

  • Medium 5.3

    Accept Stripe Payments Using Contact Form 7 <= 2.5 - Unauthenticated Information Exposure

    The Accept Stripe Payments Using Contact Form 7 plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 2.5 via the cf7sa-info.php file that returns phpinfo() data. This makes it possible for unauthenticated attackers …

  • High 7.1

    Insufficient permissions in the TeamViewer Patch & Asset Management component

    Insufficient permissions in the TeamViewer Patch & Asset Management component prior to version 24.12 on Windows allows a local authenticated user to delete arbitrary files. TeamViewer Patch & Asset Management is part of TeamViewer Remote Management.

  • High 7.1

    Insufficient permissions in Ivanti DSM before version 2024.3.5740 allows a local authenticated attacker to delete arbit…

  • High 8.8

    Insecure permissions in Ivanti Sentry before versions 9.20.2 and 10.0.2 or 10.1.0 allow a local authenticated attacker …

  • High 7.1

    Insufficient permissions in Ivanti Patch SDK before version 9.7.703 allows a local authenticated attacker to delete arb…

  • Medium 5.9

    Incorrect Permission Assignment in RutOS based routers and TSWOS based managed switches

    In Teltonika Networks RUTOS devices, running on versions 7.0 to 7.8 (excluding) and TSWOS devices running on versions 1.0 to 1.3 (excluding), due to incorrect permission handling a vulnerability exists which allows a lower privileged user with default permiss…

  • Critical 9.8

    Insecure Permissions vulnerability in Open Robotics Robotic Operating System 2 ROS2 navigation2 v.humble allows an atta…

  • Medium 6.5

    Incorrect permission assignment for critical resource issue exists in UD-LT1 firmware Ver.2.1.9 and earlier and UD-LT1/…

  • High 8.1

    Incorrect permission assignment in temporary access requests component in Devolutions Remote Desktop Manager 2024.3.19.…

  • Medium 5.0

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

  • High 7.1

    From the VSPC management agent machine, under condition that the management agent is authorized on the server, it is po…

  • High 8.2

    The GriceMobile com.grice.call application 4.5.2 for Android enables any installed application (with no permissions) to…

  • 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…

  • High 7.0

    Panda Security Dome VPN Incorrect Permission Assignment Local Privilege Escalation Vulnerability

    Panda Security Dome VPN Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Panda Security Dome. An attacker must first obtain the ability to e…

  • High 7.0

    G DATA Total Security Incorrect Permission Assignment Local Privilege Escalation Vulnerability

    G DATA Total Security Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of G DATA Total Security. An attacker must first obtain the ability to e…

  • High 7.8

    Foxit PDF Reader Update Service Incorrect Permission Assignment Local Privilege Escalation Vulnerability

    Foxit PDF Reader Update Service Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Foxit PDF Reader. An attacker must first obtain the ability…

  • High 7.8

    Foxit PDF Reader Update Service Incorrect Permission Assignment Local Privilege Escalation Vulnerability

    Foxit PDF Reader Update Service Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Foxit PDF Reader. An attacker must first obtain the ability…

  • High 8.4

    Notes Station 3

    An incorrect permission assignment for critical resource vulnerability has been reported to affect Notes Station 3. If exploited, the vulnerability could allow local authenticated attackers who have gained administrator access to read or modify the resource. …

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

  • High 7.1

    WAGO: BACNet Service Property Modification Due to Permission Misconfiguration in Multiple Devices

    A low privileged remote attacker may modify the BACNet service properties due to incorrect permission assignment for critical resources which may lead to a DoS limited to BACNet communication.

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

  • High 7.8

    Incorrect file permissions in Ivanti Connect Secure before version 22.6R2 (Not Applicable to 9.1Rx) and Ivanti Policy S…

  • High 7.3

    Incorrect permissions in Ivanti Secure Access Client before version 22.7R4 allows a local authenticated attacker to cre…

  • High 8.4

    A vulnerability has been identified in SINEC NMS (All versions < V3.0 SP1). The affected application contains a databas…

  • High 7.8

    A vulnerability has been identified in SIPORT (All versions < V3.4.0). The affected application improperly assigns file…

  • High 7.8

    Local Privilege Escalation via Weak Service Binary Permissions

    Attackers with local access to the medical office computer can escalate their Windows user privileges to "NT AUTHORITY\SYSTEM" by overwriting one of two Elefant service binaries with weak permissions. The default installation directory of Elefant is "C:\Elefa…

  • High 8.6

    Rapid7 Velociraptor Local Privilege Escalation In Windows Velociraptor Service

    Rapid7 Velociraptor MSI Installer versions below 0.73.3 suffer from a vulnerability whereby it creates the installation directory with WRITE_DACL permission to the BUILTIN\\Users group. This allows local users who are not administrators to grant themselves th…

  • Medium 4.3

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

  • Low 3.8

    Vagrant VMWare Utility installation files vulnerable to modification by unprivileged user

    The Vagrant VMWare Utility Windows installer targeted a custom location with a non-protected path that could be modified by an unprivileged user, introducing potential for unauthorized file system writes. This vulnerability, CVE-2024-10228, was fixed in Vagra…

  • High 7.1

    NVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager that allows a user of the guest OS to access g…

  • Critical 9.1

    RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists

    ### Impact A vulnerability has been identified whereby RKE2 deployments in Windows nodes have weak Access Control Lists (ACL), allowing `BUILTIN\Users` or `NT AUTHORITY\Authenticated Users` to view or edit sensitive files which could lead to privilege escalat…

  • High 7.5

    OvalEdge 5.2.8.0 and earlier is affected by a Sensitive Data Exposure vulnerability via a GET request to /user/getUserW…

  • Low 3.8

    Incorrect permission assignment for critical resource issue exists in Exment v6.1.4 and earlier and Exment v5.0.11 and …

  • High 7.3

    Nokia SR OS: File Access Security Vulnerability

    Nokia SR OS routers allow read-write access to the entire file system via SFTP or SCP for users configured with "access console." Consequently, a low privilege authenticated user with "access console" can read or replace the router configuration file as well …