COMMON WEAKNESS ENUMERATIONIncomplete

CWE-527

Exposure of Version-Control Repository to an Unauthorized Control Sphere

The product stores a CVS, git, or other repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.

Soyutlama

Variant

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

The product stores a CVS, git, or other repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.

Genişletilmiş açıklama

Version control repositories such as CVS or git store version-specific metadata and other details within subdirectories. If these subdirectories are stored on a web server or added to an archive, then these could be used by an attacker. This information may include usernames, filenames, path root, IP addresses, and detailed "diff" data about how files have been changed - which could reveal source code snippets that were never intended to be made public.

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Operation

OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase.

Risk

Başarılı sömürü neye yol açar?

Read Application DataRead Files or Directories

Etkilenen güvenlik alanları: Confidentiality

Savunma

Nasıl önlenir ve çözülür?

Operation · Distribution · System Configuration

Birden fazla yaşam döngüsü evresinde uygulanacak savunma

Detay
Recommendations include removing any CVS directories and repositories from the production server, disabling the use of remote CVS repositories, and ensuring that the latest CVS patches and version updates have been performed.