ssrfcheck Server-Side Request Forgery Vulnerability

Vulnerability

A Server-Side Request Forgery (SSRF) vulnerability exists in the ssrfcheck package, all versions prior to 1.2.0. The issue arises from an incomplete denylist of IP address ranges, specifically failing to classify the reserved multicast IP space 224.0.0.0/4 as invalid. This oversight allows attackers to send requests to these multicast addresses, potentially bypassing the intended SSRF protections of the package.

Impact

Exploitation of this vulnerability allows for SSRF attacks, where an attacker can send requests to internal services or resources that are not normally accessible, potentially leading to unauthorized data access or manipulation.

Reproduction

To reproduce this vulnerability, install the ssrfcheck package and use the isSSRFSafeURL function to test URLs that include multicast IP addresses, such as 239.255.255.250. The function will incorrectly return true, indicating that the address is safe, which bypasses the SSRF protection.

Remediation

Users can upgrade to version 1.2.0 or higher, where this vulnerability has been fixed.

Added: Jul 28, 2025, 5:17 AM
Updated: Jul 28, 2025, 5:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.9
exploitability
8.7
remediation
7.7
relevance
0.3
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.