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

527 results · Feed

  • Medium 4.3

    IBM TRIRIGA information disclosure

    IBM TRIRIGA 3.0, 4.0, and 4.4 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. IBM X-Force ID: 190744.

  • Unscored —
    CVE-2023-20593 Public exploit

    An issue in “Zen 2” CPUs, under specific microarchitectural circumstances, may allow an attacker to potentially access …

  • Medium 5.3

    Generation of Error Message Containing Sensitive Information in GitLab

    An information disclosure issue in GitLab CE/EE affecting all versions from 16.0 prior to 16.0.6, and version 16.1.0 allows unauthenticated actors to access the import error information if a project was imported from GitHub.

  • High 8.2

    league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase

    league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had t…

  • Low 2.7

    Flask-AppBuilder vulnerable to possible disclosure of sensitive information on user error

    Flask-AppBuilder is an application development framework, built on top of Flask. Prior to version 4.3.2, an authenticated malicious actor with Admin privileges, could by adding a special character on the add, edit User forms trigger a database error, this err…

  • Low 3.3

    In JetBrains Ktor before 2.3.1 headers containing authentication data could be added to the exception's message

  • Medium 4.3

    Sensitive Information Disclosure abusing Stack Trace in Xibo CMS

    Xibo is a content management system (CMS). Starting in version 3.0.0 and prior to version 3.3.5, some API routes will print a stack trace when called with missing or invalid parameters revealing sensitive information about the locations of paths that the serv…

  • Medium 6.2

    IBM MQ information disclosure

    IBM MQ 8.0, 9.0, and 9.1 could allow a local user to obtain sensitive credential information when a detailed technical error message is returned in a stack trace. IBM X-Force ID: 250398.

  • Medium 5.3

    In affected versions of Octopus Deploy it is possible to discover network details via error message

  • Medium 5.5

    In registerPhoneAccount of PhoneAccountRegistrar.java, uncaught exceptions in parsing persisted user data could lead to…

  • Medium 5.3

    IBM Maximo Asset Management information disclosure

    IBM Maximo Asset Management 7.6.1.2 and 7.6.1.3 could disclose sensitive information in an error message. This information could be used in further attacks against the system. IBM X-Force ID: 249207.

  • Medium 5.3

    User account enumeration in Serenity

    An issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. When a password reset request occurs, the server response leaks the existence of users. If one tries to reset a password of a non-existent user, an error message indicates that this use…

  • High 7.5

    No Exception Handling Vulnerability: Database Performance Analyzer (DPA) 2023.1

    No exception handling vulnerability which revealed sensitive or excessive information to users.

  • High 8.7

    SpiceDB binding metrics port to untrusted networks and can leak command-line flags

    SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. The `spicedb serve` command contains a flag named `--grpc-preshared-key` which is used to protect the gRPC API from being…

  • Medium 4.3

    Hitachi Vantara Pentaho Business Analytics Server - Generation of Error Message Containing Sensitive Information

    Hitachi Vantara Pentaho Business Analytics Server prior to versions 9.4.0.0 and 9.3.0.2, including 8.3.x display the full parametrized SQL query in an error message when an invalid character is used within a Pentaho Report (*.prpt). 

  • Medium 4.3

    Hitachi Vantara Pentaho Business Analytics Server - Generation of Error Message Containing Sensitive Information

    Hitachi Vantara Pentaho Business Analytics Server prior to versions 9.4.0.0 and 9.3.0.2, including 8.3.x display the target path on host when a file is uploaded with an invalid character in its name. 

  • High 7.6

    Sentry SDK leaks sensitive session information when `sendDefaultPII` is set to `True`

    Sentry SDK is the official Python SDK for Sentry, real-time crash reporting software. When using the Django integration of versions prior to 1.14.0 of the Sentry SDK in a specific configuration it is possible to leak sensitive cookies values, including the se…

  • Medium 4.3

    IBM Security Key Lifecycle Manager information disclosure

    IBM Security Guardium Key Lifecycle Manager 3.0, 3.0.1, 4.0, 4.1, and 4.1.1 could allow an authenticated user to obtain sensitive information from log files. IBM X-Force ID: 247602.

  • Medium 5.3

    Information disclosure in Apache Airflow

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache Airflow: before 2.5.2.

  • High 7.4
    CVE-2023-27587 Public exploit Scanner template

    ReadtoMyShoe, a web app that lets users upload articles and listen to them later, generates an error message containing…

  • Low 3.7

    Saleor is vulnerable to unauthenticated information disclosure via Python exceptions

    Saleor is a headless, GraphQL commerce platform delivering personalized shopping experiences. Some internal Python exceptions are not handled properly and thus are returned in API as error messages. Some messages might contain sensitive information like infra…

  • Medium 6.5

    Saleor is vulnerable to staff-authenticated error message information disclosure vulnerability via Python exceptions

    Saleor is a headless, GraphQL commerce platform delivering personalized shopping experiences. Some internal Python exceptions are not handled properly and thus are returned in API as error messages. Some messages might contain sensitive information like user …

  • Medium 4.3

    IBM Financial Transaction Manager for Digital Payments for Multi-Platform 3.2.0 through 3.2.7 could allow a remote atta…

  • High 7.5

    Apache Airflow AWS Provider: Arbitrary file read via AWS provider

    Generation of Error Message Containing Sensitive Information vulnerability in the Apache Airflow AWS Provider. This issue affects Apache Airflow AWS Provider versions before 7.2.1.

  • Medium 5.3

    SonicWall Email Security contains a vulnerability that could permit a remote unauthenticated attacker access to an erro…

  • Medium 5.3

    Wyse Management Suite Repository 3.8 and below contain an information disclosure vulnerability. A unauthenticated attac…

  • High 7.5

    PgHero Allows Information Disclosure Through EXPLAIN Feature

    PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error message. (Depending on database user privileges, this may only be information from the database, or may be information from file contents on the dat…

  • Low 3.5

    sumocoders FrameworkUserBundle login.html.twig information exposure

    ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in sumocoders FrameworkUserBundle up to 1.3.x. It has been rated as problematic. Affected by this issue is some unknown functionality of the file Resources/views/Security/login.html.twig. The manipulat…

  • Medium 5.3

    IBM Security Verify Governance, Identity Manager information disclosure

    IBM Security Verify Governance, Identity Manager 10.01 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. IBM …

  • Medium 6.5

    When importing resources using Web Workers, error messages would distinguish the difference between <code>application/j…

  • Medium 5.0

    ghinstallation returns app JWT in error responses

    ghinstallation provides transport, which implements http.RoundTripper to provide authentication as an installation for GitHub Apps. In ghinstallation version 1, when the request to refresh an installation token failed, the HTTP request and response would be r…

  • Low 3.3

    In enforceVisualVoicemailPackage of PhoneInterfaceManager.java, there is a possible leak of visual voicemail package na…

  • Low 3.3

    Information Exposure Vulnerability in JP1/Automatic Operation

    Generation of Error Message Containing Sensitive Information vulnerability in Hitachi JP1/Automatic Operation allows local users to gain sensitive information. This issue affects JP1/Automatic Operation: from 10-00 through 10-54-03, from 11-00 before 11-51-09…

  • Medium 6.7

    Grafana subject to Exposure of Sensitive Information resulting in User enumeration via forget password

    Grafana is an open-source platform for monitoring and observability. When using the forget password on the login page, a POST request is made to the `/api/user/password/sent-reset-email` URL. When the username or email does not exist, a JSON response contains…

  • Medium 5.3

    Unauthenticated username enumeration in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC.

    The application allowed for Unauthenticated User Enumeration by interacting with an unsecured endpoint to retrieve information on each account within the system.

  • Critical 9.8

    Stimulsoft (aka Stimulsoft Reports) 2013.1.1600.0, when Compilation Mode is used, allows an attacker to execute arbitra…

  • Medium 5.3

    In affected versions of Octopus Server it is possible to reveal the existence of resources in a space that the user doe…

  • Medium 6.5

    Kirby CMS vulnerable to user enumeration in the brute force protection

    Kirby is a Content Management System. Prior to versions 3.5.8.2, 3.6.6.2, 3.7.5.1, and 3.8.1, a user enumeration vulnerability affects all Kirby sites with user accounts unless Kirby's API and Panel are disabled in the config. It can only be exploited for tar…

  • Medium 5.3

    Sensitive Data Disclosure Vulnerability

    Sensitive information could be displayed when a detailed technical error message is posted. This information could disclose environmental details.

  • Medium 4.3

    In affected versions of Octopus Deploy it is possible to reveal the Space ID of spaces that the user does not have acce…