Commit Graph

12 Commits

Author SHA1 Message Date
SydMontague
fa6588be58 Improve verification of downloaded files.
Any file could be downloaded as long as the webserver claimed they were
images. This can allow a compromised or malicious server to serve any
kind of data to the requesting server, including executable code.

The risk for this being exploited is very minimal, the downloaded files
can't be executed or used for anything malicious without either another
exploit or additional actions by a malicious, compromised or
non-suspecting user.

Nethertheless, this update adds an additional verification layer making
sure the downloaded file is a valid image file. It additionally stores
the image as PNG on disk, regardless of the filetype of the download,
stripping the file of potential "baggage" as you might find in polyglot
files.

As a general rule of thumb you should
* always use a secure connection to download files (https)
* only give trusted and properly secured users access to the download
functionality
* only download from trusted sites
* preferably upload the images manually
2021-02-19 21:02:23 +01:00
SydMontague
5c556b2f1a Make clear a Spigot server is required. 2020-10-04 00:17:31 +02:00
SydMontague
26862c3b5a Mention toggle item in README, potentially fix tracking arrow showing 2020-09-04 22:47:08 +02:00
SydMontague
07991df33b Fix README and command help 2020-09-04 22:17:19 +02:00
SydMontague
4a2978889c Version 1.0.1
Fixed project setup mistakes
2020-07-23 19:13:33 +02:00
SydMontague
47e37768d8 Bump version to 1.1.0-SNAPSHOT, fix README 2020-07-23 19:10:12 +02:00
SydMontague
a15f79e287 Improve list UX, filter invalid maps 2020-07-23 17:45:51 +02:00
SydMontague
d9ff43a78a Mention imagemaps.* permission node 2020-07-21 14:33:07 +02:00
SydMontague
f7426aa957 Fix error in README 2020-07-21 14:29:06 +02:00
SydMontague
657556f2a3 Contact options as list 2020-07-21 14:25:34 +02:00
SydMontague
7c5e942578 Fix Markdown 2020-07-21 14:24:43 +02:00
SydMontague
bb7fdba9b7 Updated package, added license, added readme 2020-07-21 14:20:24 +02:00