Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
vcenter-cve-2021-21980-lab — Realistic vulnerable lab for CVE-2021-21980 (VMware vSphere Path Traversal) - Actual file exploitation, not a mock server | Kitploit
Tools/GitHubGitHub/pratikjojode/vcenter-cve-2021-21980-lab
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubpratikjojode/vcenter-cve-2021-21980-lab

vcenter-cve-2021-21980-lab

Realistic vulnerable lab for CVE-2021-21980 (VMware vSphere Path Traversal) - Actual file exploitation, not a mock server

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
18 months agoNot yet reviewed

CVE-2021-21980 Vulnerable Test Environment

Overview

Realistic test environment simulating VMware vSphere Web Client path traversal vulnerability.

⚠️ WARNING: Vulnerable test environment. Do NOT expose to internet!

Quick Start

Build and Run

root@kitploit:~
podman build -t vcenter-lab .
podman run -d -p 443:443 --name vcenter-lab vcenter-lab

Test Manually

root@kitploit:~
curl -k "https://localhost/ui/vic-rest/services/containerView?id=../../../etc/passwd"

Test with Nuclei

root@kitploit:~
nuclei -t CVE-2021-21980.yaml -u https://localhost -debug

What Makes This Different from Mock Servers

✅ Actually reads files from container filesystem using Python file I/O
✅ Realistic behavior - Handles path traversal like real vSphere
✅ VMware headers - Includes Server: VMware-HTTP-Server/1.0
✅ SSL/TLS - Self-signed certificate generation
✅ Not hardcoded - Returns actual file contents

Vulnerability Details

  • CVE: CVE-2021-21980
  • Severity: High (CVSS 7.5)
  • Type: Path Traversal / Arbitrary File Read
  • Affected: VMware vCenter Server 7.0, 6.7, 6.5 (unpatched)

Files

  • Dockerfile - Container build configuration
  • server.py - Vulnerable Flask application
  • CVE-2021-21980.yaml - Nuclei detection template
  • README.md - This file

Validation Proof

This lab was validated with Nuclei showing:

  • Successful detection of vulnerability
  • Actual file reading (not mock responses)
  • Complete HTTP request/response traces in debug mode

Cleanup

root@kitploit:~
podman stop vcenter-lab && podman rm vcenter-lab

References

  • https://www.vmware.com/security/advisories/VMSA-2021-0002.html
  • https://nvd.nist.gov/vuln/detail/CVE-2021-21980
Download Tool