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

perl-cgi: perl-cgi: Cookie attribute injection via unvalidated parameters

متن اصلی

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

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

بهره‌برداری

CVE-2026-120644

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

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

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

CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values. The path, domain and expires values are written into the Set-Cookie header without checking for semicolons or control characters. An application that sets them from request data can be made to add other cookie attributes, such as Domain or SameSite.

A flaw was found in perl-cgi. This vulnerability allows a remote attacker to inject arbitrary cookie attributes into HTTP (Hypertext Transfer Protocol) Set-Cookie response headers. The issue occurs because the module fails to properly validate semicolons or control characters in path, domain, and expiration values. If an application constructs cookies using untrusted user input, an attacker can manipulate attributes such as Domain or SameSite, potentially weakening cookie security policies and bypassing browser protections.