cve.bz

CWE-52: Path Equivalence: '/multiple/trailing/slash//'

Filter

The product accepts path input in the form of multiple trailing slash ('/multiple/trailing/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.

What the weakness is: CWE-52 at MITRE. All weaknesses

Ask an AI about CWE-52

Show the promptExplain CWE-52: Path Equivalence: '/multiple/trailing/slash//' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/52.html and https://cve.bz/cve/cwe/52?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

No records match.