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
fix_nginx_cve_2026_42945 — Automated one-click shell script to detect and patch NGINX CVE-2026-42945 across major Linux distributions, with config backup, version validation, and automatic rollback on failure. | Kitploit
Tools/GitHubGitHub/fkj-src/fix_nginx_cve_2026_42945
Vulnerability ScannersVulnerability AnalysisScripting & AutomationConfiguration AuditingWeb SecurityDevSecOps
GitHubfkj-src/fix_nginx_cve_2026_42945

fix_nginx_cve_2026_42945

Automated one-click shell script to detect and patch NGINX CVE-2026-42945 across major Linux distributions, with config backup, version validation, and automatic rollback on failure.

View Repository
386 months agoNot yet reviewed
Share

NGINX CVE-2026-42945 One-Click Fix Script

Automatically detect OS distribution, upgrade NGINX to the fixed version (≥1.30.1), backup configuration, and auto-rollback.


Vulnerability Description

Vulnerability ID: CVE-2026-42945 Vulnerability Name: NGINX Rift

When NGINX processes specific rewrite redirect rules, the calculated request content length does not match the actual written length. Attackers can craft malicious requests to trigger memory corruption, causing worker processes to crash, and potentially leading to remote code execution.

Affected Versions: All versions below NGINX 1.30.1 / 1.31.0 Fixed Versions: NGINX 1.30.1 / 1.31.0 and above


Features

  • Auto OS Detection — Ubuntu/Debian / CentOS/RHEL / Fedora
  • Version Auto-Check — Skip if already fixed, trigger upgrade only if vulnerable
  • Configuration Automatic Backup — Full backup of /etc/nginx to a timestamped directory before upgrade
  • Auto-Rollback on Failure — Restore backup if version is still below the target after upgrade
  • Auto Config Test & Reload — Automatically verify and reload configuration after successful upgrade

Supported Systems

DistributionVersion
Ubuntu18.04 and above
Debian10 and above
CentOS7 and above
RHEL7 and above
Fedora33 and above

One-Click Install & Run

curl -fsSL https://raw.githubusercontent.com/fkj-src/fix_nginx_cve_2026_42945/refs/heads/main/fix_nginx_cve_2026_42945.sh -o /usr/local/bin/fix_nginx_cve.sh && chmod +x /usr/local/bin/fix_nginx_cve.sh && fix_nginx_cve.sh

When NGINX Cannot Be Upgraded to a Safe Version

1. Check and Modify Risky rewrite Rules

grep -rn "rewrite" /etc/nginx/conf.d/ /etc/nginx/sites-enabled/ 2>/dev/null

If found, you can ask AI to rewrite the rewrite statements into equivalent alternatives, such as return

2. Verify ASLR is Enabled

cat /proc/sys/kernel/randomize_va_space

Return 2 indicates it is enabled.

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.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    385
  • 4

    redforge

    cybersecurity91/redforge

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

    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.

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

    279

Explore all tools

Browse our collection of tools

View all tools →