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
ctf-cve-2024-4577 — CTF challenge demonstrating CVE-2024-4577 PHP CGI argument injection, with vulnerable app, attack scripts, and Kubernetes/Docker deployment for hands-on exploitation practice. | Kitploit
Tools/GitHubGitHub/a1ex-var1amov/ctf-cve-2024-4577
Vulnerability AnalysisExploitationWeb Application ExploitationCTFLearning & EducationLabs & Practice
GitHuba1ex-var1amov/ctf-cve-2024-4577

ctf-cve-2024-4577

CTF challenge demonstrating CVE-2024-4577 PHP CGI argument injection, with vulnerable app, attack scripts, and Kubernetes/Docker deployment for hands-on exploitation practice.

View Repository
51 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-2024-4577 CTF Challenge

Overview

This CTF challenge demonstrates CVE-2024-4577, a critical PHP CGI argument injection vulnerability affecting PHP versions 8.1.x < 8.1.21, 8.2.x < 8.2.8, and 8.3.x < 8.3.1.

Vulnerability Details

CVE-2024-4577 is a PHP CGI argument injection vulnerability that occurs when PHP is configured to run as a CGI handler. Attackers can inject command-line arguments to the PHP interpreter through crafted HTTP requests, potentially leading to remote code execution.

Challenge Description

You are given access to a vulnerable PHP application running on a web server. Your goal is to exploit the CVE-2024-4577 vulnerability to read the flag file located at /flag.txt.

Files

  • vulnerable-app/ - The vulnerable PHP application
  • attack-scripts/ - Automated attack scripts
  • kubernetes/ - Kubernetes deployment manifests
  • docker/ - Docker configuration files
  • Getting Started

    For Local Testing

    1. Deploy the vulnerable application using the provided Kubernetes manifests
    2. Use the attack scripts to exploit the vulnerability
    3. Read the flag file to complete the challenge

    For Internet Deployment

    1. Follow the Internet Deployment Guide
    2. Deploy to GKE/EKS with LoadBalancer service
    3. Configure DNS to point to your external IP
    4. The CTF will be accessible worldwide for participants

    Learning Objectives

    • Understand PHP CGI argument injection vulnerabilities
    • Learn about HTTP request smuggling techniques
    • Practice web application security testing
    • Gain experience with containerized application security

    Disclaimer

    This CTF is for educational purposes only. Do not use these techniques against systems you don't own or have explicit permission to test.

    Download Tool