-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can use null characters to escape filesystem #70
Comments
Ouch, sorry for the trouble. It was definitely meant to be sandboxed friendly. Hopefully fixed by commit 13e1ee1. Should be available in |
Thanks @ninjasploit! Yeah, indeed, we probably need to always check the expanded path to make sure it is within boundaries. |
I have pushed a commit 930974d that should fix this issue. The code was using |
Superb! 🙌 |
I haven't totally figured out how this works but one of our users managed to escape the restraints of a subfilesystem to be able to write anywhere on the physical filesystem.
The basic theory is this..
This seems to want to write to a T: drive (which I don't have).
But obviously there's some deeper funny business going on here.
I'm not sure whether you even meant for the subfilesystems to work in the sandboxed fashion we're using them, but since this seems like unpredictable/unwanted behaviour I thought I would report it.
The text was updated successfully, but these errors were encountered: