News for hackers. Stuff that matters.
Re:Leaking Bitwarden's Vault with a Nginx vulnerability by amluto on Monday July 03, 2023 @11:07PM (#36581698)
I find it hard to believe that searching for “..” would even show up in a benchmark.

In any case, it seems that nginx does try to search for .. but has a bug in the corner case where the “location” doesn’t end with a slash. I assume there’s some kind of URL normalization pass that happens before the routing pass, and if the route matches part of a path component, nothing catches the ..

If I’m right, this is just an IMO rather embarrassing bug and should he fixed.

Re:Leaking Bitwarden's Vault with a Nginx vulnerability by D13Fd on Monday July 03, 2023 @11:16PM (#36581754)
Yeah, this whole thing reads to me like a bug in nginx. There is no obvious reason users would need that functionality.
Re:Leaking Bitwarden's Vault with a Nginx vulnerability by m3affan on Tuesday July 04, 2023 @12:10AM (#36582139)
What are the alternarives though?
Re:Leaking Bitwarden's Vault with a Nginx vulnerability by seanw444 on Tuesday July 04, 2023 @01:07AM (#36582444)
To Nginx? HAProxy. Or Caddy if you're just doing web stuff.
Re:Leaking Bitwarden's Vault with a Nginx vulnerability by terom on Tuesday July 04, 2023 @05:17AM (#36584147)
HAProxy does not serve static files, so it's a poor alternative for this specific case.