A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Contao is an Open Source CMS. From version 5.0.0 until 5.3.50 and 5.7.12, ImagesController joins the user-controlled {path} parameter to the configured image target directory with Path::join() but does not use Path::isBasePath() to verify that the canonical path remains inside that directory. An unauthenticated request containing encoded parent-directory segments can therefore return files under the project directory through BinaryFileResponse when their names use an extension allowed by contao.image.valid_extensions. The route can also reveal whether arbitrary paths exist, and debug responses can disclose absolute filesystem paths, but paths below the upload directory were not shown to be readable. This issue is fixed in versions 5.3.50 and 5.7.12.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /contao/contao/commit/867c055122fdf12220f973f862082037b695b…
- github.com /contao/contao/releases/tag/5.3.50
- github.com /contao/contao/releases/tag/5.7.12
- github.com /contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning