Skip to content

fix #38 修复找回密码验证码串扰#52

Merged
pbootcmspro merged 2 commits into
masterfrom
fix/origin-38-member-retrieve-checkcode
Jun 27, 2026
Merged

fix #38 修复找回密码验证码串扰#52
pbootcmspro merged 2 commits into
masterfrom
fix/origin-38-member-retrieve-checkcode

Conversation

@pbootcmspro

Copy link
Copy Markdown
Owner

Summary

Fixes #38.

This patch fixes an account takeover issue in the member password recovery flow.

Changes

  • Use a dedicated retrieve_checkcode session key for password recovery verification codes.
  • Require the submitted email to match the member's existing registered email.
  • Prevent password recovery from rewriting the useremail field.
  • Clear retrieve_checkcode after a successful password reset to avoid code reuse.

Verification

  • php -l apps/home/controller/MemberController.php

@pbootcmspro pbootcmspro self-assigned this Jun 26, 2026
@github-actions github-actions Bot added bug Something isn't working needs review Pull request is ready for maintainer review labels Jun 27, 2026
@pbootcmspro

Copy link
Copy Markdown
Owner Author

/lgtm

@github-actions github-actions Bot added ready to merge Pull request has been reviewed and is ready to merge and removed needs review Pull request is ready for maintainer review labels Jun 27, 2026
@pbootcmspro pbootcmspro merged commit 7cd7f85 into master Jun 27, 2026
1 check passed
@pbootcmspro pbootcmspro deleted the fix/origin-38-member-retrieve-checkcode branch June 27, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready to merge Pull request has been reviewed and is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

V3.2.12-Account-Takeover CVE-2026-12066

1 participant