Skip to content
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 problem #356

Closed
shranet opened this issue May 24, 2015 · 4 comments
Closed

Security problem #356

shranet opened this issue May 24, 2015 · 4 comments

Comments

@shranet
Copy link

shranet commented May 24, 2015

Hi. Sorry my english bad.
If you are using connector PHP, then you can get access to the parent folder as follows (on v0.8):


On current version:
If file manager files are in “fm” folder, then:


@simogeo
Copy link
Owner

simogeo commented May 25, 2015

I edited your message to protect FM users.
I'll fix it very soon. If any recommendation to do it the clean way, please send me an email. See my email in PHP connector code source.

Thanks for spotting this !

@simogeo
Copy link
Owner

simogeo commented May 26, 2015

Please see a204411, and test it ! Thanks to shranet & Joakim

@hammond13
Copy link
Collaborator

Just a note that I handled this in the mvc connector by passing all operations through an IsInRootPath function.
https://github.com/simogeo/Filemanager/blob/master/connectors/mvc/FilemanagerController.cs#L130

@simogeo
Copy link
Owner

simogeo commented May 26, 2015

@hammond13 : thanks for precision.

@simogeo simogeo closed this as completed May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants