XSS (Cross-Site Scripting) dans @knight-lab/timelinejs (CVE-2020-15092)
Résumé
XSS dans @knight-lab/timelinejs (CVE-2020-15092). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers 3.7.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
TimelineJS renders some user data as HTML. An attacker could implement an XSS exploit with maliciously crafted content in a number of data fields. This risk is present whether the source data for the timeline is stored on Google Sheets or in a JSON configuration file.
Most TimelineJS users configure their timeline with a Google Sheets document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if they grant public write access to the document.
Some TimelineJS users configure their timeline with a JSON document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if write access to the system hosting that document is otherwise compromised.
Although the vulnerability has a CVSS v3.1 base score of 7.2, this vulnerability has a severity of Moderate due to the likeliness of exploitation.
Patches
Version 3.7.0 of TimelineJS addresses this in two ways.
- For content which is intended to support limited HTML markup for styling and linking, that content is "sanitized" before being added to the DOM.
- For content intended for simple text display, all markup is stripped.
Very few users of TimelineJS actually install the TimelineJS code…
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-15092 a été découverte dans @knight-lab/timelinejs.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour @knight-lab/timelinejs vers 3.7.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @knight-lab/timelinejs CVE-2020-15092 » sur le site de l'éditeur.
CVE-2020-15092 (@knight-lab/timelinejs) — CWE-79
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Correctif : 3.7.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 XSS (CWE-79) affecte @knight-lab/timelinejs.
Consultez l'avis de l'éditeur pour les versions affectées de @knight-lab/timelinejs.
Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 3.7.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 '@knight-lab/timelinejs' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@knight-lab/timelinejsを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade @knight-lab/timelinejs to 3.7.0ステージング環境で 3.7.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- web github.com
- web knightlab.northwestern.edu
- web knightlab.northwestern.edu