hunt-auth-bypass
它能做什么
这项技能指导安全测试人员在 SAML、OAuth、管理门户等类似登录系统中查找身份验证绕过漏洞。它适用于对登录功能进行的经授权测试。
适用场景
- ✓当公司使用 SAML 或 OAuth 单点登录,你需要测试它时。
- ✓当管理员或合作伙伴门户可能在未经适当登录的情况下被访问时。
- ✓当 CMS 插件处理登录,你想检查它时。
技能链接
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-auth-bypass/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们的单点登录使用 SAML。在我们经授权的测试中,请帮我检查登录是否可以被绕过。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查登录流程如何验证身份令牌,以及可能在哪里信任了错误的信息。它会报告任何已确认的绕过,并附上证明。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Crown Jewel Targets
Auth bypass is consistently one of the highest-paying vulnerability classes in bug bounty because it directly violates the most fundamental security control. High-value targets include:
- SSO/SAML implementations at enterprise SaaS companies (Slack, Okta, OneLogin integrations) — payouts regularly in the $5K–$25K+ range
- Admin panels and partner/internal portals — subdomain-separated admin surfaces like
partners.shopify.com,admin.company.com - Third-party auth plugin integrations — WordPress plugins (OneLogin, WP-SAML-Auth), Drupal SSO modules, any CMS with pluggable auth
- XMLRPC endpoints on WordPress — often forgotten, bypasses standard WP auth flows entirely
- OAuth callback flows — state parameter mishandling, redirect_uri mismatches
- API authentication layers — especially where auth was bolted on after the fact
Asset priority: Targets with federated identity (SAML, OAuth, OIDC) connected to large user populations. Partner/reseller portals are particularly juicy because they often have elevated permissions and less security scrutiny than the main product.
SSH certificate-authority trust forgery (Git-hosting / enterprise platforms)
When an org or instance registers an SSH certificate authority, cert principals may not be bound server-side to the requesting identity — a member can mint a cert asserting another user's principal and authenticate as them (e.g. modify another user's resource given only its URL). Add SSH-CA trust to the auth-surface list on Git-hosting targets; niche/platform-specific. Disclosed: reports/1901040.
Attack Surface Signals
URL patterns to hunt:
/xmlrpc.php
/wp-login.php
/saml/
/sso/
/auth/saml/callback
/oauth/callback
/partners.*
/admin.*
/?wc-api=
/api/v*/auth
/login?redirect=
/accounts/login
Response headers signaling SSO:
X-Frame-Options: SAMEORIGIN (common on SSO portals)
Set-Cookie: SAMLResponse=
Location: https://idp.company.com/saml
WWW-Authenticate: Bearer realm="partners"
JS patterns indicating federated auth:
// Look for in page source
samlRequest
RelayState
SAMLResponse
onelogin
shibboleth
okta
passport.js authenticate
Tech stack signals:
- WordPress + any SSO plugin → check XMLRPC separately
- Shopify Partner API exposure → cross-tenant privilege escalation risk
- Any app advertising "SSO enabled" or "Login with [Enterprise IdP]"
- Separate subdomains for admin/partner that share session cookies with main domain
- Applications using
SimpleSAMLphp,ruby-saml,python-saml
Burp passive scan triggers:
SAMLResponsein any POST bodyopenid_connectorid_tokenin responses- Cookie domains set to
.company.com(wildcard)
Step-by-Step Hunting Methodology
Map all authentication entry points
- spider the target for every login surface: main login, admin login, API login, partner portal, mobile API endpoints
- check
robots.txt, JS files, and the wayback machine for forgotten endpoints like/xmlrpc.php
Identify the auth mechanism per entry point
- Is it forms-based, SAML, OAuth, API key, session token?
- For WordPress: always probe
/xmlrpc.phpeven if the main login is SSO-protected
Test XMLRPC independently of SSO
- If site uses SSO (e.g., OneLogin), manually POST to
/xmlrpc.php - XMLRPC uses WordPress-native credentials, not SSO — test with
system.listMethodsfirst, thenwp.getUsersBlogs
- If site uses SSO (e.g., OneLogin), manually POST to
Enumerate SAML implementation
- Capture a valid SAMLResponse via Burp
- Decode the Base64 payload, inspect the XML
- Test signature stripping, comment injection, and XML wrapping attacks
- Test if SP validates the signature at all (send unsigned assertion)
Test cross-portal session/token reuse
- Log into
partners.shopify.comtype portals - Attempt to use the issued token/cookie against the main admin portal
- Look for shared cookie domains, shared JWT secrets, or API tokens that work across contexts
- Log into
Fuzz auth parameters
- Null/empty passwords,
password[]=array, SQL in username field - Try
admin/admin,test/teston staging subdomains - Modify
role,is_admin,user_typein JWTs (none algorithm, weak secret)
- Null/empty passwords,
Check redirect and state parameters
- Does removing
statefrom OAuth break anything? - Can you change
redirect_urito an open redirect target? - Does the
RelayStatein SAML get validated?
- Does removing
**Veri
常见问题
它涵盖哪些类型的绕过?
它涵盖签名剥离、解析器差异和跨登录令牌复用等模式,这些模式来自公开报告。
它涵盖 WordPress 吗?
涵盖。技能提到了 WordPress 插件和 XMLRPC 是需要检查的领域。
这些模式来自哪里?
技能说明,它基于公开的漏洞赏金报告构建,并列出了所依据的模式。
详情
作者的原始描述
Hunting skill for auth bypass vulnerabilities. Built from 12 public bug bounty reports across SAML XSW / parser-differential (GitHub Enterprise CVE-2025-25291/25292), SAML signature stripping (Uber, Rocket.Chat, samlify CVE-2025-47949), SAML domain enforcement bypass via control characters (HackerOne 2024), partner-portal cross-IdP assertion reuse (Slack), WordPress XMLRPC bypassing SSO (Uber), JWT alg-confusion HS256/RS256 (Jitsi), JWT signature-validation skip (Linktree, Newspack), and token-audience confusion (Argo CD CVE-2023-22482). For standalone JWT signature/crypto forging (alg:none, k
热度
- GitHub 星标
- 5.4k
- 排名
- #14895
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
apk-redteam-pipeline
5.4k帮你的智能体测试 Android 应用的安全弱点,从找到 APK 文件、反编译,到检查是否暴露了敏感信息。
bugcrowd-reporting
5.4k帮你的智能体撰写更好的 Bugcrowd 漏洞报告,选择正确的类别,并回应“超出范围”的异议。
cloud-iam-deep
5.4k帮你的智能体在经授权的安全测试中,检查找到的云凭据在 AWS、Azure 或 Google Cloud 上能访问哪些内容。
enterprise-vpn-attack
5.4k帮你的智能体在经授权的测试中,检查 Cisco、Fortinet、Citrix 等厂商 VPN 和远程访问设备是否存在已知弱点。