XSS (Cross-Site Scripting) dans jquery-ui (CVE-2021-41184)
Résumé
XSS dans jquery-ui (CVE-2021-41184). Les données peuvent être altérées par des attaquants. 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).
Impact
Accepting the value of the of option of the .position() util from untrusted sources may execute untrusted code. For example, invoking the following code:
$( "#element" ).position( {
my: "left top",
at: "right bottom",
of: "",
collision: "none"
} );
will call the doEvilThing() function.
Patches
The issue is fixed in jQuery UI 1.13.0. Any string value passed to the of option is now treated as a CSS selector.
Workarounds
A workaround is to not accept the value of the of option from untrusted sources.
For more information
If you have any questions or comments about this advisory, search for a relevant issue in the jQuery UI repo. If you don't find an answer, open a new issue.
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-41184 a été découverte dans jquery-ui.
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-41184 » sur le site de l'éditeur.
CVE-2021-41184 (jquery-ui) — CWE-79 / CVSS v3 6.5
Vecteur d'attaque : distant (réseau) / non authentifié
Correctif : 1.13.0 — appliquer immédiatement
Contournement : A workaround is to not accept the value of the of 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.
Consultez l'avis de l'éditeur pour les versions affectées de jquery-ui.
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 of 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 `of` option from untrusted sources.パッチが適用されるまでの応急処置として、A workaround is to not accept the value of the
ofoption 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
Références
- 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 nvd.nist.gov
- package github.com
- patch blog.jqueryui.com
- web github.com
- web github.com
- web lists.debian.org
- web drupal.org
- web oracle.com
- web oracle.com
- web tenable.com
- web seclists.org
- 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 blog.jqueryui.com