XSS (Cross-Site Scripting) dans jquery-ui (CVE-2021-41182)
Résumé
XSS dans jquery-ui (CVE-2021-41182). Les données peuvent être altérées par des attaquants. Exploitable via altField. Atténuation : mise à jour vers 1.13.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the altField option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the altField option is now treated as a CSS selector. A workaround is to not accept the value of the altField option from untrusted sources.
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-2021-41182 a été découverte dans jquery-ui.
Des attaquants peuvent cibler un point d'entrée spécifique comme altField à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants. Score CVSS : 6.5/10.
Action : mettez à jour jquery-ui vers 1.13.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « jquery-ui CVE-2021-41182 » sur le site de l'éditeur.
CVE-2021-41182 (jquery-ui) — CWE-79 / CVSS v3 6.5
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : altField / doEvilThing
Correctif : 1.13.0 — appliquer immédiatement
Contournement : A workaround is to not accept the value of the altField option from untrusted sources.
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 jquery-ui. Les attaquants atteignent le code vulnérable via altField sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de jquery-ui. Surface d'attaque : altField / doEvilThing.
Gravité : Moyenne (CVSS 6.5/10). Les données peuvent être altérées par des attaquants.
Mettre à jour vers 1.13.0.
Contournement : A workaround is to not accept the value of the altField option from untrusted sources.
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 'jquery-ui' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
jquery-uiを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
A workaround is to not accept the value of the `altField` option from untrusted sources.パッチが適用されるまでの応急処置として、A workaround is to not accept the value of the
altFieldoption from untrusted sources. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade jquery-ui to 1.13.0ステージング環境で 1.13.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2021-41182 jqueryui Corrigé dans: 1.13.0+dfsg-1
Références
- advisory blog.jqueryui.com
- advisory github.com
- advisory github.com
- advisory lists.debian.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory security.netapp.com
- advisory drupal.org
- advisory drupal.org
- advisory oracle.com
- advisory oracle.com
- advisory tenable.com
- package github.com
- web lists.debian.org
- web nvd.nist.gov
- web security.netapp.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web github.com
- web blog.jqueryui.com