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

525 results · Feed

  • Medium 5.3
    CVE-2024-44762 Public exploit Scanner template

    A discrepancy in error messages for invalid login attempts in Webmin Usermin v2.100 allows attackers to enumerate valid…

  • Medium 4.3

    Jenkins exposes multi-line secrets through error messages

    Jenkins 2.478 and earlier, LTS 2.462.2 and earlier does not redact multi-line secret values in error messages generated for form submissions involving the `secretTextarea` form field.

  • High 7.3

    x86: Deadlock in vlapic_error()

    In x86's APIC (Advanced Programmable Interrupt Controller) architecture, error conditions are reported in a status register. Furthermore, the OS can opt to receive an interrupt when a new error occurs. It is possible to configure the error interrupt with an i…

  • Medium 5.3

    Apache Druid: Padding oracle in druid-pac4j extension that allows an attacker to manipulate a pac4j session cookie via Padding Oracle Attack

    Padding Oracle vulnerability in Apache Druid extension, druid-pac4j. This could allow an attacker to manipulate a pac4j session cookie. This issue affects Apache Druid versions 0.18.0 through 30.0.0. Since the druid-pac4j extension is optional and disabled by…

  • Medium 4.5

    Generation of Error Message Containing Sensitive Information in GitLab

    An issue has been discovered discovered in GitLab EE/CE affecting all versions starting from 15.10 before 17.1.7, all versions starting from 17.2 before 17.2.5, all versions starting from 17.3 before 17.3.2 will disclose user password from repository mirror c…

  • Low 3.5

    erjemin roll_cms views.py information exposure

    A vulnerability was found in erjemin roll_cms up to 1484fe2c4e0805946a7bcf46218509fcb34883a9. It has been classified as problematic. This affects an unknown part of the file roll_cms/roll_cms/views.py. The manipulation leads to information exposure through er…

  • Medium 5.3
    CVE-2024-45440 Public exploit Scanner template

    Drupal Full Path Disclosure

    core/authorize.php in Drupal 11.x-dev allows Full Path Disclosure (even when error logging is None) if the value of hash_salt is file_get_contents of a file that does not exist.

  • Medium 5.3

    CKAN may leak Solr credentials via error message in package_search action

    CKAN is an open-source data management system for powering data hubs and data portals. If there were connection issues with the Solr server, the internal Solr URL (potentially including credentials) could be leaked to package_search calls as part of the retur…

  • Medium 4.3

    Umbraco CMS vulnerable to Generation of Error Message Containing Sensitive Information

    Umbraco is an ASP.NET CMS. Some endpoints in the Management API can return stack trace information, even when Umbraco is not in debug mode. This vulnerability is fixed in 14.1.2.

  • Medium 6.5

    IBM QRadar Suite Software information disclosure

    IBM QRadar Suite Software 1.10.12.0 through 1.10.22.0 and IBM Cloud Pak for Security 1.10.0.0 through 1.10.11.0 could allow a remote attacker to obtain sensitive information when a detailed technical error message is returned in the request. This information …

  • Medium 4.3

    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. IBM X-Force ID: 2974…

  • Critical 9.2

    Verbose error handling issue in GravityZone Update Server proxy service

    A verbose error handling issue in the proxy service implemented in the GravityZone Update Server allows an attacker to cause a server-side request forgery. This issue only affects GravityZone Console versions before 6.38.1-5 running only on premise.

  • Low 3.5

    Overly Verbose Errors in SAML Integration

    In versions of Akana API Platform prior to 2024.1.0 overly verbose errors can be found in SAML integrations

  • High 8.8

    Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm

    An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm.

  • Low 3.5

    In-Fabric Matter Cluster Attribute Disclosure

    An implementation issue in the Connectivity Standards Alliance Matter 1.2 protocol as used in the connectedhomeip SDK allows a third party to disclose information about devices part of the same fabric (footprinting), even though the protocol is designed to pr…

  • Medium 4.0

    IBM Sterling Partner Engagement Manager information disclosure

    IBM Sterling Partner Engagement Manager 6.2.2 could allow a local attacker to obtain sensitive information when a detailed technical error message is returned. IBM X-Force ID: 230933.

  • Medium 5.4

    IBM Datacap Navigator information disclosure

    IBM Datacap Navigator 9.1.5, 9.1.6, 9.1.7, 9.1.8, and 9.1.9 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.…

  • Medium 5.5

    Incorrect listing of stack frames

    The frame iterator could get stuck in a loop when encountering certain wasm frames leading to incorrect stack traces. This vulnerability affects Firefox < 128 and Thunderbird < 128.

  • Medium 5.4

    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. This information could be used in further attacks against the system. IBM X-Force ID: 275775.

  • Medium 5.3

    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 a stack trace. This information could be used in further attacks against the system. IBM X-Force ID: 29…

  • Medium 6.5

    IBM MQ information disclosure

    IBM MQ 9.3 LTS and 9.3 CD 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: 292766.

  • Medium 6.5

    IBM MQ information disclosure

    IBM MQ Console 9.3 LTS and 9.3 CD could disclose 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-Forc…

  • Low 3.1

    Exposure of secrets through system log in Jenkins Structs Plugin

    When Jenkins Structs Plugin 337.v1b_04ea_4df7c8 and earlier fails to configure a build step, it logs a warning message containing diagnostic information that may contain secrets passed as step parameters, potentially resulting in accidental exposure of secret…

  • Medium 4.0

    zsa Generates Error Messages Containing Sensitive Information

    zsa is a library for building typesafe server actions in Next.js. All users are impacted. The zsa application transfers the parse error stack from the server to the client in production build mode. This can potentially reveal sensitive information about the s…

  • Medium 4.3

    Argo CD allows authenticated users to enumerate clusters by name

    Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. It’s possible for authenticated users to enumerate clusters by name by inspecting error messages. It’s also possible to enumerate the names of projects with project-scoped clusters if y…

  • Medium 5.3

    In JetBrains TeamCity before 2024.03.2 technical information regarding TeamCity server could be exposed

  • Medium 6.5

    silverstripe/framework may disclose database credentials during connection failure

    When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details. We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when …

  • Low 3.7

    github.com/huandu/facebook may expose access_token in error message

    github.com/huandu/facebook is a Go package that fully supports the Facebook Graph API with file upload, batch request and marketing API. access_token can be exposed in error message on fail in HTTP request. This issue has been patched in version 2.7.2.

  • Medium 5.3

    An issue was discovered in Italtel Embrace 1.6.4. The server does not properly handle application errors. In some cases…

  • Low 3.7

    Passbolt Api Retrieval of HTTP-only cookies

    Passbolt uses three cookies: a session cookie, a CSRF protection cookie and a cookie to keep track of the multiple-factor authentication process. Both the session cookie and the mfa cookie are properly set HTTP-only to prevent an attacker from retrieving the …

  • Critical 9.8

    A Fault Injection vulnerability in the SymmetricDecrypt function in cryptopp/elgamal.h of Cryptopp Crypto++ 8.9, allows…

  • Low 3.7

    IBM Cognos Controller information disclosure

    IBM Cognos Controller 10.4.1, 10.4.2, and 11.0.0 could allow a remote attacker to obtain sensitive information when a stack trace is returned in the browser. IBM X-Force ID: 245403.

  • Medium 5.3

    An issue in Ametys CMS v4.5.0 and before allows attackers to obtain sensitive information via exposed resources to the …

  • High 8.8

    Microsoft OLE DB Driver for SQL Server Remote Code Execution Vulnerability

    Microsoft OLE DB Driver for SQL Server Remote Code Execution Vulnerability

  • Medium 5.5

    spi: spi-fsl-dspi: Fix a resource leak in an error handling path

    In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-dspi: Fix a resource leak in an error handling path 'dspi_request_dma()' should be undone by a 'dspi_release_dma()' call in the error handling path of the probe function, as alre…

  • High 7.5
    CVE-2024-29059 Exploited Public exploit Scanner template EPSS 99%

    .NET Framework Information Disclosure Vulnerability

    .NET Framework Information Disclosure Vulnerability

    KEV Feb 4, 2025
  • Low 2.7

    IBM Security Verify Directory information disclosure

    IBM Security Verify Directory 10.0.0 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: 228507.

  • Medium 5.3

    Nway Pro Argument index.php ajax_login_submit_form information exposure

    A vulnerability was found in Nway Pro 9. It has been rated as problematic. Affected by this issue is the function ajax_login_submit_form of the file login\index.php of the component Argument Handler. The manipulation of the argument rsargs[] leads to informat…

  • Medium 4.3

    Apache Superset: Improper error handling on alerts

    An authenticated user with privileges to create Alerts on Alerts & Reports has the capability to generate a specially crafted SQL statement that triggers an error on the database. This error is not properly handled by Apache Superset and may inadvertently sur…

  • Medium 5.3

    Generation of Error Message Containing Sensitive Information in Rapid SCADA

    In Rapid Software LLC's Rapid SCADA versions prior to Version 5.8.4, the affected product responds back with an error message containing sensitive data if it receives a specific malformed request.