Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-50 (路径等价:’//multiple/leading/slash’) — Vulnerability Class 1

1 vulnerabilities classified as CWE-50 (路径等价:’//multiple/leading/slash’). AI Chinese analysis included.

CWE-50 represents a path equivalence weakness where software fails to normalize or validate input containing multiple leading slashes, such as '//'. This ambiguity allows attackers to exploit inconsistent path resolution mechanisms across different operating systems or application layers, potentially bypassing security controls designed to restrict access to specific directories. By injecting these redundant slashes, an adversary may trick the application into interpreting a restricted path as valid, leading to unauthorized file access or directory traversal attacks. To mitigate this risk, developers must implement strict input validation that rejects or normalizes such sequences before processing. Utilizing canonical path resolution libraries and enforcing consistent path handling across all system calls ensures that ambiguous inputs are resolved uniformly, thereby preventing attackers from leveraging these discrepancies to access unintended resources or compromise system integrity.

MITRE CWE 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 (1)
Confidentiality, IntegrityRead Files or Directories, Modify Files or Directories

Vulnerabilities classified as CWE-50 (路径等价:’//multiple/leading/slash’) represent 1 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.