Vulnérabilité dans keylime (CVE-2023-38201)
Résumé
Vulnérabilité dans keylime (CVE-2023-38201). Les données peuvent être altérées par des attaquants. Exploitable via registrar. Atténuation : mise à jour vers 7.5.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
A security issue was found in the Keylime registrar code which allows an attacker to effectively bypass the challenge-response protocol used to verify that an agent has indeed access to an AIK which in indeed related to the EK.
When an agent starts up, it will contact a registrar and provide a public EK and public AIK, in addition to the EK Certificate. This registrar will then challenge the agent to decrypt a challenge encrypted with the EK.
When receiving the wrong "auth_tag" back from the agent during activation, the registrar answers with an error message that contains the expected correct "auth_tag" (an HMAC which is calculated within the registrar for checking). An attacker could simply record the correct expected "auth_tag" from the HTTP error message and perform the activate call again with the correct expected "auth_tag" for the agent.
The security issue allows an attacker to pass the challenge-response protocol during registration with (almost) arbitrary registration data. In particular, the attacker can provide a valid EK Certificate and EK, which passes verification by the tenant (or registrar), while using a compromised AIK, which is stored unprotected outside the TPM and is unrelated to former two. The attacker then deliberately fails the initial activation call to get to know the correct "auth_tag" and then provides it in a subsequent activation call. This results in an agent which is (incorrectly) registered with a val…
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-2023-38201 a été découverte dans keylime.
Des attaquants peuvent cibler un point d'entrée spécifique comme registrar à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants.
Action : mettez à jour keylime vers 7.5.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « keylime CVE-2023-38201 » sur le site de l'éditeur.
CVE-2023-38201 (keylime) — CWE-639
Vecteur d'attaque : réseau adjacent / non authentifié / sans interaction utilisateur
Surface d'attaque : registrar / agent / tenant
Correctif : 7.5.0 — 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-639) affecte keylime. Les attaquants atteignent le code vulnérable via registrar sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de keylime. Surface d'attaque : registrar / agent / tenant.
Gravité : ?. Les données peuvent être altérées par des attaquants.
Mettre à jour vers 7.5.0.
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 'keylime' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
keylimeを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade keylime to 7.5.0ステージング環境で 7.5.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
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 access.redhat.com
- web access.redhat.com
- web bugzilla.redhat.com
- web github.com
- web lists.fedoraproject.org