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

34 results · Clear filters · Feed

  • Low 2.2

    Docling: KServe v2 OCR engine does not enforce enable_remote_services

    Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.83.0 until 2.131.0, the KServeV2OcrModel class defined in docling/models/stages/ocr/kserve_v2_ocr_model.py sends page images …

  • Low 3.4

    Dark Reader: Ability to request icon-like bitmap data from certain local web servers

    Dark Reader is an accessibility browser extension that makes web pages colors dark. Prior to 4.9.126, a website can cause the browser extension's image inversion pipeline to request an unauthenticated icon-like bitmap from a locally running web server when th…

  • Low 3.3

    Wi-Fi MAC Address Obtainment by Non-privileged Program Vulnerability in ZTE Z80Ultra (NX741J) product

    The Z80Ultra (NX741J) product contains a vulnerability where non-privileged programs can retrieve the Wi-Fi MAC address by querying the read-only field factory_mac_address in the Settings.Secure database.

  • Low 2.7

    WebSocket Exposure Vulnerability in NitroSense and PredatorSense Software

    A vulnerability has been identified in the Acer System Monitoring component included with NitroSense and PredatorSense. A WebSocket service was configured to listen on all network interfaces, which may expose the service to unintended network access.

  • Low 2.1

    GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default

    GitHub CLI (gh) is GitHub's official command line tool. Versions 2.28.0 through 2.97.0 bind the local listener created by gh codespace ports forward to all available network interfaces by default. While port forwarding is active, a service in a Codespace can …

  • Low 3.1

    Improper resource exposure in Preload in Google Chrome prior to 152.0.7977.65 allowed a remote attacker to bypass site …

  • Low 2.0

    Customized help link for page protection indicator is relative to subpage name, because the link target is missing the "/wiki/" prefix

    Vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Page/Article.Php. This issue affects MediaWiki: from * before 1.43.7, 1.44.4, 1.45.2.

  • Low 3.3

    Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch

    nesquena hermes-webui contains an environment variable leakage vulnerability where profile switching does not clear environment variables from the previously active profile before loading the next profile. Attackers or users can exploit additive dotenv reload…

  • Low 3.7

    Apache Airflow: 3.x - Nested Variable Secret Values Bypass Redaction via max_depth=1

    Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retrieved by the user the secrets stored as nested fields were not masked. If you do not store variables with sensitive values in JSON form, you are not a…

  • Low 3.4

    Dark Reader gives users the ability to request style sheets from local web servers

    Dark Reader is an accessibility browser extension that makes web pages colors dark. The dynamic dark mode feature of the extension works by analyzing the colors of web pages found in CSS style sheet files. In order to analyze cross-origin style sheets (stored…

  • Low 2.2

    Unguarded calls to __toString() when nesting an object into an array in Twig

    Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a f…

  • Low 2.2

    Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig

    Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the securit…

  • Low 3.0

    Public key confusion in third party block in Biscuit

    Biscuit is an authorization token with decentralized verification, offline attenuation and strong security policy enforcement based on a logic language. Third-party blocks can be generated without transferring the whole token to the third-party authority. Ins…

  • Low 3.3

    Moodle: auto-populated h5p author name causes a potential information leak

    H5P metadata automatically populated the author with the user's username, which could be sensitive information.

  • Low 3.3

    Moodle: students can view other users in "only see own membership" groups

    Students in "Only see own membership" groups could see other students in the group, which should be hidden.

  • Low 2.7

    Authenticated clients can read arbitrary files on the MAIN Computer system using the remote procedure call (RPC) of the…

  • Low 3.6

    Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

    Redis is an in-memory database that persists on disk. On startup, Redis begins listening on a Unix socket before adjusting its permissions to the user-provided configuration. If a permissive umask(2) is used, this creates a race condition that enables, during…

  • Low 3.1

    Secret displayed without masking by Chef Identity Plugin

    Jenkins Chef Identity Plugin 2.0.3 and earlier does not mask the user.pem key form field, increasing the potential for attackers to observe and capture it.

  • Low 3.4

    Nomad Caller ACL Token's Secret ID is Exposed to Sentinel

    HashiCorp Nomad Enterprise 1.2.11 up to 1.5.6, and 1.4.10 ACL policies using a block without a label generates unexpected results. Fixed in 1.6.0, 1.5.7, and 1.4.11.

  • Low 3.7

    Unauthenticated user can have information about hidden users on subwikis through uorgsuggest.vm

    XWiki Commons are technical libraries common to several other top level XWiki projects. It's possible to list some users who are normally not viewable from subwiki by requesting users on a subwiki which allows only global users with `uorgsuggest.vm`. This iss…

  • Low 2.7

    SilverwareGames.io users with access to the game upload panel are able to edit download links for games uploaded by other developers

    SilverwareGames.io versions before 1.2.19 allow users with access to the game upload panel to edit download links for games uploaded by other developers. This has been fixed in version 1.2.19.

  • Low 3.3

    RestEasy Reactive implementation of Quarkus allows Creation of Temporary File With Insecure Permissions

    In RestEasy Reactive implementation of Quarkus the insecure File.createTempFile() is used in the FileBodyHandler class which creates temp files with insecure permissions that could be read by a local user.

  • Low 3.9

    A CWE-668: Exposure of Resource to Wrong Sphere vulnerability exists that could cause all remote domains to access the …

  • Low 3.3

    Temporary File Information Disclosure Vulnerability

    MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ's use of `File.createTempFile(..)` results in temporary files being created with the permi…

  • Low 2.6

    ManyDesigns Portofino WarFileLauncher.java createTempDir temp file

    A vulnerability has been found in ManyDesigns Portofino 5.3.2 and classified as problematic. Affected by this vulnerability is the function createTempDir of the file WarFileLauncher.java. The manipulation leads to creation of temporary file in directory with …

  • Low 2.6

    Tauri Filesystem Scope can be Partially Bypassed

    Tauri is a framework for building binaries for all major desktop platforms. In versions prior to 1.0.7 and 1.1.2, Tauri is vulnerable to an Incorrectly-Resolved Name. Due to incorrect escaping of special characters in paths selected via the file dialog and dr…

  • Low 3.3

    Jenkins HTTP Request Plugin stores HTTP Request passwords unencrypted

    Jenkins HTTP Request Plugin 1.15 and earlier stores HTTP Request passwords unencrypted in its global configuration file on the Jenkins controller where they can be viewed by users with access to the Jenkins controller file system.

  • Low 2.2

    Exposure of Resource to Wrong Sphere in Electron

    Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer…

  • Low 3.7

    Invitation Email is resent as a Reminder after invalidating pending email invites

    Mattermost 6.4.x and earlier fails to properly invalidate pending email invitations when the action is performed from the system console, which allows accidentally invited users to join the workspace and access information from the public teams and channels.

  • Low 3.3

    Exposure of Resource to Wrong Sphere in Simple-Wayland-HotKey-Daemon

    SWHKD 1.1.5 allows arbitrary file-existence tests via the -c option.

  • Low 3.4

    Renderers can obtain access to random bluetooth device without permission in Electron

    Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` allows renderers to obtain access to a bluetooth device v…

  • Low 3.3

    File exposure in pleaser

    please before 0.4 allows a local unprivileged attacker to gain knowledge about the existence of files or directories in privileged locations via the search_path function, the --check option, or the -d option.

  • Low 3.1

    Potential sensitive data exposure in applications using Vaadin 15

    Insecure configuration of default ObjectMapper in com.vaadin:flow-server versions 3.0.0 through 3.0.5 (Vaadin 15.0.0 through 15.0.4) may expose sensitive data if the application also uses e.g. @RestController

  • Low 3.3

    RuboCop gem Insecure use of /tmp

    RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.