TinyPNG
The module does not sufficiently check access to image derivatives when those files are served via a file stream other than the private one. Anyone with no login could view private derived images. They could not alter any images or settings.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youDrupal must be configured to use a contributed file scheme to serve private derived images.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate TinyPNG to 2.0.2.
For developers: what the fix changed
The fix updates src/Controller/TinyPngImageStyleDownloadController.php around line 156 to always determine if a scheme is public by checking against a list of public schemes rather than relying on a token check.
src/Controller/TinyPngImageStyleDownloadController.php+9 −9 fix