Katalog CWE

CWE-489 · Słabość

Active Debug Code

Abstrakcja
Bazowa
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
30 kwietnia 2026

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The product is released with debugging code still enabled or active.

Inne nazwy

Leftover debug code
This term originates from Seven Pernicious Kingdoms

Skutki

  • Confidentiality, Integrity, Availability, Access Control, Other

    Bypass Protection Mechanism; Read Application Data; Gain Privileges or Assume Identity; Varies by Context

    Active debug code can create unintended entry points or expose sensitive information. The severity of the exposed debug code will depend on the particular instance. At the least, it will give an attacker sensitive information about the settings and mechanics of web applications on the server. At worst, as is often the case, the debug code will allow an attacker complete control over the web application and server, as well as confidential information that either of these access.

Zapobieganie

  • Build and Compilation, Distribution

    Remove debug code before deploying the application.

Przykłady podatności

Słabość nadrzędna

Może prowadzić do

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific, Not Technology-Specific, ICS/OT

Uwagi

In J2EE a main method may be a good indicator that debug code has been left in the application, although there may not be any direct security impact.

Źródła

  1. Seven Pernicious Kingdoms: A Taxonomy of Software Security Errors — Katrina Tsipenyuk, Brian Chess, Gary McGraw, NIST, 2005

Wpis z katalogu CWE 4.20.