
PEACH
Un cadre d’isolation des locataires
A control panel user can read the contents of any file on the server whose content sniffs as image/svg+xml, including files outside the Craft installation, by posting an arbitrary path to the app/icon-svg endpoint. The endpoint has no permission check beyond being logged into the control panel, and the helper it calls resolves aliases and absolute paths before reading the file.
The only effective guard is FileHelper::isSvg(), which sniffs the file’s actual content: arbitrary PHP, config, or env files are refused because their content is not SVG. That constrains the read to files whose bytes genuinely parse as SVG, but those files can live anywhere on the filesystem that the PHP process can read.
This family has history: GHSA-472v-j2g4-g9h2 added charset guards to Assets::iconUrl and iconPath, and GHSA-c43v-4cr8-6mvp fixed traversal in AssetsController::actionIcon. Both of those guards sit on the helpers/Assets.php code paths.
Any control panel user can read any SVG content file anywhere on the filesystem that the PHP process can read. Report ID: 1922
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."