| 标题 | aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Weak Password Recovery |
|---|
| 描述 | The affected recovery flow is in `controllers/simple.php`. `send_message_mobile()` stores `hash = rand(10000,99999)` for the target user, giving only 90,000 possible codes. `restore_password` / `do_restore_password` accept that hash with a 72-hour window and do not rate-limit guesses. Knowing a username/`user_id` (or enumerating them) lets an attacker brute-force the code offline against the endpoint and set a new MD5 password, fully taking over the account without access to the victim phone.
|
|---|
| 来源 | ⚠️ https://github.com/aircheng-org/iWebShop-5/issues/11 |
|---|
| 用户 | cnluminous (UID 98136) |
|---|
| 提交 | 2026-09-30 18時31分 (18 日前) |
|---|
| 管理 | 2026-10-18 10時49分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 421683 [aircheng-org iWebShop-5 直到 5.16 controllers/simple.php send_message_mobile user_id 权限提升] |
|---|
| 积分 | 20 |
|---|