| Título | SourceCodester Online Eyewear Shop SQL Injection |
|---|
| Descripción | The application Online Eyewear Shop is vulnerable to SQL Injection Error-based attacks.
The vulnerable parameter is the "id" GET param inside the following requested URL:
- http://localhost/oews/?p=products/view_product&id=*
The above URL is related to the following source code file:
- oews/products/view_product.php
The payloads I used to determine whether the application is vulnerable are the followings:
- id=7' AND '1'='2 -> The application prints an error alert and kicks me out of the page
- id=7' AND '1'='1 -> The application approves the query and shows me the product related to the id equal to 7
|
|---|
| Usuario | secpconti (UID 40229) |
|---|
| Sumisión | 2023-02-03 23:53 (hace 3 años) |
|---|
| Moderación | 2023-02-04 08:29 (9 hours later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 220195 [SourceCodester Online Eyewear Shop 1.0 view_product.php ID inyección SQL] |
|---|
| Puntos | 17 |
|---|