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
cve-2026-40072-ssrf-lab — Hands-on lab for CVE-2026-40072 — SSRF vulnerability in web3.py via CCIP Read (EIP-3668) | Kitploit
Tools/GitHubGitHub/u1tr0nex/cve-2026-40072-ssrf-lab
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPenetration TestingLearning & EducationLabs & Practice
GitHubu1tr0nex/cve-2026-40072-ssrf-lab

cve-2026-40072-ssrf-lab

Hands-on lab for CVE-2026-40072 — SSRF vulnerability in web3.py via CCIP Read (EIP-3668)

View Repository
2 months 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-2026-40072 SSRF Lab

Hands-on local lab to demonstrate CVE-2026-40072 in web3.py, show the SSRF impact in Burp Suite, and verify the official fix.

Overview

This repository contains a safe, local-only proof of concept for CVE-2026-40072, a Server-Side Request Forgery (SSRF) issue tied to CCIP Read / OffchainLookup handling in web3.py. The lab uses Kali Linux, a Python virtual environment, Flask as a fake internal service, and Burp Suite to intercept the outbound request.

What You Will Learn

  • How the vulnerability works at a high level.
  • How to reproduce the request safely in a lab.
  • How to intercept and inspect the request with Burp Suite.
  • How to verify the official fix by upgrading web3.py.

Prerequisites

  • Kali Linux
  • Python 3.13+
  • Burp Suite Community or Pro
  • Internet access for package installation

Safety Notice

This lab is for authorized, local, educational use only. Run everything in your own isolated environment. Do not test against systems you do not own or have permission to assess.

Setup

1. Create a virtual environment

root@kitploit:~
python3 -m venv ~/ssrf-lab
source ~/ssrf-lab/bin/activate

2. Install dependencies

root@kitploit:~
pip install -r requirements.txt

If Kali blocks system-wide pip, keep using the venv above.

Running the Lab

Step 1: Start the fake internal service

root@kitploit:~
source ~/ssrf-lab/bin/activate
python3 lab/fake_internal_server.py

Keep this terminal open. It simulates a sensitive internal endpoint.

Step 2: Open Burp Suite

  • Launch Burp Suite.
  • Ensure Proxy listener is running on 127.0.0.1:8080.
  • Turn on Intercept if you want to capture the request.

Step 3: Run the SSRF demo

root@kitploit:~
source ~/ssrf-lab/bin/activate
python3 lab/ssrf_demo.py

The request should appear in Burp and the fake service should return a demo credential string.

Step 4: Verify the patched version

Upgrade to the fixed release:

root@kitploit:~
pip install "web3==7.15.0"

Then confirm the version:

root@kitploit:~
pip show web3 | grep Version

Run the check script:

root@kitploit:~
python3 lab/ssrf_fixed_check.py

You should confirm the patched environment and document that the SSRF request no longer occurs.

Expected Outcome

  • Vulnerable version: Burp captures the outbound request, Flask logs the hit, and Repeater shows the demo key.
  • Patched version: No SSRF request appears, and the fix is documented with a version screenshot.

License

MIT

Download Tool