3 matches found
Echo's Middleware.Static: `%2F`-encoded Path Bypasses Route/group Middleware Guarding A Statically-served Path
Summary When "middleware.Static" is mounted globally "e.Usemiddleware.Static..." and an application relies on a route- or group-level middleware guard to restrict a path that also falls under the served static root, a "%2F"-encoded request bypasses that guard while the file is still served. This ...
GHSA-WWFH-H76J-FC44 hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
Summary On Windows hosts, an encoded backslash %5C in the request path decodes to , which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static file...
hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
Summary On Windows hosts, an encoded backslash %5C in the request path decodes to , which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static file...