middleware-bypass

1 article
sort: new top best
clear filter
0 8/10

Slacker Slash is a path traversal vulnerability in Bun-based web applications caused by desynchronization between Bun's WHATWG-compliant URL parser (which preserves multiple leading slashes and backslashes) and POSIX-normalizing filesystem operations (which collapse them). Attackers bypass string-based middleware checks like startsWith() using double-slash notation (//admin) or sibling directory prefixes (public_backup) while the filesystem still resolves the requested file.

Bun ze3ter Mohamed Salem Eddah WHATWG POSIX Node.js path module
lab.ctbb.show · bugbountydaily · 22 hours ago · details