SSRF (Falsification de requête côté serveur) dans decidim-core (CVE-2026-45573)
Résumé
SSRF dans decidim-core (CVE-2026-45573). Risque d'opérations non autorisées ou de divulgation. Exploitable via POST /notifications_subscriptions. Atténuation : mise à jour vers 0.32.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Description
The push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachable from the app server.
Technical description
When VAPID delivery is enabled, the notification subscription flow stores the client-supplied push endpoint without checking that it belongs to an approved push service. The send path later passes that stored URL to WebPush.payload_send, turning the subscription into an attacker-controlled outbound request destination.
This is the source-to-sink chain:
- Source: attacker-controlled
subscription.endpointin the JSON body posted toPOST /notifications_subscriptions. - Persistence:
params[:endpoint]is stored underuser.notification_settings["subscriptions"]. - Retrieval:
user.notifications_subscriptions.valuesreturns that stored endpoint later. - Sink:
build_payloadsetsendpoint: subscription["endpoint"]. - Outbound request:
WebPush.payload_send(**payload)uses the attacker-supplied endpoint as the
destination.
One spec asserts that the endpoint is persisted exactly as supplied:
# decidim-core/spec/services/decidim/notifications_subscriptions_persistor_spec.rb
expect(user.notifications_subscriptions["auth_code_121"]["endpoint"]).to eq(params[:endpoint])
Another spec asserts that `SendPushNot…
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-45573 a été découverte dans decidim-core.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST /notifications_subscriptions à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 6.4/10.
Action : mettez à jour decidim-core vers 0.32.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « decidim-core CVE-2026-45573 » sur le site de l'éditeur.
CVE-2026-45573 (decidim-core) — CWE-918 / CVSS v3 6.4
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : POST /notifications_subscriptions / WebPush.payload_send / subscription.endpoint / user.notifications_subscriptions.values
Correctif : 0.32.0 — appliquer immédiatement
Contournement : Disable the push notifications feature by removing the VAPID keys in the server.
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 SSRF (CWE-918) affecte decidim-core. Les attaquants atteignent le code vulnérable via POST /notifications_subscriptions.
Consultez l'avis de l'éditeur pour les versions affectées de decidim-core. Surface d'attaque : POST /notifications_subscriptions / WebPush.payload_send / subscription.endpoint / user.notifications_subscriptions.values.
Gravité : Moyenne (CVSS 6.4/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 0.32.0.
Contournement : Disable the push notifications feature by removing the VAPID keys in the server.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers POST /notifications_subscriptions (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver decidim-core.
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 'decidim-core' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
decidim-coreを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'POST /notifications_subscriptions' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /notifications_subscriptionsへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply temporary workaround mitigate
Disable the push notifications feature by removing the VAPID keys in the server.パッチが適用されるまでの応急処置として、Disable the push notifications feature by removing the VAPID keys in the server. を実施。回避策の副作用 (機能低下) を確認した上で。
-
4Apply patch patch
Upgrade decidim-core to 0.32.0ステージング環境で 0.32.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
5Post-deployment verification verify
Replay attack against POST /notifications_subscriptions on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web github.com