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
CVE-2021-21974_vuln_dectection — CVE-2021-21974 Vulnerability Detection Tool Safe PoC that identifies vulnerable SLP implementations without exploitation | Kitploit
Tools/GitHubGitHub/abirasecurity/cve-2021-21974_vuln_dectection
Vulnerability ScannersVulnerability AnalysisExploitationInformation GatheringNetwork SecurityPenetration Testing
GitHubabirasecurity/cve-2021-21974_vuln_dectection

CVE-2021-21974_vuln_dectection

CVE-2021-21974 Vulnerability Detection Tool Safe PoC that identifies vulnerable SLP implementations without exploitation

View Repository
271 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-21974 Vulnerability Detector

A Python-based security tool for detecting CVE-2021-21974 vulnerability in SLP (Service Location Protocol) implementations, specifically targeting VMware ESXi systems. This tool performs safe, non-exploitative detection by analyzing SLP service responses and implementation behaviors.

Description

CVE-2021-21974 is a critical heap-overflow vulnerability in the SLP service of VMware ESXi that can lead to remote code execution. This detector tool safely identifies potentially vulnerable systems by:

  • Testing SLP service availability and responsiveness
  • Fingerprinting SLP implementation versions
  • Analyzing boundary condition handling
  • Testing malformed packet responses
  • Assessing vulnerability likelihood based on implementation characteristics

The tool is designed as a safe proof-of-concept that identifies vulnerable systems without performing actual exploitation.

Features

  • Non-destructive scanning: Safe detection without exploitation attempts
  • SLP service fingerprinting: Identifies VMware ESXi implementations
  • Boundary condition testing: Tests parsing limits without triggering overflows
  • Malformed packet analysis: Evaluates error handling capabilities
  • Comprehensive reporting: Detailed scan results with timestamps
  • Timeout handling: Prevents hanging on unresponsive services
  • Connection management: Proper socket handling and cleanup

Requirements

  • Python 3.x
  • Standard Python libraries:
    • socket
    • struct
    • sys
    • time
    • datetime

Installation

  1. Clone or download the script:

    wget https://example.com/CVE-2021-21974_detector.py

    curl -O https://example.com/CVE-2021-21974_detector.py

  2. Make the script executable:

    chmod +x CVE-2021-21974_detector.py

  3. Verify Python 3 installation:

    python3 --version

Usage

Basic Usage

Run the detector against a target IP address:

root@kitploit:~
python3 CVE-2021-21974_detector.py <IP>

Configuration

The tool uses the following default settings that can be modified in the source code:

root@kitploit:~
Default SLP Port: 427 (TCP)
Connection Timeout: 5 seconds for initial connection, 3 seconds for boundary tests
Response Timeout: 2 seconds for malformed packet tests
Buffer Size: 1024 bytes for response reception

Customizing Parameters

To modify default settings, edit the SLPVulnDetector class initialization: Python

Change default port detector = SLPVulnDetector(target_ip, port=427)

Modify timeouts in respective methods

root@kitploit:~
sock.settimeout(10)  # Increase timeout to 10 seconds
Download Tool