본문으로 건너뛰기
cccskills
무료GitHub에 공개

default-credentials

Identify and exploit default or weak credentials on web application login forms, admin panels, CMS backends (WordPress wp-admin, Joomla, Drupal), and embedded device management interfaces. Signals include framework fingerprinting (WhatWeb, Wappalyzer, Nikto), exposed admin paths from robots.txt/dirbusting, and weak password policy acceptance of "Password1" or "123456". Tools: Burp Suite Intruder, Hydra, Medusa, OWASP ZAP.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구WordPress
설치 방법 보기

포함된 파일(1)

  • SKILL.md6.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Default and Weak Credentials

What Is Broken and Why

Web applications, CMS platforms, and network devices ship with documented default credentials that administrators frequently fail to change. Weak password policies that permit short, common, or non-complex passwords compound the risk by allowing brute-force and credential-stuffing attacks to succeed rapidly. When combined with exposed admin paths discovered through fingerprinting, the attack chain from reconnaissance to authenticated access can be trivially short.

Key Signals

  • Admin path accessible: /wp-admin/, /administrator/, /admin/, /manager/, /console/
  • Framework identified via cookie names, headers, or meta tags (WordPress, Joomla, Drupal, etc.)
  • Login form accepts admin/admin, admin/password, admin/<blank>, root/root
  • Password policy accepts "Password1" or "123456" on registration/change
  • No account lockout after repeated failed attempts
  • No rate limiting or CAPTCHA on login endpoint
  • Error messages distinguish between invalid username and invalid password (username enumeration)
  • HTTP Basic Auth realm on admin endpoints

Methodology

  1. Fingerprint the platform: Identify CMS/framework via headers, cookies, HTML markers, and path probing (see web-fingerprinting skill).
  2. Locate login endpoint: Check /robots.txt Disallow entries; dirbust with framework-specific wordlist; follow redirects from root path.
  3. Check for lockout and rate limiting: Submit 5-10 intentionally wrong credentials; observe whether account locks or responses slow.
  4. Username enumeration: Test error message differentiation between unknown user and wrong password.
  5. Default credential test: Try documented defaults for identified platform.
  6. Weak password spray: Test a short list of common passwords against discovered usernames (low-and-slow to avoid lockout).
  7. Password policy audit: Attempt to register or change password to weak values; document what is and is not accepted.

Payloads & Tools

# Hydra HTTP POST form brute-force
hydra -l admin -P /usr/share/wordlists/rockyou.txt TARGET http-post-form \
  "/login:username=^USER^&password=^PASS^:Invalid credentials"

# Hydra HTTP Basic Auth
hydra -L users.txt -P passwords.txt TARGET http-get /admin/

# Burp Suite Intruder — set username/password fields as payload positions
# Payload list: admin, administrator, root, user, test, guest
# Password list: admin, password, 123456, Password1, <blank>

# Common default credential pairs to test manually
# admin:admin
# admin:password
# admin:1234
# admin:(blank)
# root:root
# administrator:administrator
# test:test
# guest:guest

# WordPress-specific
curl -X POST https://TARGET/wp-login.php \
  -d "log=admin&pwd=admin&wp-submit=Log+In&redirect_to=%2Fwp-admin%2F&testcookie=1" \
  -b "wordpress_test_cookie=WP+Cookie+check" -L -I | grep -E "HTTP|Location"

# Check for username enumeration via error message difference
curl -s -X POST https://TARGET/login \
  -d "user=nonexistentuser12345&pass=wrongpass" | grep -i "invalid\|not found\|wrong"
curl -s -X POST https://TARGET/login \
  -d "user=admin&pass=wrongpass" | grep -i "invalid\|not found\|wrong"

# Password policy probe
curl -X POST https://TARGET/register \
  -d "username=testpolicyuser&password=123456&confirm=123456"

Bypass Techniques

  • Some login forms implement lockout client-side only; bypass by sending requests directly via curl or Burp, skipping JavaScript lockout enforcement.
  • IP-based rate limiting can be bypassed with X-Forwarded-For header rotation.
  • CMS-specific default credentials may differ by version; cross-reference with identified version.
  • "Remember me" tokens for admin accounts may persist after password changes in some platforms.

Exploitation Scenarios

Scenario 1 — CMS Default Admin Credentials Setup: WhatWeb identifies WordPress; /wp-admin/ returns login form. Trigger: Try admin/admin; application grants access. Impact: Full CMS admin control — content modification, plugin installation, RCE via theme editor.

Scenario 2 — Credential Spray on No-Lockout Login Setup: Login endpoint has no rate limiting or CAPTCHA; accepts unlimited attempts. Trigger: Spray top-10 passwords against enumerated usernames. Impact: Multiple accounts compromised; potential admin access.

Scenario 3 — Weak Policy Allows Trivially Guessable Passwords Setup: Registration allows "Password1"; a user has set this. Trigger: Username enumeration reveals jsmith@TARGET; spray with common passwords. Impact: User account compromised via guessable password.

False Positives

  • A login page returning 200 for admin/admin with no redirect may be a honeypot or decoy form.
  • Identical error messages for wrong user vs. wrong password prevent enumeration but may mask successful login attempts — always follow up with a session-bearing request.
  • Some applications use progressive lockout (slow response, not hard lock) that may look like an open endpoint on first probes.

Fix Patterns

  • Force credential change on first login; remove all documented defaults before deployment.
  • Enforce minimum password length (12+ chars), complexity, and common-password deny-list.
  • Implement account lockout (5-10 attempts) with exponential backoff or CAPTCHA.
  • Return identical error messages for wrong username and wrong password.
  • Apply rate limiting per IP and per account on all authentication endpoints.
  • Restrict admin panel access by IP allowlist or VPN requirement where feasible.

Related Skills

Default credentials are a specific subset of [[auth-bypass]] — the same forced-browsing and parameter-tampering techniques apply once credentials are obtained. If the login endpoint lacks rate limiting, use [[password-reset-flaws]] to check whether the reset flow also permits credential guessing. The platform fingerprinting step that leads here is covered in [[web-fingerprinting]], which identifies the exact CMS version to cross-reference with known default credential databases.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Exploit pervasive logical flaws in Multi-Factor Authentication (MFA/2FA) implementations to bypass the secondary authentication challenge entirely. Techniques include response manipulation, referal spoofing, token reuse, and predictable backup codes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths. Covers path manipulation, HTTP method tampering, header injection, protocol downgrade, and automated bypass tools.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

Complete PortSwigger deep-dive with exact payloads for every lab variant including zero-day techniques

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

Active Directory ACL abuse playbook. Use when exploiting misconfigured AD permissions including GenericAll, WriteDACL, DCSync rights, shadow credentials, LAPS reading, GPO abuse, and BloodHound-guided attack paths.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

Execute AS-REP Roasting to extract and crack the NTLM hashes of Active Directory user accounts that have the "Do not require Kerberos preauthentication" flag explicitly enabled. This attack generates a recoverable Ticket Granting Ticket (TGT) without requiring the attacker to authenticate first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

AD Certificate Services attack playbook. Use when targeting misconfigured AD CS for privilege escalation via ESC1-ESC13 template abuse, NTLM relay to enrollment, CA officer abuse, and certificate-based persistence.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ShulkwiSEC/bb-huge232026년 7월 11일 업데이트

ShulkwiSEC의 스킬 모두 보기

이 스킬의 문제 신고