Descrizione
A vulnerability was found in ualbertalib NEOSDiscovery 1.0.70 and classified as problematic. This issue affects some unknown processing of the file app/views/bookmarks/_refworks.html.erb. The manipulation leads to use of web link to untrusted target with window.opener access. The attack may be initiated remotely. Upgrading to version 1.0.71 is able to address this issue. The patch is named abe9f57123e0c278ae190cd7402a623d66c51375. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-222287.
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
| Ambito | Impatto |
| 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.
Tutte le 12 CVE di tipo CWE-1022, con andamento e prevenzione