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
nginx2root_lab — Docker lab reproducing CVE-2026-123007, an nginx HTTP/2 flow-control integer underflow leading to RCE, plus a root cron privilege-escalation path for local practice. | Kitploit
Tools/GitHubGitHub/0xcypher110/nginx2root_lab
Privilege EscalationContainer SecurityVulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & EducationLabs & Practice
GitHub0xcypher110/nginx2root_lab

nginx2root_lab

Docker lab reproducing CVE-2026-123007, an nginx HTTP/2 flow-control integer underflow leading to RCE, plus a root cron privilege-escalation path for local practice.

4215h 42m agoNot yet reviewed
Share
View Repository

nginx2root

A local, Docker-based reproduction of CVE-2026-123007, an HTTP/2 flow-control integer underflow in nginx that leads to remote code execution with the worker process's privileges. Published nginx versions 1.9.5 through 1.31.8 are affected when HTTP/2 is enabled; this image builds nginx 1.31.8 from source, on Alpine Linux, with TLS and HTTP/2 turned on, so the behavior can be studied against a real, pinned, vulnerable build rather than a simulation.

The container also carries a second, classic misconfiguration: a root cron job that runs a world-writable script every minute. That gives the lab a full path from an unauthenticated network foothold (the nginx worker user) to root, entirely on your own machine.

CVE-2026-123007 is public and already patched upstream (fixed in nginx 1.31.9 / 1.30.7). This lab exists to practice against a disclosed, documented vulnerability, not to target anything running in production.

References: JFrog Security Research, Wiz, Qualys

Requirements

  • Docker
  • Docker Compose (optional, a plain docker build / docker run also works)
  • Internet access during the build (nginx 1.31.8 is compiled from source, fetched from nginx.org)

Build and run

Using Compose:

docker compose up --build

Or plain Docker:

docker build -t nginx2root .
docker run --rm -p 9991:9991 nginx2root

The site is then reachable at https://localhost:9991. The certificate is self-signed, so your browser or client will warn about it; that is expected.

Objective

Two flags are hidden in the container:

  • /home/user_flag.txt — reachable once you have code execution as the nginx worker user.
  • /root/root_flag.txt — reachable only as root.

The first step is the real CVE-2026-123007 foothold against the HTTPS service on port 9991. The second step is a local privilege-escalation misconfiguration inside the container; enumerate what is running with elevated privileges once you have a shell.

Scope

This image reproduces a real, disclosed, and already-patched vulnerability for local, isolated practice only. Do not expose port 9991 to a public network or the internet, and do not point any exploit at a target you do not own or have explicit permission to test.

Stopping and cleaning up

docker compose down

or, without Compose:

docker stop nginx2root
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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    371
  • 4

    redforge

    cybersecurity91/redforge

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

    336
  • 5

    ARTEX

    baarai/artex

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

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

    322

Explore all tools

Browse our collection of tools

View all tools →