1. Archivio CVE
  2. 2022
  3. CVE-2022-1583

CVE-2022-1583

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 6.5 – Media

Descrizione

The External Links in New Window / New Tab WordPress plugin before 1.43 does not ensure window.opener is set to "null" when links to external sites are clicked, which may enable tabnabbing attacks to occur.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
webfactoryltd external links in new window / new tab < 1.43 wordpress

Tipo di vulnerabilità

CWE-1022 Use of Web Link to Untrusted Target with window.opener Access

The web application produces links to untrusted external sites outside of its sphere of control, but it does not properly prevent the external site from modifying security-critical properties of the window.opener object, such as the location property.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Alterare la logica di esecuzione

Come si previene

Architettura e progettazione Specify in the design that any linked external document must not be granted access to the location object of the calling page.
Sviluppo When creating a link to an external document using the <a> tag with a defined target, for example _blank or a named frame, provide the rel attribute with a value noopener noreferrer. If opening the external document in a new window via javascript, then reset the opener by setting it equal to null.
Sviluppo Do not use _blank targets. However, this can affect the usability of the application.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 12 CVE di tipo CWE-1022, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org