Descrizione

The WP Review Slider plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 15.5 via the wprp_twitter_savetweet and wpfb_avatar_tolocal AJAX actions. This is due to the handlers only verifying a WordPress nonce without any current_user_can() capability check and accepting an attacker-supplied local filesystem path in the 'tw_img' parameter, which is later passed directly to PHP's copy() to write byte-identical data into a publicly accessible uploads directory under an attacker-chosen name. The nonce action 'randomnoncestring' is shared with the same vendor's companion plugin (WP Google Review Slider), which emits it to every visitor of every front-end page, making it obtainable by any logged-in user including Subscribers whenever that companion plugin is active. This makes it possible for authenticated attackers, with subscriber-level access and above, to read arbitrary files on the affected site's server, including sensitive files such as wp-config.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.3, EPSS 0.6% (percentile 42).

Versioni da aggiornare

Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Riferimenti