360 Secure SkillHub
360 安全技能中心

saml-sso-assertion-attacks

该 Skill 是 SAML SSO 断言攻击 playbook,用于指导测试签名验证、断言包装、受众与接收方限制、ACS 处理、重放与新鲜度、账户映射及 XML 解析信任边界等企业 SSO 缺陷;提供配置检查表和快速排查步骤,不包含可执行脚本或自动化测试工具。

yaklang
热度 0.00
最近更新 2026-10-19 02:00:34
分类:安全依赖:纯提示词应用场景:研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yaklang/hack-skills/saml-sso-assertion-attacks
Metadata
name
saml-sso-assertion-attacks
description
SAML SSO assertion attack playbook. Use when testing signature validation, assertion wrapping, audience restrictions, ACS handling, XML trust boundaries, and enterprise SSO flaws.

SKILL: SAML SSO and Assertion Attacks — Signature Validation, Binding, and Trust Confusion

AI LOAD INSTRUCTION: Use this skill when the target uses SAML-based SSO and you need to validate assertion trust: signature coverage, audience and recipient checks, ACS handling, XML parsing weaknesses, and IdP/SP confusion.

1. WHEN TO LOAD THIS SKILL

Load when:

  • Enterprise SSO uses SAML requests or responses
  • You see SAMLRequest, SAMLResponse, XML assertions, or ACS endpoints
  • Login flows involve an external IdP and browser POST/redirect binding

2. HIGH-VALUE MISCONFIGURATION CHECKS

Theme What to Check
signature validation unsigned assertion accepted, wrong node signed, signature wrapping
audience and recipient weak Audience, Recipient, Destination, or ACS validation
issuer trust wrong IdP accepted or multi-tenant issuer confusion
replay and freshness missing InResponseTo, weak NotBefore / NotOnOrAfter enforcement
account mapping email-only binding, case folding, unverified attributes
XML parser behavior XXE-like parser issues or unsafe transforms around SAML documents

3. QUICK TRIAGE

  1. Capture one full login round trip.
  2. Inspect which XML nodes are signed and which attributes drive account binding.
  3. Compare SP-initiated and IdP-initiated flows.
  4. Test replay, altered attributes, and assertion placement confusion.

4. RELATED ROUTES