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

perl-HTTP-Tiny: HTTP::Tiny: Information disclosure via cross-origin redirect of credential headers

متن اصلی

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

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

بهره‌برداری

CVE-2026-7017

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

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

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

HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets. When the server returns a 3xx redirect, _maybe_redirect follows the Location: header and _prepare_headers_and_cb re-merges the caller's headers argument into the new request, without checking whether the redirect target shares an origin with the original URL. Caller-supplied Authorization, Cookie and Proxy-Authorization headers are therefore re-sent to whatever host the redirect names, across scheme, host or port boundaries, and including https to http downgrades that expose them in plaintext on the wire. The HTTP::Tiny POD note that "Authorization headers will not be included in a redirected request" applied only to the URL-userinfo Basic-auth path, not to headers passed explicitly by the caller.

A flaw was found in HTTP::Tiny. This vulnerability allows a remote attacker to obtain sensitive credential headers, such as Authorization, Cookie, and Proxy-Authorization, by redirecting a user's request to a different origin. When HTTP::Tiny follows a server's redirect, it fails to verify if the new destination shares the same origin as the original request. This can lead to the unintended disclosure of credentials, including over unencrypted connections if redirected from HTTPS to HTTP.