1. Archivio CVE
  2. 2020
  3. CVE-2020-36624

CVE-2020-36624

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

Descrizione

A vulnerability was found in ahorner text-helpers up to 1.0.x. It has been declared as critical. This vulnerability affects unknown code of the file lib/text_helpers/translation.rb. The manipulation of the argument link leads to use of web link to untrusted target with window.opener access. The attack can be initiated remotely. Upgrading to version 1.1.0 is able to address this issue. The name of the patch is 184b60ded0e43c985788582aca2d1e746f9405a3. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216520.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
texthelpers project texthelpers < 1.1.0 –

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