Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 Path Traversal via Image Insert Tag
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ContaoContao |
≥ 4.0.0, < 5.3.54→ 5.3.54 ≥ 5.4.0-RC1, < 5.7.17→ 5.7.17 ≥ 6.0.0-RC1, < 6.0.6→ 6.0.6 |
5.3.54 5.7.17 6.0.6 |
Original description The description as published by the source.
Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 contains a path traversal vulnerability that allows content editors to read image files anywhere on the filesystem via the {{image::}} insert tag. Attackers can embed percent-encoded sequences like ..%2f that pass Validator::isInsecurePath() before rawurldecode(), making the frontend resize and serve readable image files outside the files directory.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com