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/0xbingo/cve-2025-1974
Container SecurityVulnerability AnalysisExploitationWeb SecurityCloud SecurityMisconfigurationLearning & Education
GitHub0xbingo/cve-2025-1974

CVE-2025-1974

View Repository
251 year agoNot yet reviewed

About

A minimal test tool to help detect annotation injection vulnerabilities in Kubernetes NGINX Ingress controllers. This script sends a crafted AdmissionReview request to simulate a potential exploit path from CVE-2025-1974 and checks for signs of misinterpreted annotations in controller logs.

Share

🚨 Log Injection Test via Ingress-NGINX Admission Controller

🧠 Overview

This script tests for annotation injection vulnerabilities in Kubernetes clusters using the NGINX Ingress Controller. It is meant for detection purposes only in relation to CVE-2025-1974, which allows malicious annotations to influence NGINX configuration.

📚 Background

The vulnerability, disclosed by Wiz.io (blog post), involves injecting annotations that are improperly handled by the controller. For instance:

nginx.ingress.kubernetes.io/auth-url: "http://placeholder/#; error_log /root/this_path_shouldnt_exist.log debug; #"

This can lead to unexpected NGINX configuration behavior and permission errors if processed. In more advanced scenarios, this type of injection could be chained with other misconfigurations to achieve remote code execution (RCE).

🛠️ What This Script Does

  1. Loads a crafted AdmissionReview payload from a YAML file.
  2. Sends it to the admission controller's /validate endpoint.
  3. Prompts the user to check ingress controller logs for results.

📁 Files

  • admission_review.yaml: Contains the crafted AdmissionReview request.
  • main.py: Sends the payload to the controller.

🚀 Usage

First, forward the admission controller port:

kubectl port-forward -n ingress-nginx svc/ingress-nginx-controller-admission 8443:443

Then run:

python main.py --url https://localhost:8443

🔍 Expected Result

Check ingress controller logs:

kubectl logs -n ingress-nginx -l app.kubernetes.io/component=controller

You may see:

nginx: [emerg] open() "/root/this_path_shouldnt_exist.log" failed (13: Permission denied)

This indicates the annotation was improperly executed as a directive.

⚠️ Warning

For educational and authorized testing only. Do not run on systems without permission.

🔗 References

  • Wiz Blog: Breaking Ingress NGINX
  • NGINX Ingress Annotations
  • CVE-2025-1974

Use this tool to verify whether your cluster is vulnerable to annotation injection via NGINX Ingress. Exploitation of this vulnerability may be part of a broader attack chain leading to remote code execution.

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.

    755
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    415
  • 4

    redforge

    cybersecurity91/redforge

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

    343
  • 5

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

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

    258

Explore all tools

Browse our collection of tools

View all tools →