Katalog CWE

CWE-530 · Słabość

Exposure of Backup File to an Unauthorized Control Sphere

Abstrakcja
Wariant
Status
Niekompletny
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

A backup file is stored in a directory or archive that is made accessible to unauthorized actors.

Often, older backup files are renamed with an extension such as .~bk to distinguish them from production files. The source code for old files that have been renamed in this manner and left in the webroot can often be retrieved. This renaming may have been performed automatically by the web server, or manually by the administrator.

Skutki

  • Confidentiality

    Read Application Data

    At a minimum, an attacker who retrieves this file would have all the information contained in it, whether that be database calls, the format of parameters accepted by the application, or simply information regarding the architectural structure of your site.

Zapobieganie

  • Policy

    Recommendations include implementing a security policy within your organization that prohibits backing up web application source code in the webroot.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific, Not Technology-Specific, Web Server

Wpis z katalogu CWE 4.20.