Katalog CWE

CWE-540 · Słabość

Inclusion of Sensitive Information in Source Code

Abstrakcja
Bazowa
Status
Niekompletny
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

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

Opis

Source code on a web server or repository often contains sensitive information and should generally not be accessible to users.

There are situations where it is critical to remove source code from an area or server. For example, obtaining Perl source code on a system allows an attacker to understand the logic of the script and extract extremely useful information such as code bugs or logins and passwords.

Skutki

  • Confidentiality

    Read Application Data

Zapobieganie

  • Architecture and Design, System Configuration

    Recommendations include removing this script from the web server and moving it to a location not accessible from the Internet.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific, Not Technology-Specific, Web Based

Wpis z katalogu CWE 4.20.