VariantIncomplete

CWE-527Exposure of Version-Control Repository to an Unauthorized Control Sphere

Category: auth

Description

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. 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.

Common consequences· 1

  • Confidentiality — Read Application Data, Read Files or Directories

Potential mitigations· 1

  • [Operation, Distribution, System Configuration]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.

References

  1. https://cwe.mitre.org/data/definitions/527.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Files or Directories Accessible to External Parties
CWE
Exposure of Access Control List Files to an Unauthorized Control Sphere
CWE
Storage of File with Sensitive Data Under Web Root
CWE
Insertion of Sensitive Information into Externally-Accessible File or Directory
CWE
Insecure Storage of Sensitive Information
CWE
Storage of File With Sensitive Data Under FTP Root
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.