TYPO3 CMS local file disclosure in image processing
TYPO3 CMS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| TYPO3 TYPO3 CMS |
| No fix yet |
Original description
ImageMagick and GraphicsMagick use small modules, called "coders", to read each image format. When processing images, TYPO3 determined the coder from the file type detected by the file contents, as long as the detected mime-type started with image/. A file containing MVG (Magick Vector Graphics) instructions, uploaded with an image file extension like .png, was therefore processed with the MVG coder. MVG instructions can read local files into the processed image, which allows disclosing the contents of arbitrary files readable by the web server, for example configuration files containing credentials, through a publicly accessible processed image.