Details on GHSA-wj85-328x-ww6r #3626
Zoey2936
announced in
Announcements
Replies: 1 comment 2 replies
|
Hello, |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Three things first:
What happened
Context
If a
locationblock in nginx does not end with a trailing slash and it serves static files via thealiasdirective it is possible for anyone who can access the location to also read all files from one higher folder level and all of its subfolders. This is sadly not documented on nginx.org for thealiasdirective and sadly this was unknown to me until today, sorry. (If you want to read more just search for "nginx alias path traversal" in your favourite search engine or you can read this mail thread: https://mailman.nginx.org/pipermail/nginx-devel/2023-July/C36V7SJGRTJRN5JOLBCULA3EAFDTHJDJ.html)Path Traversal in NPMplus
Since this was unknown to me, I used this combination in two places:
Impact
Since 2025-12-29-b1 (including): anyone with unauthenticated access to the NPMplus WebUI could download the keys.json and database.sqlite file, which means they could:
Since 2026-04-04-b1 (including): anyone who could open a host protected by anubis IF you added custom images for anubis:
Recommendations
All reactions