Descrizione
The WP OAuth Server ( Login with WordPress ) WordPress plugin before 6.4.0 does not bind the OpenID Connect identity assertion it issues to the authorization grant being exchanged, returning instead the assertion belonging to whichever user authenticated most recently, which allows users with the Subscriber role and above to obtain a validly signed identity assertion for another user, including an administrator, and authenticate as them at any application that uses the site for single sign-on.
Tipo di vulnerabilità
CWE-287
Autenticazione impropria
Quando un soggetto dichiara una certa identità, il prodotto non verifica, o verifica in modo insufficiente, che la dichiarazione sia vera.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza, Disponibilità, Controllo degli accessi |
Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati Questo errore può esporre risorse o funzioni a soggetti non previsti, fornendo all’attaccante informazioni sensibili o permettendogli perfino di eseguire codice arbitrario. |
Come si previene
Architettura e progettazione · Librerie o framework
Usa un framework o una libreria di autenticazione, come la funzione Authentication di OWASP ESAPI.
Tutte le 5.303 CVE di tipo CWE-287, con andamento e prevenzione