Skip to content
OpenAdvisories

Weakness (CWE)

CWE-266: Incorrect Privilege Assignment

Base Draft

A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.

How to prevent it (2 mitigations)
  1. Architecture and Design, Operation

    Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.

  2. Architecture and Design, Operation

    Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

Source: MITRE CWE-266

686 results · Clear filters · Feed

  • Medium 6.4

    It was discovered freeradius up to and including version 3.0.19 does not correctly configure logrotate, allowing a loca…

  • Medium 4.5
    CVE-2019-3843 Public exploit

    It was discovered that a systemd service that uses DynamicUser property can create a SUID/SGID binary that would be all…

  • Medium —

    Jenkins allows for Privilege Escalation by Remote Authenticated Users

    The combination filter Groovy script in Jenkins before 1.600 and LTS before 1.596.1 allows remote authenticated users with job configuration permission to gain privileges and execute arbitrary code on the master via unspecified vectors.

  • Medium —

    Jenkins allows for Privilege Escalation by Remote Authenticated Users

    The API token-issuing service in Jenkins before 1.606 and LTS before 1.596.2 allows remote attackers to gain privileges via a "forced API token change" involving anonymous users.

  • Medium 4.2

    sshd in OpenSSH before 6.6 does not properly support wildcards on AcceptEnv lines in sshd_config, which allows remote a…

  • Medium 6.5

    Jboss enterprise application platform: org.jboss.as.ejb3: jboss enterprise application platform: access restriction bypass via improper ejb method authorization

    A flaw was found in JBoss Enterprise Application Platform. The `processInvocation` function within the `org.jboss.as.ejb3.security.AuthorizationInterceptor` component incorrectly authorizes all requests when no roles are defined for an Enterprise Java Beans (…