-
Notifications
You must be signed in to change notification settings - Fork 10
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
Security problems with move / rename / etc. #5
Comments
I think this is fixed in #6 |
I think the ajax request for download doesn't have a path check. |
Thanks for doing that @alanswx |
Also - in move, I didn't check the source, only the destination. You could move "/etc/passwd" into the volume probably.. |
|
I think we could put in a few more checks. I am confused about all the code paths. If we could test each of them with a bogus path that would be great. I wonder if some of this code isn't needed - since they changed the API around. |
When I wrote it I used the wiki as spec. It really needs to be reviewed again since the update. |
If I do a move with the dialog, and put in a path of ../../../hello it seems to move the file / directory beyond the root of our safe spot. I started working on a patch, but I think it effects copy/delete/edit etc. It seems like the upload safe's the name - I am not sure if I can hack the form and have it upload anywhere.
The text was updated successfully, but these errors were encountered: