본문으로 건너뛰기
Skillpedia
보안5.4k · #14895

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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-auth-bypass/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 SSO는 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:

  • SAMLResponse in any POST body
  • openid_connect or id_token in responses
  • Cookie domains set to .company.com (wildcard)

Step-by-Step Hunting Methodology

  1. 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
  2. Identify the auth mechanism per entry point

    • Is it forms-based, SAML, OAuth, API key, session token?
    • For WordPress: always probe /xmlrpc.php even if the main login is SSO-protected
  3. 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.listMethods first, then wp.getUsersBlogs
  4. 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)
  5. Test cross-portal session/token reuse

    • Log into partners.shopify.com type 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
  6. Fuzz auth parameters

    • Null/empty passwords, password[]=array, SQL in username field
    • Try admin/admin, test/test on staging subdomains
    • Modify role, is_admin, user_type in JWTs (none algorithm, weak secret)
  7. Check redirect and state parameters

    • Does removing state from OAuth break anything?
    • Can you change redirect_uri to an open redirect target?
    • Does the RelayState in SAML get validated?
  8. **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

repo: elementalsouls/Claude-BugHunter

인기도

GitHub 스타
5.4k
순위
#14895
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬