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

    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.

  • Medium 5.3

    An email address enumeration vulnerability exists in the password reset function of SEO Panel version 4.10.0. This allo…

  • Medium 5.3

    Junos OS: SRX Series and EX Series: J-Web - unauthenticated access to temporary files containing sensitive information

    A Missing Authentication for Critical Function vulnerability combined with a Generation of Error Message Containing Sensitive Information vulnerability in J-Web of Juniper Networks Junos OS on SRX Series and EX Series allows an unauthenticated, network-based …

  • Medium 5.9

    IBM Db2 information disclosure

    IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 11.5 is vulnerable to an insecure cryptographic algorithm and to information disclosure in stack trace under exceptional conditions.

  • High 8.8

    ClickHouse Client Certificate Password Exposure

    Exposure of sensitive information in exceptions in ClichHouse's clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc, and com.clickhouse:clickhouse-client versions less than 0.4.6 allows unauthorized users to gain access to client certificate passwords via client…

  • Medium 5.3
    CVE-2024-21733 Public exploit EPSS 14%

    Apache Tomcat: Leaking of unrelated request bodies in default error page

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Tomcat.This issue affects Apache Tomcat: from 8.5.7 through 8.5.63, from 9.0.0-M11 through 9.0.43. Other, EOL versions may also be affected. Users are recommended to upgrade …

  • Medium 5.3

    Generation of Error Message Containing Sensitive Information Vulnerability in Hitachi Device Manager

    Generation of Error Message Containing Sensitive Information vulnerability in Hitachi Device Manager on Windows, Linux (Device Manager Agent modules).This issue affects Hitachi Device Manager: before 8.8.5-04.

  • Medium 5.3

    Windows TCP/IP Information Disclosure Vulnerability

    Windows TCP/IP Information Disclosure Vulnerability

  • Medium 5.7

    Rhdh: catalog-import function leaks credentials to frontend

    A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, inc…

  • Low 3.1

    Improper Error Handling affects DRYiCE MyXalytics

    HCL DRYiCE MyXalytics is impacted by an improper error handling vulnerability. The application returns detailed error messages that can provide an attacker with insight into the application, system, etc.

  • Medium 5.3

    CVE-2023-27319 Information Disclosure Vulnerability in ONTAP Mediator

    ONTAP Mediator versions prior to 1.7 are susceptible to a vulnerability that can allow an unauthenticated attacker to enumerate URLs via REST API.

  • Medium 5.3

    IBM Security Guardium Key Lifecycle Manager information disclosure

    IBM Security Guardium Key Lifecycle Manager 4.3 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…

  • Medium 5.3

    IBM UrbanCode Deploy information disclosure

    IBM UrbanCode Deploy (UCD) 7.1 through 7.1.2.14, 7.2 through 7.2.3.7, and 7.3 through 7.3.2.2 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 f…

  • Medium 5.3

    Due to improper error handling, a REST API resource could expose a server side error containing an internal WSO2 specif…

  • Medium 4.3

    Kaifa Technology WebITR - Error Message Leakage

    Kaifa Technology WebITR is an online attendance system. A remote attacker with regular user privilege can obtain partial sensitive system information from error message.

  • Medium 4.3

    IBM System Storage Virtualization Engine information disclosure

    IBM System Storage Virtualization Engine TS7700 3957-VEC, 3948-VED and 3957-VEC 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…

  • Medium 5.3

    Exposure of Sensitive Information in OPC UA .NET Standard Reference Server

    The OPC UA .NET Standard Reference Server before 1.4.371.86. places sensitive information into an error message that may be seen remotely.

  • Low 3.5

    Jupyter Server errors include tracebacks with path information

    The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. Unhandled errors in API requests coming from an authenticated user include traceback informat…

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

  • Medium 5.3

    Full Path Disclosure via re-export document in pimcore/admin-ui-classic-bundle

    The Pimcore Admin Classic Bundle provides a Backend UI for Pimcore. Full Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the load_file() (withi…

  • Medium 5.3

    The response messages received from the eSOMS report generation using certain parameter queries with full file path can…

  • High 7.5

    CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

    CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. Version 4.4.3…

  • Low 2.7

    IBM Security Verify Privilege information disclosure

    IBM Security Verify Privilege On-Premises 11.5 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 …

  • Medium 5.5

    Google Sheets data source plugin for Grafana information disclosure vulnerability

    Grafana is an open-source platform for monitoring and observability. The Google Sheets data source plugin for Grafana, versions 0.9.0 to 1.2.2 are vulnerable to an information disclosure vulnerability. The plugin did not properly sanitize error messages, maki…

  • Medium 4.3

    Information Disclosure Vulnerability in Statutory Reporting

    The Statutory Reporting application has a vulnerable file storage location, potentially enabling low privileged attacker to read server files with minimal impact on confidentiality.

  • Medium 4.7

    Red hat a-mq streams: component version with information disclosure flaw

    A flaw was found in Red Hat's AMQ-Streams, which ships a version of the OKHttp component with an information disclosure flaw via an exception triggered by a header containing an illegal value. This issue could allow an authenticated attacker to access informa…

  • Medium 4.0

    A vulnerability has been identified in QMS Automotive (All versions < V12.39). The affected application returns inconsi…

  • Medium 5.3

    Information Disclosure vulnerability in SAP BusinessObjects Business Intelligence Platform (Version Management System)

    Due to the lack of validation, SAP BusinessObjects Business Intelligence Platform (Version Management System) - version 403, permits an unauthenticated user to read the code snippet through the UI, which leads to low impact on confidentiality and no impact on…

  • Medium 4.3

    Apache Superset: Stack traces enabled by default

    By default, stack traces for errors were enabled, which resulted in the exposure of internal traces on REST API endpoints to users. This vulnerability exists in Apache Superset versions up to and including 2.1.0.

  • Low 3.1

    An information disclosure vulnerability exists in the OAS Engine configuration management functionality of Open Automat…

  • Medium 4.3

    IBM Security Verify Information Queue information disclosure

    IBM Security Verify Information Queue 10.0.4 and 10.0.5 could allow a remote attacker to obtain sensitive information that could aid in further attacks against the system. IBM X-Force ID: 256015.

  • Medium 4.3

    IBM Security Verify Information Queue information disclosure

    IBM Security Verify Information Queue 10.0.4 and 10.0.5 could allow a remote attacker to obtain sensitive information that could aid in further attacks against the system. IBM X-force ID: 256014.

  • Medium 5.3

    IBM Security Guardium Data Encryption information disclosure

    IBM Security Guardium Data Encryption (IBM Guardium Cloud Key Manager (GCKM) 1.10.3)) 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 a…

  • Medium 5.3

    e-Excellence U-Office Force - Error Message Leakage

    e-Excellence U-Office Force generates an error message in webiste service. An unauthenticated remote attacker can obtain partial sensitive system information from error message by sending a crafted command.

  • Critical 9.1

    Dispatch writes JWT tokens in error message

    Dispatch is an open source security incident management tool. The server response includes the JWT Secret Key used for signing JWT tokens in error message when the `Dispatch Plugin - Basic Authentication Provider` plugin encounters an error when attempting to…

  • Medium 5.3

    IBM Cognos Analytics information disclosure

    IBM Cognos Analytics 11.1.7, 11.2.0, and 11.2.1 could allow a remote attacker to obtain system information without authentication which could be used in reconnaissance to gather information that could be used for future attacks. IBM X-Force ID: 257703.

  • Medium 4.3

    Jenkins Folders Plugin information disclosure vulnerability

    Jenkins Folders Plugin 6.846.v23698686f0f6 and earlier displays an error message that includes an absolute path of a log file when attempting to access the Scan Organization Folder Log if no logs are available, exposing information about the Jenkins controlle…

  • Low 3.1

    Generation of Error Message Containing Sensitive Information in GitLab

    An issue has been discovered in GitLab affecting all versions starting from 12.9 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. It was possible to leak a user's email via an error message for group…

  • Medium 5.5

    Multiple commands print sensitive information in the terminal

    Brocade Fabric OS before Brocade Fabric OS 9.1.1c, 9.2.0 contains a vulnerability when using various commands such as “chassisdistribute”, “reboot”, “rasman”, errmoduleshow, errfilterset, hassiscfgperrthreshold, supportshowcfgdisable and supportshowcfgenable …