Traversée de chemin dans winter/wn-backend-module (CVE-2026-63179)
Résumé
Traversée de chemin dans winter/wn-backend-module (CVE-2026-63179). Des informations confidentielles peuvent être exposées. Exploitable via BrandSetting.custom_css. Atténuation : mise à jour vers 1.2.13 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
Affected versions of Winter CMS allow authenticated backend users with the following permissions to disclose arbitrary files readable by the PHP process by injecting @import (inline) "" directives into LESS source that the backend compiles. Four entry points share the same root cause:
- Brand Settings
BrandSetting.custom_cssfield (backend.manage_branding) — compiled inline into every backend page's `` block. - Editor Settings
EditorSetting.html_custom_stylesfield (backend.manage_editor) — compiled inline into every backend page's `` block. - Mail Brand Settings
MailBrandSettingcolour-picker fields (system.manage_mail_templates) — values are concatenated into LESS source viaLess_Parser::ModifyVars()with no escaping, so any value the form validator does not reject can carry an@importdirective. - Theme
.less/.sass/.scssassets (cms.manage_assets) — compiled throughSystem\Classes\CombineAssetswhen served, with the sameLess_Parserconfiguration. Both absolute paths and..traversal escape from the asset's own tree were exploitable.
The leaked content includes any file the web process can read, most importantly the application .env file (disclosing APP_KEY and database credentials).
To actively exploit this issue, an attacker would need an authenticated backend account with one of the permissions listed above. By default these are assigned to the built-in Developer role.
Patches
The root cause is in…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-63179 a été découverte dans winter/wn-backend-module.
Des attaquants peuvent cibler un point d'entrée spécifique comme BrandSetting.custom_css à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 4.9/10.
Action : mettez à jour winter/wn-backend-module vers 1.2.13 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « winter/wn-backend-module CVE-2026-63179 » sur le site de l'éditeur.
CVE-2026-63179 (winter/wn-backend-module) — CWE-22 / CVSS v3 4.9
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : BrandSetting.custom_css / backend.manage_branding / EditorSetting.html_custom_styles / backend.manage_editor
Correctif : 1.2.13 — appliquer immédiatement
Contournement : If you cannot upgrade, apply https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 manually.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une traversée de chemin (CWE-22) affecte winter/wn-backend-module. Les attaquants atteignent le code vulnérable via BrandSetting.custom_css.
Consultez l'avis de l'éditeur pour les versions affectées de winter/wn-backend-module. Surface d'attaque : BrandSetting.custom_css / backend.manage_branding / EditorSetting.html_custom_styles / backend.manage_editor.
Gravité : Moyenne (CVSS 4.9/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 1.2.13.
Contournement : If you cannot upgrade, apply https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 manually.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'winter/wn-backend-module' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
winter/wn-backend-moduleを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
If you cannot upgrade, apply https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 manually.パッチが適用されるまでの応急処置として、If you cannot upgrade, apply https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 manually. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade winter/wn-backend-module to 1.2.13ステージング環境で 1.2.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com