Skip to content
OpenAdvisories

Weakness (CWE)

CWE-209: Generation of Error Message Containing Sensitive Information

Base Draft

The product generates an error message that includes sensitive information about its environment, users, or associated data.

How to prevent it (7 mitigations)
  1. Implementation

    Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.

    If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.

    Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.

  2. Implementation

    Handle exceptions internally and do not display errors containing potentially sensitive information to a user.

  3. Implementation

    Use naming conventions and strong types to make it easier to spot when sensitive data is being used. When creating structures, objects, or other complex entities, separate the sensitive and non-sensitive data as much as possible.

  4. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  5. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  6. System Configuration

    Where available, configure the environment to use less verbose error messages. For example, in PHP, disable the display_errors setting during configuration, or at runtime using the error_reporting() function.

  7. System Configuration

    Create default error pages or messages that do not leak any information.

Source: MITRE CWE-209

82 results · Clear filters · Feed

  • Low 2.3

    compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output

    compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affec…

  • Low 2.3

    compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target

    compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.32.0, compose-lint automatically follows a .compose-lint.yml policy-file symbolic link outside the project and includes part of …

  • Low 3.7

    Warpgate: Kubernetes listener discloses internal error text to an unauthenticated caller

    Warpgate is an open source SSH, HTTPS, and MySQL bastion host for Linux. Prior to 0.29.0, the Kubernetes protocol listener uses AcceptAnyClientCert in warpgate-protocol-kubernetes/src/server/client_certs.rs to accept certificates at the TLS layer and defer va…

  • Low 3.7

    Dell Secure Connect Gateway (SCG) Policy Manager, versions prior to 5.34.00.16, contains a Generation of Error Message …

  • Low 3.7

    HCL BigFix Service Management is affected by multiple security vulnerabilities.

    HCL BigFix Service Management is affected by an Information Disclosure vulnerability the application returns sensitive information in error messages when invalid inputs are sent to certain API endpoints . This information could enable an attacker to facilitat…

  • Low 3.1

    HCL iControl is affected by an Improper Error Handling vulnerability

    iControl is affected by an Improper Error Handling vulnerability, which could allow an unauthenticated attacker to trigger verbose database and system errors, enabling the disclosure of sensitive internal infrastructure details used to plan advanced targeted …

  • Low 2.7

    Automation-controller: automation-controller-container: automation-controller: notification template jinja whitelist bypass via conditional gating leaks tracebacks

    Notification template Jinja AST whitelist only inspects static Getattr nodes. Dynamic subscripts (job['job'+'_env']) and {% if job.id > 100 %} conditional gating bypass both the AST check and the test-render (stub has small job.id). At runtime, the gated bran…

  • Low 2.7

    IBM Guardium Data Protection is affected by multiple vulnerabilities.

    IBM Guardium Data Protection 12.2 could allow an administrative user to obtain sensitive information when a detailed technical error message is returned in the browser. This information could be used in further attacks against the system.

  • Low 2.7

    Omni: Operator can traverse image-factory API paths via unsanitized `talos_version` in CreateSchematic

    Omni manages Kubernetes on bare metal, virtual machines, or in a cloud. Prior to 1.6.6 and 1.7.3, managementServer.CreateSchematic in internal/backend/grpc/schematics.go passes the caller-controlled TalosVersion field to imageFactoryClient.OverlaysVersions wi…

  • Low 2.1

    Ash.Resource.Validation.Confirm leaks a confirmed field's stored value in the atomic mismatch error

    Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash discloses the stored value of a confirmed field to an actor who fails its confirmation check. Ash.Resource.Validation.Confirm's atomic implementation (atomic/2 in li…

  • Low 2.3

    AshPhoenix Form.Auto leaks submitted params in an unknown _union_type error message

    Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_phoenix writes the entire raw submitted param map into an exception message, so secrets submitted alongside a union form field leak into logs, crash reports and the …

  • Low 3.9

    HCL BigFix Quantum Risk Analyzer is affected by generating error messages with sensitive information

    HCL BigFix Quantum Risk Analyzer has a certain validation process that provides overly descriptive error messages when it encounters malformed input which can allow an attacker to conduct more efficient reconnaissance and fine-tune automated fuzzing tools to …

  • Low 2.7

    rclone before v1.75.0 Information Disclosure via RC API

    rclone before v1.75.0 includes full Go stack traces in RC API error responses when panics occur. Attackers can trigger panics to leak internal file paths, module versions, goroutine states, and memory addresses.

  • Low 3.5

    Combodo iTop: Information disclosure in ajax.render.php

    Combodo iTop is a web based IT service management tool. Prior to 3.2.3, there is sensitive information disclosure in the error messages. This issue has been fixed in version 3.2.3.

  • Low 3.7

    CKAN MCP Server: Information disclosure via verbose error reflection

    CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, error paths reflect raw upstream response bodies and internal exception messages back to the caller instead of a sanitized, generic message. When the server is pointed at (or red…

  • Low 3.7

    HCL iControl is affected by multiple security vulnerabilities.

    HCL iControl was affected by Improper Error Handling vulnerabilities. It involves Out of memory, null pointer exceptions, system call failure, database unavailable, network timeout, and hundreds of other common conditions can cause errors to be generated.

  • Low 3.7

    HCL iControl is affected by multiple security vulnerabilities.

    HCL iControl was affected by Information Exposure Through Verbose Client-Side API Error Messages vulnerabilities. It involves application displays raw server/API error messages to users instead of generic error messages and exposes internal endpoint names, re…

  • Low 3.5

    HCL Connections is vulnerable to information disclosure

    HCL Connections is vulnerable to information disclosure which could allow a user to obtain sensitive information they are not entitled to, caused by improper handling of request data.they are not entitled to, caused by improper handling of request data.

  • Low 3.1

    HCL iControl was affected by Unhandled Exception - Stack Trace Disclosure vulnerability

    HCL iControl v4.0.0 was affected by Unhandled Exception - Stack Trace Disclosure vulnerability. The error occurs due to an undefined property being accessed in the application's JavaScript code. Specifically, the code attempts to read the property dashboard k…

  • Low 1.6

    Possible information disclosure of environment variables in Vaadin Build Plugins via Failed Frontend Build

    A possible information disclosure vulnerability exists in the Vaadin Maven plugin and Vaadin Gradle plugin that exposes the full set of environment variables in build logs whenever the frontend build process exits with a non-zero status. Because the build env…

  • Low 3.1

    HCL DFXAnalytics is affected by an Improper Error Handling vulnerability

    HCL DFXAnalytics is affected by an Improper Error Handling vulnerability where the application exposes detailed stack traces in responses, which could allow an attacker to gain insights into the application's internal structure, code logic, and environment co…

  • Low 3.7

    Spring gRPC AuthenticationException message reflected to remote client

    The raw message of every server-side AuthenticationException is returned to the unauthenticated remote caller in the gRPC status description. This allows an attacker to obtain information about the authentication failure, which may be useful for further attac…

  • Low 2.9

    Internal Filesystem Exploration vulnerability

    HCL AION is affected by a vulnerability where certain system behaviours may allow exploration of internal filesystem structures. Exposure of such information may provide insights into the underlying environment, which could potentially aid in further targeted…

  • Low 3.5

    wandb OpenUI APIStatusError server.py generic_exception_handler information exposure

    A vulnerability was found in wandb OpenUI up to 1.0/3.5-turb. Affected is the function generic_exception_handler of the file backend/openui/server.py of the component APIStatusError Handler. The manipulation of the argument key results in information exposure…

  • Low 3.7

    Keycloak: keycloak: user enumeration via differential error messages

    A flaw was found in Keycloak. A remote attacker can exploit differential error messages during the identity-first login flow when Organizations are enabled. This vulnerability allows an attacker to determine the existence of users, leading to information disc…

  • Low 2.2

    Cryptomator: Leaking of cleartext paths into log file in non-debug mode

    Cryptomator encrypts data being stored on cloud infrastructure. Prior to version 1.19.0, in non-debug mode Cryptomator might leak cleartext paths into the log file. This can reveal meta information about the files stored inside a vault at a time, where the ac…

  • Low 2.7

    free5GC UDR's NEF incorrectly returns 500 for missing PFD data (UDR 404) in Nnef_PfdManagement GET request

    free5GC UDR is the user data repository (UDR) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. Versions prior to 1.4.1 contain an Improper Error Handling vulnerability with Information Exposure. All deployments of free5GC u…

  • Low 2.7

    Moonraker with LDAP Enabled Allows Malicious Search Filter Injection

    Moonraker is a Python web server providing API access to Klipper 3D printing firmware. In versions 0.9.3 and below, instances configured with the "ldap" component enabled are vulnerable to LDAP search filter injection techniques via the login endpoint. The 40…

  • Low 1.8

    HCL AION is affected by a Technical Error Disclosure vulnerability

    HCL AION version 2 is affected by a Technical Error Disclosure vulnerability. This can expose sensitive technical details, potentially resulting in information disclosure or aiding further attacks.

  • Low 2.4

    Nextcloud Desktop discloses information when attempting to lock a file inside a end-to-end encrypted directory

    Nextcloud Desktop is the desktop sync client for Nextcloud. Prior to 3.16.5, when trying to manually lock a file inside an end-to-end encrypted directory, the path of the file was sent to the server unencrypted, making it possible for administrators to see it…

  • Low 2.7

    Improper Error Handling Leading to Sensitive Information Disclosure in CIGES ≤ 2.15.6

    A sensitive information disclosure vulnerability exists in the error handling component of ATISoluciones CIGES Application version 2.15.6 and earlier. When certain unexpected conditions trigger unhandled exceptions, the application returns detailed error mess…

  • Low 3.5

    HCL Unica Centralized Offer Management is vulnerable to poor unhandled exceptions which exposes sensitive information

    HCL Unica Centralized Offer Management is vulnerable to poor unhandled exceptions which exposes sensitive information. An attacker can exploit use this information to exploit known vulnerabilities launch targeted attacks, such as remote code execution or deni…

  • Low 3.7

    mtons mblog register information exposure

    A vulnerability was determined in mtons mblog up to 3.5.0. Affected is an unknown function of the file /register. The manipulation leads to information exposure through error message. It is possible to launch the attack remotely. The complexity of an attack i…

  • Low 2.6

    A vulnerability has been identified in SmartClient modules Opcenter QL Home (SC) (All versions >= V13.2 < V2506), SOA A…

  • Low 3.5

    A vulnerability has been identified in SmartClient modules Opcenter QL Home (SC) (All versions >= V13.2 < V2506), SOA A…

  • Low 3.7

    atjiu pybbs Registered Email SettingsApiController.java sendEmailCode information exposure

    A vulnerability was found in atjiu pybbs up to 6.0.0 and classified as problematic. This issue affects the function sendEmailCode of the file src/main/java/co/yiiu/pybbs/controller/api/SettingsApiController.java of the component Registered Email Handler. The …

  • Low 3.7

    Mailform Pro CGI prior to 4.3.4 generates error messages containing sensitive information, which may allow a remote una…

  • Low 3.5

    Disclosure of sensitive information in an error message in GoAnywhere prior to version 7.8.0

    When a Web User without Create permission on subfolders attempts to upload a file to a non-existent directory, the error message includes the absolute server path which may allow Fuzzing for application mapping. This issue affects GoAnywhere: before 7.8.0.

  • Low 2.7

    IBM InfoSphere Information Server information disclosure

    IBM InfoSphere Information Server 11.7 could allow a remote attacker to obtain sensitive information when a detailed technical error message is returned in the browser. This information could be used in further attacks against the system.

  • Low 2.7

    In JetBrains TeamCity before 2025.03 exception could lead to credential leakage on Cloud Profiles page