PT-2024-18925

CVE-2024-21510

·

تاريخ النشر

2024-03-26

·

تاريخ التحديث

2025-03-26

الوصف من

CVSS 2.0
6.4
متوسطة
المقاييسAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions sinatra versions 0.0.0 and later
Description The issue is related to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.
Recommendations For sinatra versions 0.0.0 and later, consider handling the X-Forwarded-Host header properly to prevent exploitation. As a temporary workaround, restrict access to the vulnerable module or function that processes the X-Forwarded-Host header until a patch is available. Additionally, avoid using the X-Forwarded-Host header for security decisions without proper validation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
قابلية الاستغلال
استغلال
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-HXX2-7VCW-MQR3
ALSA-2024:10987
CESA-2024_10987
INFSA-2024_10987
RHSA-2024:10987
RHSA-2024_10987
RLSA-2024:10987
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾