Catégories
CVE-2026-48012 medium CVSS 4.3

Redirection ouverte dans shopware/core (CVE-2026-48012)

Résumé

Vulnérabilité dans shopware/core (CVE-2026-48012). Risque d'opérations non autorisées ou de divulgation. Exploitable via GET /api/oauth/sso/auth. Atténuation : mise à jour vers 6.7.10.1 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Shopware is an open commerce platform. Versions 6.7.3.0 through 6.7.10.0 have an open redirect in Shopware's public SSO entry point at GET /api/oauth/sso/auth. When the endpoint is reached without the expected SSO session state, the application falls back to the request's Referer header and uses that value as the redirect destination. In the validated behavior, the server does not restrict that fallback target to same-origin URLs, does not require a relative path, and does not reject dangerous schemes such as javascript:. As a result, an unauthenticated request can turn this endpoint into a reusable redirect primitive whose destination is fully controlled by attacker-supplied request metadata. The security problem is not limited to a harmless navigation mismatch. The endpoint sits under /api/oauth/, which gives the redirect a trustworthy application-controlled origin and makes it suitable for phishing chains, branded redirect abuse, and cases where client software automatically follows redirects issued by a trusted host. The attached evidence also shows that the response is not only an HTTP 302 with a user-controlled Location header. The HTML body contains a matching meta refresh tag and redirect link built from the same attacker-controlled value. In the validated proof, the endpoint redirects to https://attacker.example/poc when that URL is supplied through Referer, and it also reflects javascript:alert(1) into Location and the HTML redirect body without…

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-48012 a été découverte dans shopware/core.
Des attaquants peuvent cibler un point d'entrée spécifique comme GET /api/oauth/sso/auth à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 4.3/10.
Action : mettez à jour shopware/core vers 6.7.10.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « shopware/core CVE-2026-48012 » sur le site de l'éditeur.

CVE-2026-48012 (shopware/core) — CWE-601 / CVSS v3 4.3
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : GET /api/oauth/sso/auth / Referer / Location / http
Correctif : 6.7.10.1 — 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.

❓ Quel est le problème

Une vulnérabilité (CWE-601) affecte shopware/core. Les attaquants atteignent le code vulnérable via GET /api/oauth/sso/auth sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de shopware/core. Surface d'attaque : GET /api/oauth/sso/auth / Referer / Location / http.

🔥 Gravité

Gravité : Moyenne (CVSS 4.3/10). Risque d'opérations non autorisées ou de divulgation.

🔧 Comment corriger

Mettre à jour vers 6.7.10.1.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers GET /api/oauth/sso/auth (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver shopware/core.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'shopware/core' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で shopware/core を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Hunt for indicators of compromise detect
    grep 'GET /api/oauth/sso/auth' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで GET /api/oauth/sso/auth への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    Apply patch patch
    Upgrade shopware/core to 6.7.10.1

    ステージング環境で 6.7.10.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。

  4. 4
    Post-deployment verification verify
    Replay attack against GET /api/oauth/sso/auth on staging to confirm patch closes the vector

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。

Paquets affectés

composer shopware/core
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.10.1"}]}]
composer shopware/platform
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.10.1"}]}]
Packagist shopware/core
[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.3.0"},{"fixed":"6.7.10.1"}]}]
Packagist shopware/platform
[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.3.0"},{"fixed":"6.7.10.1"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus