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, the pure-Ruby Addressable::IDNA.to_unicode implementation omits the IDNA2003 nameprep bidirectional-label rule. Addressable::URI#display_uri can render an attacker-controlled host identically to a target host only when the target has a right-to-left label with digits beside a dot and the attacker's complementary domain completes that displayed name. A user who trusts the displayed host can therefore be misled about the actual domain. 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