Skip to content
OpenAdvisories

Weakness (CWE)

CWE-531: Inclusion of Sensitive Information in Test Code

Variant Incomplete

Accessible test applications can pose a variety of security risks. Since developers or administrators rarely consider that someone besides themselves would even know about the existence of these applications, it is common for them to contain sensitive information or functions.

How to prevent it (1 mitigation)
  1. Distribution, Installation

    Remove test code before deploying the application into production.

Source: MITRE CWE-531

2 results · Clear filters · Feed

  • Medium 5.3

    HCL BigFix Compliance is affected by inclusion of temporary files left in the production environment

    HCL BigFix Compliance is affected by inclusion of temporary files left in the production environment. An attacker might gain access to these files by indexing or retrieved via predictable URLs or misconfigured permissions, leading to information disclosure.

  • Medium 5.4

    PEAR HTTP_Request2 vulnerable to Cross-site Scripting

    In PEAR HTTP_Request2 before 2.7.0, multiple files in the tests directory, notably tests/_network/getparameters.php and tests/_network/postparameters.php, reflect any GET or POST parameters, leading to XSS.