CWE•Variant•Draft•1 recent CVE
CWE-40Path Traversal: '\\UNC\share\name\' (Windows UNC Share)
Description
The product accepts input that identifies a Windows UNC share ('\\UNC\share\name') that potentially redirects access to an unintended location or arbitrary file.
Common consequences
- Confidentiality,Integrity→Read Files or Directories,Modify Files or Directories
Potential mitigations
- Implementation[object Object]
- ImplementationInputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.