Vulnérabilité dans winter/wn-backend-module (CVE-2026-54256)
Résumé
Vulnérabilité dans winter/wn-backend-module (CVE-2026-54256). Risque d'opérations non autorisées ou de divulgation. Exploitable via FileUpload. 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
The backend FileUpload form widget trusted an attacker-controlled file_id POST parameter when resolving the attachment it operates on. The lookup (FileUpload::getFileRecord()) resolved the posted id against the global system_files table without verifying that the file belonged to the widget's own relation, parent record, or deferred-binding session.
Any authenticated backend user who can reach a form containing a fileupload field — including the built-in My Account avatar field, which requires no specific backend permission — could therefore target a System\Models\File record belonging to another user or record and:
- modify its
titleanddescriptionviaonSaveAttachmentConfig, and - change its
sort_orderviaonSortAttachments(which passed posted ids
straight tosetSortableOrder(), an unscopedUPDATE ... WHERE id = ?).
The same unscoped lookup is reached by onLoadAttachmentConfig, onSaveAttachmentConfig, and onRemoveAttachment. Because all attachments share the single System\Models\File model and system_files table, an attacker was not limited to other users' avatars — any attachment on any model could be referenced by id. Attachment ids are sequential integers and are easily enumerated.
The confirmed impact is unauthorized integrity modification of arbitrary attachment metadata and ordering.
CSRF tokens are still verified on all POST requests, so an attacker must be authenticated to the backend with a valid session.…
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-54256 a été découverte dans winter/wn-backend-module.
Des attaquants peuvent cibler un point d'entrée spécifique comme FileUpload à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 5.4/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-54256 » sur le site de l'éditeur.
CVE-2026-54256 (winter/wn-backend-module) — CWE-284 / CVSS v3 5.4
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : FileUpload / file_id / system_files / fileupload
Correctif : 1.2.13 — appliquer immédiatement
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 vulnérabilité (CWE-284) affecte winter/wn-backend-module. Les attaquants atteignent le code vulnérable via FileUpload.
Consultez l'avis de l'éditeur pour les versions affectées de winter/wn-backend-module. Surface d'attaque : FileUpload / file_id / system_files / fileupload.
Gravité : Moyenne (CVSS 5.4/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 1.2.13.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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 patch patch
Upgrade winter/wn-backend-module to 1.2.13ステージング環境で 1.2.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web security-advisories@github.com
- web github.com
- web security-advisories@github.com
- web github.com
- web github.com