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-46982 — POC CVE-2024-46982 | Kitploit
Tools/GitHubGitHub/lercas/cve-2024-46982
Vulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHublercas/cve-2024-46982

CVE-2024-46982

POC CVE-2024-46982

View Repository
51201 year agoNot yet reviewed

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)

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

    430
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    402
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    349
  • 6

    ARTEX

    baarai/artex

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

    341

Explore all tools

Browse our collection of tools

View all tools →
Share

Next.js Cache Poisoning Exploit

This tool automates the detection and exploitation of CVE-2024-46982, a cache poisoning vulnerability in Next.js, where Server-Side Rendering (SSR) responses can be incorrectly cached as Static Site Generation (SSG). This misconfiguration can lead to Stored XSS, DoS, and data leakage, allowing attackers to inject malicious content into cached responses.

Installation and Usage

Prepare your target list

Create a file named targets.txt containing one target URL per line:

https://vulnerable-site.com
https://another-target.com

Define custom payloads

Create a file named payloads.txt containing payloads that will be injected via the User-Agent header:

Run the exploit

Compile and execute the exploit with:

go run exploit.go -f targets.txt -p payloads.txt -d 5

How It Works

  • Reads the list of target URLs from targets.txt
  • Iterates through each target and appends the vulnerable endpoint:
GET /poc?__nextDataReq=1 HTTP/1.1
Host: vulnerable-site.com
User-Agent: <PAYLOAD>
x-now-route-matches: 1
  • Sends multiple requests, each using a different payload from payloads.txt
  • Analyzes the HTTP response for signs of successful injection:
    • If the payload appears in the response body → The target is vulnerable
    • If the response code is 200 OK and caching behavior is abnormal → Potentially vulnerable
    • If the response code is 403 Forbidden or 404 Not Found → Likely patched
  • Displays results after testing all targets

To manually verify:

Send a malicious request using curl:

curl -X GET "https://vulnerable-site.com/poc?__nextDataReq=1" \
     -H "User-Agent: " \
     -H "x-now-route-matches: 1"

Visit the endpoint in a browser

Requirements

  • Go 1.21 or newer.
Download Tool