[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CSBV1BYWD5VW16PHSEC0E3":3,"skill-same:01M6CSBV1BYWD5VW16PHSEC0E3":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6CSBV1BYWD5VW16PHSEC0E3","broken-authentication",null,"Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems.","Sam-06060\u002Fjarvis-assistant","Sam-06060","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F208600848?v=4","01M6CRKT7C7FXD21V6HXF293S0","Samson Frank Ganta","01M6CRKTBEKYFD8YX5Z1GT99EE",6,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fbroken-authentication\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"authentication","broken authentication","broken","vulnerabilities","web","identity","owasp top 10","owasp","applications","takeover","access","management","session","exploit","community","2026-11-10 10:12:30",false,"---\nname: broken-authentication\ndescription: \"Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems.\"\nrisk: unknown\nsource: community\nauthor: zebbern\ndate_added: \"2026-02-27\"\n---\n\n# Broken Authentication Testing\n\n## Purpose\n\nIdentify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems. This skill covers testing methodologies for password policies, session handling, multi-factor authentication, and credential management.\n\n## Prerequisites\n\n### Required Knowledge\n- HTTP protocol and session mechanisms\n- Authentication types (SFA, 2FA, MFA)\n- Cookie and token handling\n- Common authentication frameworks\n\n### Required Tools\n- Burp Suite Professional or Community\n- Hydra or similar brute-force tools\n- Custom wordlists for credential testing\n- Browser developer tools\n\n### Required Access\n- Target application URL\n- Test account credentials\n- Written authorization for testing\n\n## Outputs and Deliverables\n\n1. **Authentication Assessment Report** - Document all identified vulnerabilities\n2. **Credential Testing Results** - Brute-force and dictionary attack outcomes\n3. **Session Security Analysis** - Token randomness and timeout evaluation\n4. **Remediation Recommendations** - Security hardening guidance\n\n## Core Workflow\n\n### Phase 1: Authentication Mechanism Analysis\n\nUnderstand the application's authentication architecture:\n\n```\n# Identify authentication type\n- Password-based (forms, basic auth, digest)\n- Token-based (JWT, OAuth, API keys)\n- Certificate-based (mutual TLS)\n- Multi-factor (SMS, TOTP, hardware tokens)\n\n# Map authentication endpoints\n\u002Flogin, \u002Fsignin, \u002Fauthenticate\n\u002Fregister, \u002Fsignup\n\u002Fforgot-password, \u002Freset-password\n\u002Flogout, \u002Fsignout\n\u002Fapi\u002Fauth\u002F*, \u002Foauth\u002F*\n```\n\nCapture and analyze authentication requests:\n\n```http\nPOST \u002Flogin HTTP\u002F1.1\nHost: target.com\nContent-Type: application\u002Fx-www-form-urlencoded\n\nusername=test&password=test123\n```\n\n### Phase 2: Password Policy Testing\n\nEvaluate password requirements and enforcement:\n\n```bash\n# Test minimum length (a, ab, abcdefgh)\n# Test complexity (password, password1, Password1!)\n# Test common weak passwords (123456, password, qwerty, admin)\n# Test username as password (admin\u002Fadmin, test\u002Ftest)\n```\n\nDocument policy gaps: Minimum length \u003C8, no complexity, common passwords allowed, username as password.\n\n### Phase 3: Credential Enumeration\n\nTest for username enumeration vulnerabilities:\n\n```bash\n# Compare responses for valid vs invalid usernames\n# Invalid: \"Invalid username\" vs Valid: \"Invalid password\"\n# Check timing differences, response codes, registration messages\n```\n\n# Password reset\n\"Email sent if account exists\" (secure)\n\"No account with that email\" (leaks info)\n\n# API responses\n{\"error\": \"user_not_found\"}\n{\"error\": \"invalid_password\"}\n```\n\n### Phase 4: Brute Force Testing\n\nTest account lockout and rate limiting:\n\n```bash\n# Using Hydra for form-based auth\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt \\\n  target.com http-post-form \\\n  \"\u002Flogin:username=^USER^&password=^PASS^:Invalid credentials\"\n\n# Using Burp Intruder\n1. Capture login request\n2. Send to Intruder\n3. Set payload positions on password field\n4. Load wordlist\n5. Start attack\n6. Analyze response lengths\u002Fcodes\n```\n\nCheck for protections:\n\n```bash\n# Account lockout\n- After how many attempts?\n- Duration of lockout?\n- Lockout notification?\n\n# Rate limiting\n- Requests per minute limit?\n- IP-based or account-based?\n- Bypass via headers (X-Forwarded-For)?\n\n# CAPTCHA\n- After failed attempts?\n- Easily bypassable?\n```\n\n### Phase 5: Credential Stuffing\n\nTest with known breached credentials:\n\n```bash\n# Credential stuffing differs from brute force\n# Uses known email:password pairs from breaches\n\n# Using Burp Intruder with Pitchfork attack\n1. Set username and password as positions\n2. Load email list as payload 1\n3. Load password list as payload 2 (matched pairs)\n4. Analyze for successful logins\n\n# Detection evasion\n- Slow request rate\n- Rotate source IPs\n- Randomize user agents\n- Add delays between attempts\n```\n\n### Phase 6: Session Management Testing\n\nAnalyze session token security:\n\n```bash\n# Capture session cookie\nCookie: SESSIONID=abc123def456\n\n# Test token characteristics\n1. Entropy - Is it random enough?\n2. Length - Sufficient length (128+ bits)?\n3. Predictability - Sequential patterns?\n4. Secure flags - HttpOnly, Secure, SameSite?\n```\n\nSession token analysis:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\nimport requests\nimport hashlib\n\n# Collect multiple session tokens\ntokens = []\nfor i in range(100):\n    response = requests.get(\"https:\u002F\u002Ftarget.com\u002Flogin\")\n    token = response.cookies.get(\"SESSIONID\")\n    tokens.append(token)\n\n# Analyze for patterns\n# Check for sequential increments\n# Calculate entropy\n# Look for timestamp components\n```\n\n### Phase 7: Session Fixation Testing\n\nTest if session is regenerated after authentication:\n\n```bash\n# Step 1: Get session before login\nGET \u002Flogin HTTP\u002F1.1\nResponse: Set-Cookie: SESSIONID=abc123\n\n# Step 2: Login with same session\nPOST \u002Flogin HTTP\u002F1.1\nCookie: SESSIONID=abc123\nusername=valid&password=valid\n\n# Step 3: Check if session changed\n# VULNERABLE if SESSIONID remains abc123\n# SECURE if new session assigned after login\n```\n\nAttack scenario:\n\n```bash\n# Attacker workflow:\n1. Attacker visits site, gets session: SESSIONID=attacker_session\n2. Attacker sends link to victim with fixed session:\n   https:\u002F\u002Ftarget.com\u002Flogin?SESSIONID=attacker_session\n3. Victim logs in with attacker's session\n4. Attacker now has authenticated session\n```\n\n### Phase 8: Session Timeout Testing\n\nVerify session expiration policies:\n\n```bash\n# Test idle timeout\n1. Login and note session cookie\n2. Wait without activity (15, 30, 60 minutes)\n3. Attempt to use session\n4. Check if session is still valid\n\n# Test absolute timeout\n1. Login and continuously use session\n2. Check if forced logout after set period (8 hours, 24 hours)\n\n# Test logout functionality\n1. Login and note session\n2. Click logout\n3. Attempt to reuse old session cookie\n4. Session should be invalidated server-side\n```\n\n### Phase 9: Multi-Factor Authentication Testing\n\nAssess MFA implementation security:\n\n```bash\n# OTP brute force\n- 4-digit OTP = 10,000 combinations\n- 6-digit OTP = 1,000,000 combinations\n- Test rate limiting on OTP endpoint\n\n# OTP bypass techniques\n- Skip MFA step by direct URL access\n- Modify response to indicate MFA passed\n- Null\u002Fempty OTP submission\n- Previous valid OTP reuse\n\n# API Version Downgrade Attack (crAPI example)\n# If \u002Fapi\u002Fv3\u002Fcheck-otp has rate limiting, try older versions:\nPOST \u002Fapi\u002Fv2\u002Fcheck-otp\n{\"otp\": \"1234\"}\n# Older API versions may lack security controls\n\n# Using Burp for OTP testing\n1. Capture OTP verification request\n2. Send to Intruder\n3. Set OTP field as payload position\n4. Use numbers payload (0000-9999)\n5. Check for successful bypass\n```\n\nTest MFA enrollment:\n\n```bash\n# Forced enrollment\n- Can MFA be skipped during setup?\n- Can backup codes be accessed without verification?\n\n# Recovery process\n- Can MFA be disabled via email alone?\n- Social engineering potential?\n```\n\n### Phase 10: Password Reset Testing\n\nAnalyze password reset security:\n\n```bash\n# Token security\n1. Request password reset\n2. Capture reset link\n3. Analyze token:\n   - Length and randomness\n   - Expiration time\n   - Single-use enforcement\n   - Account binding\n\n# Token manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=abc123&user=victim\n# Try changing user parameter while using valid token\n\n# Host header injection\nPOST \u002Fforgot-password HTTP\u002F1.1\nHost: attacker.com\nemail=victim@email.com\n# Reset email may contain attacker's domain\n```\n\n## Quick Reference\n\n### Common Vulnerability Types\n\n| Vulnerability | Risk | Test Method |\n|--------------|------|-------------|\n| Weak passwords | High | Policy testing, dictionary attack |\n| No lockout | High | Brute force testing |\n| Username enumeration | Medium | Differential response analysis |\n| Session fixation | High | Pre\u002Fpost-login session comparison |\n| Weak session tokens | High | Entropy analysis |\n| No session timeout | Medium | Long-duration session testing |\n| Insecure password reset | High | Token analysis, workflow bypass |\n| MFA bypass | Critical | Direct access, response manipulation |\n\n### Credential Testing Payloads\n\n```bash\n# Default credentials\nadmin:admin\nadmin:password\nadmin:123456\nroot:root\ntest:test\nuser:user\n\n# Common passwords\n123456\npassword\n12345678\nqwerty\nabc123\npassword1\nadmin123\n\n# Breached credential databases\n- Have I Been Pwned dataset\n- SecLists passwords\n- Custom targeted lists\n```\n\n### Session Cookie Flags\n\n| Flag | Purpose | Vulnerability if Missing |\n|------|---------|------------------------|\n| HttpOnly | Prevent JS access | XSS can steal session |\n| Secure | HTTPS only | Sent over HTTP |\n| SameSite | CSRF protection | Cross-site requests allowed |\n| Path | URL scope | Broader exposure |\n| Domain | Domain scope | Subdomain access |\n| Expires | Lifetime | Persistent sessions |\n\n### Rate Limiting Bypass Headers\n\n```http\nX-Forwarded-For: 127.0.0.1\nX-Real-IP: 127.0.0.1\nX-Originating-IP: 127.0.0.1\nX-Client-IP: 127.0.0.1\nX-Remote-IP: 127.0.0.1\nTrue-Client-IP: 127.0.0.1\n```\n\n## Constraints and Limitations\n\n### Legal Requirements\n- Only test with explicit written authorization\n- Avoid testing with real breached credentials\n- Do not access actual user accounts\n- Document all testing activities\n\n### Technical Limitations\n- CAPTCHA may prevent automated testing\n- Rate limiting affects brute force timing\n- MFA significantly increases attack difficulty\n- Some vulnerabilities require victim interaction\n\n### Scope Considerations\n- Test accounts may behave differently than production\n- Some features may be disabled in test environments\n- Third-party authentication may be out of scope\n- Production testing requires extra caution\n\n## Examples\n\n### Example 1: Account Lockout Bypass\n\n**Scenario:** Test if account lockout can be bypassed\n\n```bash\n# Step 1: Identify lockout threshold\n# Try 5 wrong passwords for admin account\n# Result: \"Account locked for 30 minutes\"\n\n# Step 2: Test bypass via IP rotation\n# Use X-Forwarded-For header\nPOST \u002Flogin HTTP\u002F1.1\nX-Forwarded-For: 192.168.1.1\nusername=admin&password=attempt1\n\n# Increment IP for each attempt\nX-Forwarded-For: 192.168.1.2\n# Continue until successful or confirmed blocked\n\n# Step 3: Test bypass via case manipulation\nusername=Admin (vs admin)\nusername=ADMIN\n# Some systems treat these as different accounts\n```\n\n### Example 2: JWT Token Attack\n\n**Scenario:** Exploit weak JWT implementation\n\n```bash\n# Step 1: Capture JWT token\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoidGVzdCJ9.signature\n\n# Step 2: Decode and analyze\n# Header: {\"alg\":\"HS256\",\"typ\":\"JWT\"}\n# Payload: {\"user\":\"test\",\"role\":\"user\"}\n\n# Step 3: Try \"none\" algorithm attack\n# Change header to: {\"alg\":\"none\",\"typ\":\"JWT\"}\n# Remove signature\neyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4ifQ.\n\n# Step 4: Submit modified token\nAuthorization: Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4ifQ.\n```\n\n### Example 3: Password Reset Token Exploitation\n\n**Scenario:** Test password reset functionality\n\n```bash\n# Step 1: Request reset for test account\nPOST \u002Fforgot-password\nemail=test@example.com\n\n# Step 2: Capture reset link\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6\n\n# Step 3: Test token properties\n# Reuse: Try using same token twice\n# Expiration: Wait 24+ hours and retry\n# Modification: Change characters in token\n\n# Step 4: Test for user parameter manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6&email=admin@example.com\n# Check if admin's password can be reset with test user's token\n```\n\n## Troubleshooting\n\n| Issue | Solutions |\n|-------|-----------|\n| Brute force too slow | Identify rate limit scope; IP rotation; add delays; use targeted wordlists |\n| Session analysis inconclusive | Collect 1000+ tokens; use statistical tools; check for timestamps; compare accounts |\n| MFA cannot be bypassed | Document as secure; test backup\u002Frecovery mechanisms; check MFA fatigue; verify enrollment |\n| Account lockout prevents testing | Request multiple test accounts; test threshold first; use slower timing |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","# Broken Authentication Testing\n\n## Purpose\n\nIdentify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems. This skill covers testing methodologies for password policies, session handling, multi-factor authentication, and credential management.\n\n## Prerequisites\n\n### Required Knowledge\n- HTTP protocol and session mechanisms\n- Authentication types (SFA, 2FA, MFA)\n- Cookie and token handling\n- Common authentication frameworks\n\n### Required Tools\n- Burp Suite Professional or Community\n- Hydra or similar brute-force tools\n- Custom wordlists for credential testing\n- Browser developer tools\n\n### Required Access\n- Target application URL\n- Test account credentials\n- Written authorization for testing\n\n## Outputs and Deliverables\n\n1. **Authentication Assessment Report** - Document all identified vulnerabilities\n2. **Credential Testing Results** - Brute-force and dictionary attack outcomes\n3. **Session Security Analysis** - Token randomness and timeout evaluation\n4. **Remediation Recommendations** - Security hardening guidance\n\n## Core Workflow\n\n### Phase 1: Authentication Mechanism Analysis\n\nUnderstand the application's authentication architecture:\n\n```\n# Identify authentication type\n- Password-based (forms, basic auth, digest)\n- Token-based (JWT, OAuth, API keys)\n- Certificate-based (mutual TLS)\n- Multi-factor (SMS, TOTP, hardware tokens)\n\n# Map authentication endpoints\n\u002Flogin, \u002Fsignin, \u002Fauthenticate\n\u002Fregister, \u002Fsignup\n\u002Fforgot-password, \u002Freset-password\n\u002Flogout, \u002Fsignout\n\u002Fapi\u002Fauth\u002F*, \u002Foauth\u002F*\n```\n\nCapture and analyze authentication requests:\n\n```http\nPOST \u002Flogin HTTP\u002F1.1\nHost: target.com\nContent-Type: application\u002Fx-www-form-urlencoded\n\nusername=test&password=test123\n```\n\n### Phase 2: Password Policy Testing\n\nEvaluate password requirements and enforcement:\n\n```bash\n# Test minimum length (a, ab, abcdefgh)\n# Test complexity (password, password1, Password1!)\n# Test common weak passwords (123456, password, qwerty, admin)\n# Test username as password (admin\u002Fadmin, test\u002Ftest)\n```\n\nDocument policy gaps: Minimum length \u003C8, no complexity, common passwords allowed, username as password.\n\n### Phase 3: Credential Enumeration\n\nTest for username enumeration vulnerabilities:\n\n```bash\n# Compare responses for valid vs invalid usernames\n# Invalid: \"Invalid username\" vs Valid: \"Invalid password\"\n# Check timing differences, response codes, registration messages\n```\n\n# Password reset\n\"Email sent if account exists\" (secure)\n\"No account with that email\" (leaks info)\n\n# API responses\n{\"error\": \"user_not_found\"}\n{\"error\": \"invalid_password\"}\n```\n\n### Phase 4: Brute Force Testing\n\nTest account lockout and rate limiting:\n\n```bash\n# Using Hydra for form-based auth\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt \\\n  target.com http-post-form \\\n  \"\u002Flogin:username=^USER^&password=^PASS^:Invalid credentials\"\n\n# Using Burp Intruder\n1. Capture login request\n2. Send to Intruder\n3. Set payload positions on password field\n4. Load wordlist\n5. Start attack\n6. Analyze response lengths\u002Fcodes\n```\n\nCheck for protections:\n\n```bash\n# Account lockout\n- After how many attempts?\n- Duration of lockout?\n- Lockout notification?\n\n# Rate limiting\n- Requests per minute limit?\n- IP-based or account-based?\n- Bypass via headers (X-Forwarded-For)?\n\n# CAPTCHA\n- After failed attempts?\n- Easily bypassable?\n```\n\n### Phase 5: Credential Stuffing\n\nTest with known breached credentials:\n\n```bash\n# Credential stuffing differs from brute force\n# Uses known email:password pairs from breaches\n\n# Using Burp Intruder with Pitchfork attack\n1. Set username and password as positions\n2. Load email list as payload 1\n3. Load password list as payload 2 (matched pairs)\n4. Analyze for successful logins\n\n# Detection evasion\n- Slow request rate\n- Rotate source IPs\n- Randomize user agents\n- Add delays between attempts\n```\n\n### Phase 6: Session Management Testing\n\nAnalyze session token security:\n\n```bash\n# Capture session cookie\nCookie: SESSIONID=abc123def456\n\n# Test token characteristics\n1. Entropy - Is it random enough?\n2. Length - Sufficient length (128+ bits)?\n3. Predictability - Sequential patterns?\n4. Secure flags - HttpOnly, Secure, SameSite?\n```\n\nSession token analysis:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\nimport requests\nimport hashlib\n\n# Collect multiple session tokens\ntokens = []\nfor i in range(100):\n    response = requests.get(\"https:\u002F\u002Ftarget.com\u002Flogin\")\n    token = response.cookies.get(\"SESSIONID\")\n    tokens.append(token)\n\n# Analyze for patterns\n# Check for sequential increments\n# Calculate entropy\n# Look for timestamp components\n```\n\n### Phase 7: Session Fixation Testing\n\nTest if session is regenerated after authentication:\n\n```bash\n# Step 1: Get session before login\nGET \u002Flogin HTTP\u002F1.1\nResponse: Set-Cookie: SESSIONID=abc123\n\n# Step 2: Login with same session\nPOST \u002Flogin HTTP\u002F1.1\nCookie: SESSIONID=abc123\nusername=valid&password=valid\n\n# Step 3: Check if session changed\n# VULNERABLE if SESSIONID remains abc123\n# SECURE if new session assigned after login\n```\n\nAttack scenario:\n\n```bash\n# Attacker workflow:\n1. Attacker visits site, gets session: SESSIONID=attacker_session\n2. Attacker sends link to victim with fixed session:\n   https:\u002F\u002Ftarget.com\u002Flogin?SESSIONID=attacker_session\n3. Victim logs in with attacker's session\n4. Attacker now has authenticated session\n```\n\n### Phase 8: Session Timeout Testing\n\nVerify session expiration policies:\n\n```bash\n# Test idle timeout\n1. Login and note session cookie\n2. Wait without activity (15, 30, 60 minutes)\n3. Attempt to use session\n4. Check if session is still valid\n\n# Test absolute timeout\n1. Login and continuously use session\n2. Check if forced logout after set period (8 hours, 24 hours)\n\n# Test logout functionality\n1. Login and note session\n2. Click logout\n3. Attempt to reuse old session cookie\n4. Session should be invalidated server-side\n```\n\n### Phase 9: Multi-Factor Authentication Testing\n\nAssess MFA implementation security:\n\n```bash\n# OTP brute force\n- 4-digit OTP = 10,000 combinations\n- 6-digit OTP = 1,000,000 combinations\n- Test rate limiting on OTP endpoint\n\n# OTP bypass techniques\n- Skip MFA step by direct URL access\n- Modify response to indicate MFA passed\n- Null\u002Fempty OTP submission\n- Previous valid OTP reuse\n\n# API Version Downgrade Attack (crAPI example)\n# If \u002Fapi\u002Fv3\u002Fcheck-otp has rate limiting, try older versions:\nPOST \u002Fapi\u002Fv2\u002Fcheck-otp\n{\"otp\": \"1234\"}\n# Older API versions may lack security controls\n\n# Using Burp for OTP testing\n1. Capture OTP verification request\n2. Send to Intruder\n3. Set OTP field as payload position\n4. Use numbers payload (0000-9999)\n5. Check for successful bypass\n```\n\nTest MFA enrollment:\n\n```bash\n# Forced enrollment\n- Can MFA be skipped during setup?\n- Can backup codes be accessed without verification?\n\n# Recovery process\n- Can MFA be disabled via email alone?\n- Social engineering potential?\n```\n\n### Phase 10: Password Reset Testing\n\nAnalyze password reset security:\n\n```bash\n# Token security\n1. Request password reset\n2. Capture reset link\n3. Analyze token:\n   - Length and randomness\n   - Expiration time\n   - Single-use enforcement\n   - Account binding\n\n# Token manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=abc123&user=victim\n# Try changing user parameter while using valid token\n\n# Host header injection\nPOST \u002Fforgot-password HTTP\u002F1.1\nHost: attacker.com\nemail=victim@email.com\n# Reset email may contain attacker's domain\n```\n\n## Quick Reference\n\n### Common Vulnerability Types\n\n| Vulnerability | Risk | Test Method |\n|--------------|------|-------------|\n| Weak passwords | High | Policy testing, dictionary attack |\n| No lockout | High | Brute force testing |\n| Username enumeration | Medium | Differential response analysis |\n| Session fixation | High | Pre\u002Fpost-login session comparison |\n| Weak session tokens | High | Entropy analysis |\n| No session timeout | Medium | Long-duration session testing |\n| Insecure password reset | High | Token analysis, workflow bypass |\n| MFA bypass | Critical | Direct access, response manipulation |\n\n### Credential Testing Payloads\n\n```bash\n# Default credentials\nadmin:admin\nadmin:password\nadmin:123456\nroot:root\ntest:test\nuser:user\n\n# Common passwords\n123456\npassword\n12345678\nqwerty\nabc123\npassword1\nadmin123\n\n# Breached credential databases\n- Have I Been Pwned dataset\n- SecLists passwords\n- Custom targeted lists\n```\n\n### Session Cookie Flags\n\n| Flag | Purpose | Vulnerability if Missing |\n|------|---------|------------------------|\n| HttpOnly | Prevent JS access | XSS can steal session |\n| Secure | HTTPS only | Sent over HTTP |\n| SameSite | CSRF protection | Cross-site requests allowed |\n| Path | URL scope | Broader exposure |\n| Domain | Domain scope | Subdomain access |\n| Expires | Lifetime | Persistent sessions |\n\n### Rate Limiting Bypass Headers\n\n```http\nX-Forwarded-For: 127.0.0.1\nX-Real-IP: 127.0.0.1\nX-Originating-IP: 127.0.0.1\nX-Client-IP: 127.0.0.1\nX-Remote-IP: 127.0.0.1\nTrue-Client-IP: 127.0.0.1\n```\n\n## Constraints and Limitations\n\n### Legal Requirements\n- Only test with explicit written authorization\n- Avoid testing with real breached credentials\n- Do not access actual user accounts\n- Document all testing activities\n\n### Technical Limitations\n- CAPTCHA may prevent automated testing\n- Rate limiting affects brute force timing\n- MFA significantly increases attack difficulty\n- Some vulnerabilities require victim interaction\n\n### Scope Considerations\n- Test accounts may behave differently than production\n- Some features may be disabled in test environments\n- Third-party authentication may be out of scope\n- Production testing requires extra caution\n\n## Examples\n\n### Example 1: Account Lockout Bypass\n\n**Scenario:** Test if account lockout can be bypassed\n\n```bash\n# Step 1: Identify lockout threshold\n# Try 5 wrong passwords for admin account\n# Result: \"Account locked for 30 minutes\"\n\n# Step 2: Test bypass via IP rotation\n# Use X-Forwarded-For header\nPOST \u002Flogin HTTP\u002F1.1\nX-Forwarded-For: 192.168.1.1\nusername=admin&password=attempt1\n\n# Increment IP for each attempt\nX-Forwarded-For: 192.168.1.2\n# Continue until successful or confirmed blocked\n\n# Step 3: Test bypass via case manipulation\nusername=Admin (vs admin)\nusername=ADMIN\n# Some systems treat these as different accounts\n```\n\n### Example 2: JWT Token Attack\n\n**Scenario:** Exploit weak JWT implementation\n\n```bash\n# Step 1: Capture JWT token\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoidGVzdCJ9.signature\n\n# Step 2: Decode and analyze\n# Header: {\"alg\":\"HS256\",\"typ\":\"JWT\"}\n# Payload: {\"user\":\"test\",\"role\":\"user\"}\n\n# Step 3: Try \"none\" algorithm attack\n# Change header to: {\"alg\":\"none\",\"typ\":\"JWT\"}\n# Remove signature\neyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4ifQ.\n\n# Step 4: Submit modified token\nAuthorization: Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4ifQ.\n```\n\n### Example 3: Password Reset Token Exploitation\n\n**Scenario:** Test password reset functionality\n\n```bash\n# Step 1: Request reset for test account\nPOST \u002Fforgot-password\nemail=test@example.com\n\n# Step 2: Capture reset link\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6\n\n# Step 3: Test token properties\n# Reuse: Try using same token twice\n# Expiration: Wait 24+ hours and retry\n# Modification: Change characters in token\n\n# Step 4: Test for user parameter manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6&email=admin@example.com\n# Check if admin's password can be reset with test user's token\n```\n\n## Troubleshooting\n\n| Issue | Solutions |\n|-------|-----------|\n| Brute force too slow | Identify rate limit scope; IP rotation; add delays; use targeted wordlists |\n| Session analysis inconclusive | Collect 1000+ tokens; use statistical tools; check for timestamps; compare accounts |\n| MFA cannot be bypassed | Document as secure; test backup\u002Frecovery mechanisms; check MFA fatigue; verify enrollment |\n| Account lockout prevents testing | Request multiple test accounts; test threshold first; use slower timing |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":44,"author":45,"source":38,"date_added":46,"description":7},"unknown","zebbern","2026-02-27","main","a50a3aa6b39fb0e1b7db88bef1bfc9c93606e126","modules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fbroken-authentication",0,"https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant","https:\u002F\u002Fgithub.com\u002FSam-06060","Mobile Application Developer | Kotlin | Flutter, KMP, Swfit, Android,Swift UI | Building at Saar It Resources | Creator of Jarvis (AI Assistant)","2026-06-23 05:13:38",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add Sam-06060\u002Fjarvis-assistant --skill broken-authentication",{"tool":61,"command":62},"bunx","bunx skills add Sam-06060\u002Fjarvis-assistant --skill broken-authentication",{"tool":64,"command":65},"pnpm","pnpm dlx skills add Sam-06060\u002Fjarvis-assistant --skill broken-authentication","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fbroken-authentication\u002FSKILL.md",true,[69,75],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"SOURCE.md","REFERENCE","参考文档",175,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fwhaleguard\u002FSOURCE.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fwhaleguard\u002FTRUST.auto.yaml",[80,89,105,131,150,177],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":86,"publishedAt":39},"01M6GDRVS6FXX3ESH0C9DW01C0","test_skill","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fscratch\u002Ftest_skill\u002FSKILL.md",[85],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[87,88],"Test Skill","test",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"01M6GDRQ40HX22MA6XWC31RHHK","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fzustand-store-ts\u002FSKILL.md",[],[96,97,98,99,100,101,102,38,103,104],"zustand store ts","zustand","store","with","types","middleware","patterns","create","typescript",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":114,"publishedAt":39},"01M6GDRKEA0WE670SPFWX5GKCN","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fzoom-automation\u002FSKILL.md",[111],{"categoryNo":112,"categoryName":113,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[115,116,117,118,119,120,121,122,123,124,125,126,127,128,38,129,35,130],"automation","zoom automation","zoom","first","Tools","search","MCP","via","meeting","automate","critical","creation","webinars","composio","recordings","tracking",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":138,"publishedAt":39},"01M6GDRFS1452PC71JQ38S24HR","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fzoho-crm-automation\u002FSKILL.md",[137],{"categoryNo":112,"categoryName":113,"taxonomyType":21,"taxonomyTypeDesc":22},[139,115,140,141,142,143,144,38,120,145,128,146,125,124,119,147,103,148,121,149],"crm automation","zoho crm","crm","zoho crm automation","zoho","leads","contacts","records","update","tasks","manage",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":159,"publishedAt":39},"01M6GDRCKQBAVTGHX5XBH26KPZ","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fzod-validation-expert\u002FSKILL.md",[156],{"categoryNo":157,"categoryName":158,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[160,161,162,163,164,104,165,166,167,168,169,170,99,171,172,173,174,38,175,176],"expert","zod","zod validation expert","validation","react","safe","parsing","errors","schema validation","react hook form","hook","trpc","form","type","next","schema","Next.js",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":184,"publishedAt":39},"01M6GDR658B08K4MY0RWD4A6EH","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002FSam-06060\u002Fjarvis-assistant\u002Fblob\u002Fmain\u002Fmodules\u002Fagent_skills\u002Fawesome-skills\u002Fplaybooks\u002Fzeroize-audit\u002FSKILL.md",[183],{"categoryNo":112,"categoryName":113,"taxonomyType":21,"taxonomyTypeDesc":22},[185,186,187,188,189,190,191,192,38,193,194,195,196,197,198,199,200,201,202,121],"zeroize audit","audit","write","passwords","get","project","c++","activate","assembly","read","Bash","secrets","analysis","data","flow","verification","code","rust"]