Descrizione
The 6Storage Rentals plugin for WordPress is vulnerable to Authentication Bypass leading to Administrator Account Takeover in all versions up to, and including, 2.31.0. The vulnerability exists because the `six_storage_portal_registration()` AJAX handler — registered on `wp_ajax_six_storage_portal_plugin_registration` — performs no capability check and no nonce verification before writing the caller-supplied `six_storage_online_api_url` POST parameter to the site-wide option of the same name; the unauthenticated `six_storage_create_wp_user()` handler then redeems a transient seeded from that attacker-controlled URL's response and unconditionally calls `wp_set_current_user()` and `wp_set_auth_cookie()` with no ownership or credential verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to authenticate as any existing WordPress user — including any administrator whose email address is known or guessable — resulting in full site compromise. This issue represents an incomplete fix for a prior vulnerability: the 2.29.0 remediation moved the target email out of POST data into a server-side transient, but because any Subscriber can still overwrite the outbound API URL that populates that transient, the full authentication bypass chain remains exploitable in three AJAX requests.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.7% (percentile 54).
Versioni da aggiornare
- sixstorage 6Storage Rentals: vulnerabili le versioni fino alla
2.31.0inclusa → aggiornare a una release successiva alla2.31.0.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| sixstorage | 6Storage Rentals | ≤ 2.31.0 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/6storage-rentals/tags/2.31.0/inc/Base/Six_Storage_DashboardController.php#L14
- Riferimentohttps://plugins.trac.wordpress.org/browser/6storage-rentals/tags/2.31.0/inc/Base/Six_Storage_DashboardController.php#L4126
- Riferimentohttps://plugins.trac.wordpress.org/browser/6storage-rentals/tags/2.31.0/inc/Base/Six_Storage_SignInControllerSixStorage.php#L90
- Riferimentohttps://plugins.trac.wordpress.org/browser/6storage-rentals/tags/2.31.0/inc/Pages/Admin/Six_Storage_WpAdmin.php#L39
- Riferimentohttps://plugins.trac.wordpress.org/browser/6storage-rentals/tags/2.31.0/inc/Pages/Admin/Six_Storage_WpAdmin.php#L708
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/67b82539-8582-4bb4-ad4c-b626233b6075?source=cve