Submit #1008390: aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Weak Password Recoveryinfo

Titleaircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Weak Password Recovery
DescriptionThe 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.
Source⚠️ https://github.com/aircheng-org/iWebShop-5/issues/11
User
 cnluminous (UID 98136)
Submission09/30/2026 18:31 (25 days ago)
Moderation10/18/2026 10:49 (18 days later)
StatusAccepted
VulDB entry421683 [aircheng-org iWebShop-5 up to 5.16 controllers/simple.php send_message_mobile user_id password recovery]
Points20

Do you need the next level of professionalism?

Upgrade your account now!