Descrizione
The Shipo plugin for WordPress is vulnerable to Authentication Bypass in versions 1.6 through 1.8.0. This is due to the `authenticate_rest_user()` function parsing the `LOGGED_IN_COOKIE` value and authenticating the named user without verifying the cookie's cryptographic signature. The function's intended `/wp-json/shipo/` route restriction can also be bypassed by placing that substring in the query string of an unrelated REST endpoint. This makes it possible for unauthenticated attackers who know an existing username to impersonate that user, including an administrator, and perform authorized actions through the REST API, including creating another administrator account.
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.290 CVE di tipo CWE-287, con andamento e prevenzione