跳到正文
Skillpedia
安全6.5k · #14048

ato-methodology

它能做什么

这份指南列出了网页应用中账户被接管的主要路径,例如密码重置缺陷和薄弱的多重验证检查。适合测试登录和账户功能的安全团队。

适用场景

  • ✓当授权测试需要检查密码重置和邮箱更改流程时。
  • ✓当你想了解多重验证检查能否被跳过或猜测时。
  • ✓当团队需要一份账户接管路径的决策树来进行审查时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/ato-methodology/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/ato-methodology/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我审查我们的密码重置和邮箱更改流程,看看是否存在账户接管路径?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体逐一走查指南中的每条接管路径,检查应用中对应的控制措施,并报告哪些缺失或薄弱。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Account Takeover (ATO) Methodology

ATO is an outcome, not a vuln class. Reach it via 9 canonical paths.

1. Password reset flaws

  • Token in URL leaked to Referer (3rd-party CDN, analytics)
  • Token guessable (timestamp + user_id, sequential int, predictable RNG)
  • Token-no-expiry → reuse forever
  • Reset accepts arbitrary email param (mass-assignment style)
  • Token not invalidated after password change
  • "Forgot username" flows revealing existence

2. Email change without re-auth

POST /api/users/me/email {email: ...} without verifying current password. Or with verification but verification token leaks.

3. Session fixation

Server accepts attacker-set session cookie. Victim's actions bind to attacker's session.

4. JWT-based ATO

See skills/exploit/web/jwt/SKILL.md — alg confusion, weak secret, kid injection.

5. OAuth-based ATO

See skills/exploit/web/oauth/SKILL.md — redirect_uri bypass + open-redirect chain → code to attacker.

6. IDOR-based ATO

  • PATCH /api/users/<id> w/o auth check → change victim's email/password
  • GET /api/users/<id>/sessions → harvest victim's session tokens

7. XSS-based ATO

Stored XSS on victim-visible page → exfil cookie / session token to attacker.

8. CSRF on critical state

  • CSRF on password change endpoint (no anti-CSRF token)
  • CSRF on email change
  • CSRF on MFA disable

9. MFA bypass

  • TOTP code accepted multiple times w/ short delay (race)
  • TOTP code accepted from past N-step (clock skew abuse)
  • Backup-code flow doesn't enforce TOTP
  • "Trust this device" w/o re-auth on critical action
  • Account recovery bypasses MFA entirely
  • Phone-number takeover (SIM swap) → SMS 2FA hijack

Chain table

Primary vuln Chain partner Outcome
Open redirect OAuth redirect_uri allowlist OAuth code → attacker → ATO
XSS (reflected) session cookie not HttpOnly Cookie exfil → ATO
XSS (stored) victim views page Cookie / session-storage exfil → ATO
IDOR on email change reset flow Change victim's email, reset, login
CSRF on password change predictable URL Phishing email triggers password change
Predictable reset token weak RNG audit Generate victim's token offline → reset
OAuth state missing account linking by email Attacker pre-creates account, links victim's OAuth → ATO
JWT alg=none server accepts Mint admin JWT → ATO
Email change w/o re-auth + ATO of email full account graph Standard playbook for multi-tenant SaaS

Decision tree

Has user MFA enabled?
├── No → Standard password-reset attacks (paths 1-3, 6, 8)
└── Yes →
    Bypass MFA available?
    ├── Yes (path 9) → MFA bypass → standard reset
    └── No → Look for paths 5, 7 (OAuth, XSS) that bypass MFA by design
              OR path 4 (JWT) that doesn't touch the MFA flow
              OR account-linking via OAuth (path 5) which often skips MFA

PoC framing

Every ATO PoC should:

  • Attacker creates own account
  • Demonstrate victim's account is fully controllable (login as victim, change their email, post as them)
  • Capture video or step-by-step screenshots
  • Show no destructive action taken on victim's actual data — just proof of access

Severity

ATO is always Critical (9.8-10.0) when fully achieved. Severity downgrade only when:

  • Requires user interaction (click malicious link) — High 8-9 typically
  • Requires multiple vulns to chain — capture the chain in single report
  • Limited to specific user types — caveat in impact

Cross-references

  • Upstream: skills/_corpus/payloads/Account Takeover/
  • JWT: skills/exploit/web/jwt/SKILL.md
  • OAuth: skills/exploit/web/oauth/SKILL.md
  • IDOR: skills/analyst/idor.md
  • XSS: skills/exploit/web/xss.md
  • Open redirect: skills/exploit/web/open-redirect/SKILL.md
常见问题

什么是账户接管?

就是某人未经本人同意就获得了对他人账户的控制权。

涵盖哪些路径?

密码重置缺陷、无需重新登录即可更改邮箱、会话固定、令牌缺陷、OAuth 以及多重验证绕过。

缺少检查是否总意味着会被接管?

不一定。该指南将每条路径都视为需要通过测试加以确认的可能性。

详情

作者的原始描述

Account Takeover decision tree — 9 canonical ATO paths, chaining patterns (IDOR→ATO, XSS→ATO, OAuth→ATO), MFA bypass entry points.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14048
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能