Vulnérabilité dans indy-node (CVE-2020-11093)
Résumé
Vulnérabilité dans indy-node (CVE-2020-11093). Les données peuvent être altérées par des attaquants. Exploitable via from. Atténuation : mise à jour vers 1.12.4 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Name
Updating a DID with a nym transaction will be written to the ledger if neither ROLE or VERKEY are being changed, regardless of sender.
Description
A malicious DID with no particular role can ask an update for another DID (but cannot modify its verkey or role). This is bad because:
- Any DID can write a nym transaction to the ledger (i.e., any DID can spam the ledger with nym transactions).
- Any DID can change any other DID's alias.
- The update transaction modifies the ledger metadata associated with a DID.
Expected vs Observed
We expect that if a DID (with no role) wants to update another DID (not its own or one it is the endorser), then the nodes should refuse the request. We can see that requirements in the Indy default auth_rules in Section "Who is the owner" in the last point of "Endorser using".
We observe that with a normal DID, we can update the field from for a random DID, for example, the one of a TRUSTEE. It creates then a new transaction on the ledger.
Explanation of the attack
We first begin to connect to the pool and open a wallet. Then, we will use a TRUSTEE (but can also be a STEWARD or an ENDORSER) DID V4SGRU86Z58d6TV7PBUe6f. We ask the information about V4SGRU86Z58d6TV7PBUe6f with a get-nym. We create a new DID V4SGRU86Z58d6TV7PBUe1a signed by V4SGRU86Z58d6TV7PBUe6f with no role. For the rest of the attack, we will use V4SGRU86Z58d6TV7PBUe1a…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
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-2020-11093 a été découverte dans indy-node.
Des attaquants peuvent cibler un point d'entrée spécifique comme from à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants.
Action : mettez à jour indy-node vers 1.12.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « indy-node CVE-2020-11093 » sur le site de l'éditeur.
CVE-2020-11093 (indy-node) — CWE-347
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : from / V4SGRU86Z58d6TV7PBUe6f / V4SGRU86Z58d6TV7PBUe1a / indy.log
Correctif : 1.12.4 — 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-347) affecte indy-node. Les attaquants atteignent le code vulnérable via from sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de indy-node. Surface d'attaque : from / V4SGRU86Z58d6TV7PBUe6f / V4SGRU86Z58d6TV7PBUe1a / indy.log.
Gravité : ?. Les données peuvent être altérées par des attaquants.
Mettre à jour vers 1.12.4.
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 'indy-node' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
indy-nodeを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade indy-node to 1.12.4ステージング環境で 1.12.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com