Skip to content
Back to skills

Web Auth Session

ASecurity

Authentication and session-management testing — login flaws, credential stuffing/brute force and rate-limit bypass, username enumeration, password-reset and account-recovery abuse, MFA/2FA bypass, registration flaws, and session lifecycle weaknesses (fixation, weak tokens, logout, cookie flags). Use for any login, registration, recovery, or session feature.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityrustgoawstestingapisecurity

Works with

  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill web-auth-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Auth Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Auth Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-web-auth-session/badge)](https://www.skillsdirectory.com/skills/anandjogawade-web-auth-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-auth-session
description: Authentication and session-management testing — login flaws, credential stuffing/brute force and rate-limit bypass, username enumeration, password-reset and account-recovery abuse, MFA/2FA bypass, registration flaws, and session lifecycle weaknesses (fixation, weak tokens, logout, cookie flags). Use for any login, registration, recovery, or session feature.
---

# Authentication & Session Management

Authentication is where account takeover lives. Test the whole lifecycle: register → login → MFA → stay-logged-in → reset → logout. Confirm real impact (session granted, victim account controlled), not just error differences.

## Trigger phrases

`authentication, login, brute force, credential stuffing, password reset, account takeover, 2fa bypass, mfa bypass, otp, session fixation, rate limiting, username enumeration, remember me`

## 1. Pre-auth enumeration
- **Username enumeration:** differing responses/timings between valid and invalid users on login, registration ("already taken"), and reset ("email sent" vs "not found"). Build a user list for later attacks.
- **Default/weak credentials:** admin:admin, product defaults, seeded test accounts.

## 2. Credential attacks & rate limiting
- Brute force / password spraying (one password across many users to dodge lockout) / credential stuffing with breach combos — within RoE.
- **Rate-limit bypass:** rotate `X-Forwarded-For`/`X-Real-IP`, vary case/padding in username, use the password-reset or token-verify endpoint if login is limited, parallel requests, null-byte/unicode tricks, switch between web and API endpoints, reset the counter via a different flow. Lockout that counts by username but not IP (or vice-versa) is bypassable.

## 3. Password reset / account recovery (high ATO yield)
- **Host-header poisoning:** inject `Host`/`X-Forwarded-Host` so the reset link points to your domain → steal victim's token (→ `web-injection`).
- **Token weaknesses:** predictable/sequential tokens, short tokens brute-forceable, no expiry, reuse, token leaked in response/Referer, token not bound to user (use A's valid token to reset B).
- **Logic flaws:** reset without old password, changing the account identifier mid-flow, response-based bypass (manipulate JSON to skip verification), parameter pollution on `email`/`user`.
- **Security questions / OTP recovery:** guessable answers, OTP reuse/brute.

## 4. MFA / 2FA bypass
- **Flow bypass:** access post-login resources with the pre-MFA session, skip the MFA step by direct navigation, or replay the "MFA verified" response.
- **OTP brute force / no rate limit** on the verify endpoint; OTP reuse; OTP not invalidated after use; predictable OTP; leaked OTP in response.
- **Backup/remember-device:** forge "trusted device" cookie, downgrade to a weaker second factor, disable MFA via an under-protected settings endpoint, or use a recovery flow that skips MFA.
- **Race conditions** on OTP verification (→ `web-business-logic`).

## 5. Registration flaws
- Duplicate/overwrite existing accounts, email verification bypass, pre-verified via mass assignment (→ `web-access-control`), weak password policy, response manipulation to set role.

## 6. Session management
- **Token quality:** entropy/predictability of session IDs and tokens; are they signed/random?
- **Fixation:** does the session ID change after login? If not, a pre-set ID = fixation.
- **Lifecycle:** does logout invalidate server-side? Do tokens expire? Do password changes revoke other sessions? Concurrent-session handling.
- **Cookie flags:** `HttpOnly`, `Secure`, `SameSite`, scope/domain; JWT in localStorage (XSS-stealable). Missing flags feed XSS/CSRF chains.
- **"Remember me" tokens:** predictable, non-expiring, or reversible persistent cookies.

## 7. OAuth/JWT/SAML
If the app uses tokens or federated login, hand to `web-jwt-oauth`.

## Depth & chaining
- The win condition is **account takeover** — demonstrate controlling a victim account (preferably one you set up), not just a bypassed check.
- Chain: username enum → spray → weak session → full takeover; or host-header reset poisoning → token theft → ATO.

## Evidence
Show the granted session / controlled account, the exact bypass steps, and (for rate-limit) the volume achieved without lockout.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.