PT-2026-56232 · Cpan · Tiny-Http
CVSS v3.1
7.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
HTTP::Tiny versions prior to 0.095
Description
When a server returns a 3xx redirect, the
maybe redirect function follows the Location: header and the prepare headers and cb function re-merges the caller's headers argument into the new request. This process occurs without verifying if the redirect target shares an origin with the original URL. Consequently, caller-supplied Authorization, Cookie, and Proxy-Authorization headers are sent to any host specified in the redirect, regardless of scheme, host, or port boundaries. This includes downgrades from https to http, which can expose these credentials in plaintext.Recommendations
Update to version 0.095 or later.
Exploit
Fix
Insufficiently Protected Credentials
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tiny-Http