CyberSecBulletin

Unquoted Search Path or Element

CWE-428

The product uses a search path that contains an unquoted element, in which the element contains whitespace or other separators. This can cause the product to access resources in a parent path.

We track 141 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.9.

How this weakness is prevented

  • Implementation: Properly quote the full search path before executing a program on the system.
  • Implementation: Inputs 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.

Latest Unquoted Search Path or Element vulnerabilities