| Titre | aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Weak Password Recovery |
|---|
| Description | 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.
|
|---|
| La source | ⚠️ https://github.com/aircheng-org/iWebShop-5/issues/11 |
|---|
| Utilisateur | cnluminous (UID 98136) |
|---|
| Soumission | 30/09/2026 18:31 (il y a 19 jours) |
|---|
| Modérer | 18/10/2026 10:49 (18 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 421683 [aircheng-org iWebShop-5 jusqu’à 5.16 controllers/simple.php send_message_mobile user_id élévation de privilèges] |
|---|
| Points | 20 |
|---|