| Título | AdithyaYelloju Restaurant-Management-System 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c Unverified Password Change |
|---|
| Descrição | The affected component is `User/forgot3.php`. The script takes `email` and `password` POST parameters and runs an `UPDATE user SET password='...' WHERE email='...'` against any email that the attacker provides. There is no session check, no requirement that the request came from `forgot2.php` (which only filters by matching `fname` and `phone` but is also unauthenticated — see CVE-13/14), no email verification, no token, and no CAPTCHA. Concretely, anyone reaching the site can submit:
```
[email protected]&password=any-12-chars-pass
```
and reset that user's password without any further verification. `mysqli_real_escape_string` only sanitizes for SQL; the script happily updates the row. |
|---|
| Fonte | ⚠️ https://github.com/AdithyaYelloju/Restaurant-Management-System/issues/12 |
|---|
| Utilizador | 100001001X (UID 100909) |
|---|
| Submissão | 01/09/2026 13h39 (há 2 meses) |
|---|
| Moderação | 12/10/2026 11h39 (1 month later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 416872 [AdithyaYelloju Restaurant-Management-System até 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c Password Reset User/forgot3.php email/password Injeção SQL] |
|---|
| Pontos | 20 |
|---|