Langsung ke konten
Skillpedia
Keamanan48k Β· #4873

hunt-forgot-password

Fungsinya

Tool ini membantu memeriksa apakah fitur pemulihan kata sandi sebuah website sudah aman. Tool ini menguji apakah penyerang dapat dengan mudah menemukan informasi akun pengguna atau mendapatkan akses tidak sah melalui fitur pemulihan kata sandi.

Kapan dipakai

  • βœ“Saat menguji keamanan website dengan izin.
  • βœ“Untuk memeriksa apakah fitur pemulihan kata sandi bisa dimanfaatkan untuk mencuri akun.
  • βœ“Untuk menemukan celah dalam cara situs menangani kata sandi yang terlupakan.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-forgot-password/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-forgot-password/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa keamanan fitur pemulihan kata sandi di example.com”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini mengirimkan berbagai jenis permintaan ke halaman pemulihan kata sandi. Respons yang diterima kemudian dibandingkan untuk melihat apakah tool dapat mengetahui email mana yang terdaftar, atau apakah kode pemulihan bisa digunakan ulang atau mudah didapatkan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Autonomous Testing Priority

Start with username enumeration β€” it's the fastest win and gates the rest.

Pattern 1 β€” Username enumeration (response difference for valid vs invalid email):

  1. POST to the forgot-password endpoint with a clearly invalid email (e.g. nonexistent@fakedomain12345.com) β€” record the response body, status code, and length
  2. POST with an email you know exists (or try common patterns like admin@target.com, test@target.com, user@target.com)
  3. Compare responses: different message ("Email sent" vs "Email not found"), different HTTP status, or meaningfully different body length = username enumeration confirmed
  4. Proof: enumeration is confirmed when the two responses differ measurably (baseline vs probe) in message text, status code, or body length

Pattern 2 β€” Reset token exposed in the API response: Some APIs return the reset token directly in the response body (instead of only emailing it). POST to the forgot-password endpoint and look for a token, link, or code in the JSON/HTML response. If a token appears that lets you reset the password, that's an immediate account-takeover vector.

Pattern 3 β€” Reset token replay (reuse after use):

  1. Complete a full password reset cycle: request token β†’ use it to reset password
  2. Immediately try submitting the same token again to the reset-password endpoint
  3. If the second submission returns 200 or "success" β†’ token not invalidated after use

Pattern 4 β€” No rate limit on reset requests: Submit the forgot-password endpoint 10-20 times rapidly with the same email. If all succeed without a 429, lockout, or CAPTCHA β†’ no rate limit (enumeration + token flooding is possible).

Content-type: Forgot-password endpoints are often JSON-based REST APIs. Use application/x-www-form-urlencoded only if the endpoint is a traditional HTML form (check the login page's HTML to determine form encoding).

Proof: Username enumeration = measurably different response (body/status/length). Token exposure = token in response body. Token replay = second successful use of a consumed token.


Vulnerability Classes in This Skill

1. Username Enumeration via Password Reset

Different error messages for valid vs invalid accounts leaks the user list without authentication. Even timing differences (fast "no user found" vs slow "email queued") count.

High-value targets: admin accounts, employee email patterns, API keys derived from usernames.

2. Weak / Predictable Reset Tokens

A reset token derived from timestamp, username, or sequential IDs can be brute-forced:

  • base64(email + timestamp) β€” decodable
  • 4-6 digit numeric code β€” 10K guesses, easily feasible with no rate limit
  • Sequential token=1234, token=1235 β€” trivially enumerable

3. Token Not Bound to Session or IP

Most apps generate a token, email it, and accept it from any browser. A truly bound token should only work from the same IP or require the original session cookie. If neither is enforced β†’ link forwarding = account takeover.

Token leak via Referer / third-party resources. When the token rides in the reset-page URL (/reset?token=…) and that page loads any cross-origin resource (analytics, ads, fonts, a CDN image), the full URL β€” token included β€” leaks to that third party in the Referer header. Check the reset page's outbound requests: if the token appears in any cross-origin Referer, it's harvestable without the victim's inbox. Same leak via a <meta name=referrer> misconfig or an outbound link the victim clicks from the reset page. Disclosed token-leakβ†’ATO class: https://hackerone.com/reports/173551.

…

Pertanyaan umum

Mengapa saya perlu izin untuk menggunakan ini?

Menggunakan tool pengujian keamanan tanpa izin adalah tindakan ilegal. Tool ini menguji celah keamanan dan hanya boleh digunakan pada sistem yang Anda miliki izin eksplisit untuk mengujinya.

Apa itu 'username enumeration'?

Itu adalah cara mengetahui username atau email mana saja yang valid di suatu sistem. Jika fitur pemulihan memberikan respons yang berbeda untuk email yang valid dan tidak valid, celah ini bisa dimanfaatkan untuk membuat daftar pengguna.

Apa itu 'reset token'?

Reset token adalah kode sementara yang dikirim ke email Anda saat lupa kata sandi. Kode ini memungkinkan Anda membuat kata sandi baru. Tool ini memeriksa apakah kode tersebut aman dan apakah bisa digunakan ulang atau ditebak.

Detail

Deskripsi asli dari pembuat

Hunt Forgot Password / Account Recovery Authentication Flaws

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4873
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa