Umbra Wiki weakness weakness/CWE-50
Back to wiki

CWE-50 — Path Equivalence: '//multiple/leading/slash'

provenance: imported · CWE: CWE-50

CWE-50: Path Equivalence: '//multiple/leading/slash'

MITRE CWE weakness

Kind Weakness
Abstraction Variant
Status Incomplete
Likelihood of exploit

Description

The product accepts path input in the form of multiple leading slash ('//multiple/leading/slash') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

Common consequences

  • Confidentiality, Integrity: Read Files or Directories, Modify Files or Directories

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/50.html
  • CWE list: https://cwe.mitre.org/data/index.html