Advisories

web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF

Go back
Severity
medium
Date
Affecting
  • web3.py >= 7.15.0, <= 7.16.0

  • web3.py >= 8.0.0b2, <= 8.0.0

CWE
  • CWE-918 Server-Side Request Forgery (SSRF)
CVSS
6.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Credit
Zachariah Mithani (AploSec)
Description
web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 contains a server-side request forgery vulnerability in ccip_url_validation.py because BLOCKED_IP_NETWORKS omits non-public ranges like 100.64.0.0/10 and NAT64. Attacker-deployed contracts can revert with OffchainLookup URLs resolving to these addresses, making eth_call clients send GET or POST requests to internal services.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.