Descrizione
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable::IDNA.to_unicode decodes an A-label whose Unicode form contains U+3002, and Addressable::URI#display_uri then shows a label boundary that is absent from the real host. With the native IDNA backend, re-parsing the displayed value can produce a different host. Labels to the right remain unchanged, so the display cannot impersonate a host outside the attacker's registrable domain unless a registry accepts a separator-containing registrable label. This issue is fixed in version 2.10.0.
Tipo di vulnerabilità
CWE-451
Rappresentazione ingannevole di informazioni critiche nell’interfaccia
L’interfaccia utente non rappresenta correttamente informazioni critiche, che possono essere nascoste o falsificate insieme alla loro fonte. È spesso un elemento degli attacchi di phishing.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Controllo degli accessi |
Nascondere le proprie attività, Aggirare i meccanismi di protezione, Dipende dal contesto |
Come si previene
Sviluppo · Validazione dell’input
Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
Architettura e progettazione · Codifica dell’output
Create a strategy for presenting information, and plan for how to display unusual characters.
Tutte le 489 CVE di tipo CWE-451, con andamento e prevenzione