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

createthumb.php security / improvement #123

Open
rhaamo opened this issue Jun 9, 2017 · 0 comments
Open

createthumb.php security / improvement #123

rhaamo opened this issue Jun 9, 2017 · 0 comments

Comments

@rhaamo
Copy link

rhaamo commented Jun 9, 2017

I have in the user home a file like "watermark.png", I can generate a thumbnail by using an URL like :

/createthumb.php?filename=../watermark.png&size=320

Even something like this works:

/createthumb.php?filename=../../../usr/share/pixmaps/debian-logo.png&size=320

Even if it would not render anything other than an image type this seems to be a security issue.

nodiscc added a commit to nodiscc/xsrv that referenced this issue Oct 9, 2017
…nigalNano#123)

minigalnano must be removed manually if installed:
rm -r /etc/rsnapshot.d/minigalnano.conf /var/lib/srv01/minigalnano-installed /var/www/images/ /etc/apache2/conf-available/minigalnano-password.conf
owncloud gallery + sharing directory via URL is the new image sharing solution
update TODO
nodiscc added a commit to nodiscc/xsrv that referenced this issue Oct 9, 2017
…nigalNano#123)

minigalnano must be removed manually if installed:
rm -r /etc/rsnapshot.d/minigalnano.conf /var/lib/srv01/minigalnano-installed /var/www/images/ /etc/apache2/conf-available/minigalnano-password.conf
cat /etc/rsnapshot.d/rsnapshot.conf.head /etc/rsnapshot.d/*.conf /etc/rsnapshot.d/rsnapshot.conf.foot >| /etc/rsnapshot.conf
owncloud gallery + sharing directory via URL is the new image sharing solution
update TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant