Skip to content
OpenAdvisories

Weakness (CWE)

CWE-668: Exposure of Resource to Wrong Sphere

Class Draft Mapping discouraged

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

More detail

Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files.

A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system.

In either case, the end result is that a resource has been exposed to the wrong party.

Source: MITRE CWE-668

169 results · Clear filters · Feed

  • Medium 5.0

    Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible

    A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault fi…

  • Medium 4.8

    IPSec UDP key material can be retrieved from EdgeConnect by a user with admin credentials

    1. IPSec UDP key material can be retrieved from machine-to-machine interfaces and human-accessible interfaces by a user with admin credentials. Such a user, with the required system knowledge, could use this material to decrypt in-flight communication. 2. The…

  • Medium 5.0

    Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File

    A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp.…

  • Medium 6.5

    Jenkins JIRA Plugin allows users to select and use credentials with System scope

    Jenkins JIRA Plugin 3.0.10 and earlier does not declare the correct (folder) scope for per-folder Jira site definitions, allowing users to select and use credentials with System scope.

  • Medium 5.3

    Pomelo allows external control of critical state data

    Pomelo v2.2.5 allows external control of critical state data. A malicious user input can corrupt arbitrary methods and attributes in template/game-server/app/servers/connector/handler/entryHandler.js because certain internal attributes can be overwritten via …

  • Medium 5.5

    Cisco IOS XE Software ASIC Register Write Vulnerability

    A vulnerability in the CLI of Cisco IOS XE Software could allow an authenticated, local attacker to write values to the underlying memory of an affected device. The vulnerability is due to improper input validation and authorization of specific commands that …

  • Medium 4.3

    Jenkins Google Kubernetes Engine Plugin vulnerable to Exposure of Resource to Wrong Sphere

    Jenkins Google Kubernetes Engine Plugin 0.6.2 and earlier created a temporary file containing a temporary access token in the project workspace, where it could be accessed by users with Job/Read permission.

  • Medium 4.2

    Access Control Bypass

    An issue was discovered in Rancher 2 through 2.1.5. Any project member with access to the default namespace can mount the netes-default service account in a pod, and then use that pod to execute administrative privileged commands against the k8s cluster. This…

  • Medium 5.3

    Moodle Unauthorized searching of arbitrary blogs by typing full url

    In Moodle 2.x and 3.x, searching of arbitrary blogs is possible because a capability check is missing.