Skip to content

Bind low security password change to CAPTCHA completion - #287

Open
r1kka6 wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
r1kka6:fix/insecure-captcha-low
Open

r1kka6 wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
r1kka6:fix/insecure-captcha-low

Conversation

@r1kka6

@r1kka6 r1kka6 commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • record CAPTCHA completion in the server-side session before showing step 2
  • consume the approved password values from session state and reject direct step-2 submissions

Verification

  • docker run --rm -v "$PWD":/work -w /work php:8.3-cli php -l vulnerabilities/captcha/source/low.php
  • vulnerable baseline returns Password Changed. for a direct step=2 POST
  • patched runtime returns CAPTCHA validation is required. for the same direct step=2 POST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant