Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-4577-rayng — CVE-2024-4577 PHP CGI Argument Injection - Detection Lab with Vagrant VMs and Wazuh SIEM rules | Kitploit
Tools/GitHubGitHub/rayngnpc/cve-2024-4577-rayng
Vulnerability AnalysisExploitationWeb SecurityPenetration TestingThreat IntelligenceIntrusion DetectionLearning & EducationIncident ResponseLabs & Practice
GitHubrayngnpc/cve-2024-4577-rayng

CVE-2024-4577-rayng

CVE-2024-4577 PHP CGI Argument Injection - Detection Lab with Vagrant VMs and Wazuh SIEM rules

4610 months agoNot yet reviewed
View Repository
Share

CVE-2024-4577 - PHP CGI Argument Injection Detection Lab

A complete detection engineering lab for CVE-2024-4577 (PHP CGI Argument Injection). Includes pre-built Vagrant boxes, Wazuh SIEM rules, and exploit tools for Blue Team training.

What's Included

  • Windows Server 2022 VM - Vulnerable XAMPP + PHP-CGI, Sysmon, Wazuh Agent
  • Kali Linux VM - Pre-installed exploit scripts
  • Wazuh SIEM - Docker-based with 54 production detection rules
  • Detection Rules - Wazuh XML, Sigma YAML, IOCs

Quick Start

Prerequisites

  • Vagrant 2.3+
  • VirtualBox 7.0+
  • Docker
  • 12GB RAM minimum

1. Start Wazuh SIEM

cd wazuh
docker compose up -d
# Dashboard: https://localhost:443 (admin / SecretPassword)

2. Start Lab VMs

vagrant up
# Downloads ~12GB on first run

3. Get VM IPs

VBoxManage guestproperty enumerate "DetectionLab-Windows" | grep IP
VBoxManage guestproperty enumerate "DetectionLab-Kali" | grep IP

4. Launch Attack

vagrant ssh kali
python3 ~/exploits/CVE-2024-4577.py --url http://<WINDOWS_IP>/ --cmd "whoami"

5. See Detection

Wazuh Dashboard -> Discover -> Filter: rule.id: 100442

Vagrant Boxes

Pre-built boxes on HCP Vagrant Registry:

  • CVE-2024-4577/windows - Windows Server 2022 target
  • CVE-2024-4577/kali - Kali Linux attacker

Detection Coverage (54 rules)

LayerDetectionMITRE ATT&CK
Web LogSoft hyphen variants, PHP wrappersT1190
Processphp-cgi.exe spawning cmd/powershellT1059
FileWebshell drops in htdocsT1505.003
CredentialLSASS, SAM dump, MimikatzT1003
LateralPsExec, WMI, WinRMT1021
PersistenceScheduled tasks, services, registryT1053, T1543

Credentials

SystemUsernamePassword
Windows VMAdministratorDetectionLab123!
Kali VMkalikali
WazuhadminSecretPassword

Project Structure

CVE-2024-4577/
├── Vagrantfile           # Lab VM definitions
├── README.md             # This file
├── detections/           # Detection rules
│   ├── wazuh-rules.xml   # 54 Wazuh detection rules
│   ├── sigma-rules.yml   # Sigma format rules
│   ├── iocs.json         # Indicators of Compromise
│   └── detection-guide.md
└── wazuh/                # Wazuh SIEM stack
    └── docker-compose.yml

CVE Details

  • CVE ID: CVE-2024-4577
  • Type: Remote Code Execution
  • CVSS: 9.8 (Critical)
  • Affected: PHP 8.1 < 8.1.29, 8.2 < 8.2.20, 8.3 < 8.3.8 (Windows + CGI mode)
  • Root Cause: Soft hyphen (0xAD) bypasses CVE-2012-1823 fix in Windows Best-Fit encoding

License

MIT

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    282

Explore all tools

Browse our collection of tools

View all tools →