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 6.2

    A privacy issue was addressed with improved handling of files. This issue is fixed in iOS 17.3 and iPadOS 17.3, macOS S…

  • Medium 4.3

    WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending

    The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.5.0 via the send_backup_codes_email due to missing validation on a user controlled key. This ma…

  • Medium 4.4
    CVE-2024-21305 Public exploit

    Hypervisor-Protected Code Integrity (HVCI) Security Feature Bypass Vulnerability

    Hypervisor-Protected Code Integrity (HVCI) Security Feature Bypass Vulnerability

  • Medium 6.7

    Local Privilege Escalation Vulnerability of ZTE's ZXCLOUD iRAI

    There is a local privilege escalation vulnerability of ZTE's ZXCLOUD iRAI.Attackers with regular user privileges can create a fake process, and to escalate local privileges.

  • Medium 6.5

    Weak Folder Permission Vulnerability in ZTE ZXCLOUD iRAI

    There is a weak folder permission vulnerability in ZTE's ZXCLOUD iRAI product. Due to weak folder permission, an attacker with ordinary user privileges could construct a fake DLL to execute command to escalate local privileges.

  • Medium 5.4

    xxl-job-admin vulnerable to Insecure Permissions

    xxl-job-admin 2.4.0 is vulnerable to Insecure Permissions via /xxl-job-admin/joblog/clearLog and /xxl-job-admin/joblog/logDetailCat.

  • Medium 6.4

    Cortex XSOAR: Local Privilege Escalation (PE) Vulnerability in Cortex XSOAR Engine

    A local privilege escalation (PE) vulnerability in the Palo Alto Networks Cortex XSOAR engine software running on a Linux operating system enables a local attacker to execute programs with elevated privileges if the attacker has shell access to the engine.

  • Medium 5.0

    Junos OS and Junos OS Evolved: A local attacker can retrieve sensitive information and elevate privileges on the device to an authorized user.

    An Incorrect Permission Assignment for Critical Resource vulnerability in a specific file of Juniper Networks Junos OS and Junos OS Evolved allows a local authenticated attacker to read configuration changes without having the permissions. When a user with th…

  • Medium 6.6

    A vulnerability has been identified in SICAM PAS/PQS (All versions >= V8.00 < V8.22). The affected application is insta…

  • Medium 5.3

    Broadcast permission control vulnerability in the framework module. Successful exploitation of this vulnerability may c…

  • Medium 5.3

    A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when th…

  • Medium 6.3

    Improper Access Control in SAP S/4HANA (Manage Journal Entry Template)

    When creating a journal entry template in SAP S/4HANA (Manage Journal Entry Template) - versions S4CORE 104, 105, 106, 107, an attacker could intercept the save request and change the template, leading to an impact on confidentiality and integrity of the reso…

  • Medium 6.5

    DataEase has a privilege bypass vulnerability

    DataEase is an open source data visualization analysis tool to analyze data and gain insight into business trends. Affected versions of DataEase has a privilege bypass vulnerability where ordinary users can gain access to the user database. Exposed informatio…

  • Medium 5.3

    IBM Security Directory Suite VA information disclosure

    IBM Security Directory Suite VA 8.0.1 specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. IBM X-Force ID: 228571.

  • Medium 6.5

    Arbitrary file read vulnerability in Jenkins AWS CodeCommit Trigger Plugin

    Jenkins AWS CodeCommit Trigger Plugin 3.0.12 and earlier does not restrict the AWS SQS queue name path parameter in an HTTP endpoint, allowing attackers with Item/Read permission to obtain the contents of arbitrary files on the Jenkins controller file system.

  • Medium 5.5

    A vulnerability has been identified in SICAM P850 (7KG8500-0AA00-0AA0) (All versions < V3.11), SICAM P850 (7KG8500-0AA0…

  • Medium 4.7

    When Akka HTTP before 10.5.2 accepts file uploads via the FileUploadDirectives.fileUploadAll directive, the temporary f…

  • Medium 4.3

    Jenkins Tag Profiler Plugin missing permission check

    A missing permission check in Jenkins Tag Profiler Plugin 0.2 and earlier allows attackers with Overall/Read permission to reset profiler statistics.

  • Medium 6.5

    Jenkins Azure VM Agents Plugin missing permission checks

    A missing permission check in Jenkins Azure VM Agents Plugin 852.v8d35f0960a_43 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified Azure Cloud server using attacker-specified credentials IDs obtained through another …

  • Medium 4.3

    Jenkins Email Extension Plugin missing permission check

    Jenkins Email Extension Plugin does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read permission to check for the existence of files in the email-templates/ directory in the Jenkins home directory on…

  • Medium 5.2

    Planet's secret file is created with excessive permissions

    Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the fi…

  • Medium 6.5

    Incorrect permission assignment for critical resource in some Intel(R) QAT drivers for Windows before version 1.9.0 may…

  • Medium 5.5

    A permission misconfiguration in UI Desktop for Windows (Version 0.59.1.71 and earlier) could allow an user to hijack V…

  • Medium 4.2

    Multisite denial of service through unsanitized dynamic dispatch to SiteSetting in Discourse

    Discourse is an open source platform for community discussion. In affected versions a user logged as an administrator can call arbitrary methods on the `SiteSetting` class, notably `#clear_cache!` and `#notify_changed!`, which when done on a multisite instanc…

  • Medium 6.5

    CubeFS allows Kubernetes cluster-level privilege escalation

    CubeFS through 3.2.1 allows Kubernetes cluster-level privilege escalation. This occurs because DaemonSet has cfs-csi-cluster-role and can thus list all secrets, including the admin secret.

  • Medium 4.3

    No access control for the OTP key on OTP entries

    No access control for the OTP key   on OTP entries in Devolutions Remote Desktop Manager Windows 2022.3.33.0 and prior versions and Remote Desktop Manager Linux 2022.3.2.0 and prior versions allows non admin users to see OTP keys via the user interface.

  • Medium 6.5
    CVE-2023-24626 Public exploit

    socket.c in GNU Screen through 4.9.0, when installed setuid or setgid (the default on platforms such as Arch Linux and …

  • Medium 5.5

    Supermicro X11SSL-CF HW Rev 1.01, BMC firmware v1.63 was discovered to contain insecure permissions.

  • Medium 4.3

    Bhima version 1.27.0 allows an authenticated attacker with regular user permissions to update arbitrary user session da…

  • Medium 4.3

    A flaw was found in Samba. An incomplete access check on dnsHostName allows authenticated but otherwise unprivileged us…

  • Medium 6.5

    Hippo4j allows attacker to obtain sensitive info via ConfigVerifyController function of Tenant Management module

    Insecure Permissions vulnerability found in OpenGoofy Hippo4j v.1.4.3 allows attacker to obtain sensitive information via the ConfigVerifyController function of the Tenant Management module.

  • Medium 5.5

    tripleo-ansible may disclose important configuration details from an OpenStack deployment

    A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restricted. This flaw allows a local attacker to use brute force to explore the relevant directory and discover the file. T…

  • Medium 5.5

    tripleo-ansible may disclose important configuration details from an OpenStack deployment

    A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restricted. This flaw allows a local attacker to use brute force to explore the relevant directory and discover the file, l…

  • Medium 6.5

    Exposure of Sensitive Information in OpenGoofy Hippo4j

    Insecure Permissions vulnerability found in OpenGoofy Hippo4j v.1.4.3 allows attacker toescalate privileges via the AddUser method of the UserController function in Tenant Management module.

  • Medium 5.3

    Permissions vulnerability found in isoftforce Dreamer CMS v.4.0.1 allows local attackers to obtain sensitive informatio…

  • Medium 4.9

    iControl REST and tmsh vulnerability

    In BIG-IP versions 17.0.x before 17.0.0.2, 16.1.x before 16.1.3.3, 15.1.x before 15.1.8.1, 14.1.x before 14.1.5.3, and all versions of 13.1.x, and all versions of BIG-IQ 8.x and 7.1.x, incorrect permission assignment vulnerabilities exist in the iControl REST…

  • Medium 5.5

    In exported content providers of ShannonRcs, there is a possible way to get access to protected content providers due t…

  • Medium 5.3

    In Eternal Terminal 6.2.1, etserver and etclient have predictable logfile names in /tmp.

  • Medium 6.2

    EXFO - BV-10 Performance Endpoint Unit Misconfiguration

    EXFO - BV-10 Performance Endpoint Unit misconfiguration. System configuration file has misconfigured permissions

  • Medium 5.5

    An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.8 before 15.5.7, all versions star…