همهٔ گزارش‌ها
متوسط

imgproxy is vulnerable to SSRF against 0.0.0.0

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
*
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
<3.27.2
نسخهٔ اصلاح‌شده
3.27.2
نسخه‌های متأثر
< 3.27.2
نسخهٔ اصلاح‌شده
3.27.2
نسخه‌های متأثر
*
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-24354

احتمال بهره‌برداری در ۳۰ روز آینده: 0.90%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

Summary

Imgproxy does not block the 0.0.0.0 address, even with IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES set to false. This can expose services on the local host.

Details

imgproxy protects against SSRF against a loopback address with the following check (source):

if !config.AllowLoopbackSourceAddresses && ip.IsLoopback() {
	return ErrSourceAddressNotAllowed
}

This check is insufficient to prevent accessing services on the local host, as services may receive traffic on 0.0.0.0. Go's IsLoopback (source) strictly follows the definition of loopback IPs beginning with 127. 0.0.0.0 is not blocked.

پیوندها

گزارش‌دهندگان

  • phannguyenlong
  • Benasin
  • benaubin