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.
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
- 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.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews/tags/15.4/admin/class-wp-fb-reviews-admin.php#L1070
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews/tags/15.4/admin/class-wp-fb-reviews-admin.php#L1580
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews/tags/15.4/admin/class-wp-fb-reviews-admin.php#L1657
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews/tags/15.4/includes/class-wp-fb-reviews.php#L484
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews/tags/15.4/includes/class-wp-fb-reviews.php#L507
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-facebook-reviews?rev=3821722
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&new=3821722%40wp-facebook-reviews%2Ftags%2F15.6&old=3818992%40wp-facebook-reviews%2Ftags%2F15.5
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/34139b5a-2069-49c2-b87b-edd7e994c11e?source=cve