[CVE-2026-75628] Punk::OAuth2 versions before 0.03 for Perl allow an attacker

CVE-2026-75628 | CVSS: N/A

Punk::OAuth2 versions before 0.03 for Perl allow an attacker-chosen off-site redirect after login because same_origin_path accepts a backslash or tab in the return parameter.

oauth2_login reads the return parameter from the initiation request, runs same_origin_path over it, and stores the survivor in the session flow record as the post-login redirect target. That check rejects a value that does not begin with a slash, one with a slash as its second byte, and one containing CR or LF. A backslash and a tab pass. The URL Standard treats a backslash as equivalent to a slash for special schemes, s

参考链接:
https://datatracker.ietf.org/doc/html/rfc9700#section-4.11.1
https://metacpan.org/release/LNATION/Punk-OAuth2-0.02/source/include/pox/pox_uti
https://metacpan.org/release/LNATION/Punk-OAuth2-0.03/changes

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部