Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
nextjs-CVE-2024-34351-_exploit — PoC for a full exploitation of NextJS SSRF (CVE-2024-34351) | Kitploit
Tools/GitHubGitHub/god4n/nextjs-cve-2024-34351-_exploit
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRed Teaming
GitHubgod4n/nextjs-cve-2024-34351-_exploit

nextjs-CVE-2024-34351-_exploit

PoC for a full exploitation of NextJS SSRF (CVE-2024-34351)

View Repository
841 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-34351 Exploit

  • CVE-2024-34351 PoC
  • Next.js Server-Side Request Forgery in Server Actions · CVE-2024-34351 · GitHub Advisory Database
  • Digging for SSRF in NextJS apps

Summary

PoC for a full exploitation of NextJS SSRF. An attacker can get any website content from Next.js server using CVE-2024-34351 vulnerability. This vulnerability is fixed in [email protected].

Usage

  • Prepare a redirect server.
    • TypeScript
      root@kitploit:~
      deno run --allow-net --allow-read attacker-server.ts
      
    • Python
      root@kitploit:~
      python3 attacker-server.py
      
  • Modify Host header to attacker server. (e.g. Host: 192.198.0.144:8000)
  • Modify Origin header to attacker server. (e.g. Origin: http://192.198.0.144:8000/)
  • Add a new header called SSRF to specify where to redirect to. (e.g. SSRF: http://example.com/test)
Download Tool