Catégories
CVE-2026-104891 high CVSS 7.5

Vulnérabilité dans @insumermodel/mppx-condition-gate (CVE-2026-104891)

Résumé

Vulnérabilité dans @insumermodel/mppx-condition-gate (CVE-2026-104891). Des informations confidentielles peuvent être exposées. Exploitable via mppx. Atténuation : mise à jour vers 3.0.0 ou plus.

Description d'origine

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

Impact

Both packages wrap an mppx payment method so that a wallet meeting on-chain conditions is granted free access instead of being charged.

The free-access path reads the payer address from credential.source — a client-supplied DID in the payment credential — asks InsumerAPI whether that address satisfies the configured conditions, and on a pass returns a successful receipt without ever calling the wrapped payment verifier. Nothing in that path establishes that the caller controls the wallet it named.

Because qualifying wallets are public chain state, an attacker does not need to guess one. Naming any qualifying address in credential.source is sufficient to obtain free access to a route that should have been paid for. An in-process cache (default TTL 300s, keyed on wallet and conditions) then re-serves the grant without re-evaluating.

mppx documents this requirement explicitly. Its type definitions describe source as "an asserted identity, not independent proof of control", and state that methods relying on it "must validate the relationship to the credential payload". These packages did not.

This is a defect in these wrapper packages, not in the attestation they consume. The attestation answers one question — does this wallet satisfy these conditions — and answered it honestly about the address it was given. Binding that address to the caller was the wrapper's responsibility.

Affected versions

Every published version of both packages is affe…

Source: NIST National Vulnerability Database 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-104891 a été découverte dans @insumermodel/mppx-condition-gate.
Des attaquants peuvent cibler un point d'entrée spécifique comme mppx à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.5/10.
Action : mettez à jour @insumermodel/mppx-condition-gate vers 3.0.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @insumermodel/mppx-condition-gate CVE-2026-104891 » sur le site de l'éditeur.

CVE-2026-104891 (@insumermodel/mppx-condition-gate) — CWE-290 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : mppx / credential.source / source
Correctif : 3.0.0 — appliquer immédiatement
Contournement : Remove the condition gate from the payment method until a fixed version is installed, so all requests take the normal paid path.
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-290) affecte @insumermodel/mppx-condition-gate. Les attaquants atteignent le code vulnérable via mppx sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de @insumermodel/mppx-condition-gate. Surface d'attaque : mppx / credential.source / source.

🔥 Gravité

Gravité : Élevée (CVSS 7.5/10). Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 3.0.0.

🛡️ Contournement

Contournement : Remove the condition gate from the payment method until a fixed version is installed, so all requests take the normal paid path.

🔍 Détection

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

  1. 1
    Identify exposure identify
    grep -r '@insumermodel/mppx-condition-gate' . | grep -v node_modules

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

  2. 2
    Apply temporary workaround mitigate
    Remove the condition gate from the payment method until a fixed version is installed, so all requests take the normal paid path.

    パッチが適用されるまでの応急処置として、Remove the condition gate from the payment method until a fixed version is installed, so all requests take the normal paid path. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade @insumermodel/mppx-condition-gate to 3.0.0

    ステージング環境で 3.0.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

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

Paquets affectés

npm @insumermodel/mppx-condition-gate
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]
npm @insumermodel/mppx-token-gate
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.4"}]}]

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