| 标题 | PbootCMS 3.2.12 Improper Authentication |
|---|
| 描述 | PbootCMS 3.2.12 contains a broken password recovery flow in apps/home/controller/MemberController.php (retrieve()). An
unauthenticated remote attacker who knows a victim's username can overwrite that account's password and take over the
membership account in a single POST request. Five flaws stack: (1) the !empty($userInfo['useremail']) guard
short-circuits the email check for any account whose useremail column is empty (default for username-mode
registration); (2) when present, the email comparison is a knowledge proof, not an ownership proof; (3) no one-time /
time-bound reset token is issued and no verification email is ever sent; (4) the image CAPTCHA in
$_SESSION['checkcode'] only proves "is human", not "is user X"; (5) core/code.php (image CAPTCHA) and
MemberController::sendEmail (email code) share the same $_SESSION['checkcode'] key, so an image CAPTCHA satisfies what
the UI labels as the email verification code. Result: complete account takeover with no email interaction. |
|---|
| 来源 | ⚠️ https://github.com/yunyan05/MYCVE/tree/main/PbootCMS/V3.2.12-Account-Takeover |
|---|
| 用户 | yunyan05 (UID 90348) |
|---|
| 提交 | 2026-05-13 15時48分 (5 月前) |
|---|
| 管理 | 2026-06-12 09時41分 (30 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 370561 [PbootCMS 直到 3.2.12 Password MemberController.php retrieve username/password/email/checkcode 权限提升] |
|---|
| 积分 | 20 |
|---|