Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-75628— 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

Quick assessment

Affected
CVE-2026-75628
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl 版本的 Punk::OAuth2(低于 0.03 版本)在用户登录后允许攻击者选择的外部重定向,原因是 same_origin_path 函数未正确拒绝返回参数中的反斜杠(backslash)或制表符(tab)。 具体流程如下:oauth2_login 从初始请求中读取 return 参数,对该参数执行 same_origin_path 检查,并将通过检查的值存储在会话流程记录中,作为登录后的重定向目标。该检查机制会拒绝以下三类值:不以斜杠(/)开头的、第二个字节为斜杠的、或包含回车符(CR)或换行符(L

AI Predicted 6.1 Difficulty: Trivial EPSS 0.26% · P18

Affected Version Matrix 1

VendorProduct Version RangeStatus
None None < 0.03 affected

I. Basic Information for CVE-2026-75628

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
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
Source: CVE Program / CVE List V5
Vulnerability Description
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, so `/\evil.example` parses with the authority `evil.example`. It also strips ASCII tab before parsing, so a tab between two leading slashes leaves `//evil.example`. A crafted link to the application's own login route lands the victim on the attacker's site after a genuine authentication. The redirect carries no authorization code or access token.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 0.03 -

II. Public POCs for CVE-2026-75628

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-75628

登录查看更多情报信息。

Other References for CVE-2026-75628 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-75628

No comments yet


Leave a comment