| Título | Surya2Developer Online Shopping System 1.0 SQL Injection |
|---|
| Descripción | A vulnerability was found in Surya2Developer Online Shopping System 1.0 and classified as critical. Affected is an unknown function of the file product.php of the component GET Parameter Handler. The manipulation of the argument p leads to sql injection. The attack can be launched remotely and without authentication.
Technical details: product.php assigns $product_id = $_GET['p'] and concatenates it directly into the query "SELECT * FROM products WHERE product_id = $product_id" and into a second query using "... product_id BETWEEN $product_id AND $product_id+3", with no input sanitization, escaping, or prepared statement, in a numeric (unquoted) context. The page performs no authentication or authorization check (it only includes header.php). The application uses a plain mysqli connection with no escaping wrapper and is not WordPress, so the input reaches the SQL engine verbatim.
Proof of Concept (time-based blind, unauthenticated): GET /online-shopping-system/product.php?p=1 AND (SELECT 1 FROM (SELECT SLEEP(5))x) delays the response by ~5 seconds. sqlmap: sqlmap -u "http://host/online-shopping-system/product.php?p=1" -p p --dbms=mysql --batch --dbs
Duplicate note: This is a different injection point than CVE-2024-1971, which affects login.php via the password parameter. This issue affects product.php via the GET parameter p and is not covered by that entry. |
|---|
| Fuente | ⚠️ https://github.com/Surya2Developer/Online_shopping_-system/issues/5 |
|---|
| Usuario | m4sh_wacker (UID 43906) |
|---|
| Sumisión | 2026-10-23 02:12 (hace 29 días) |
|---|
| Moderación | 2026-11-21 04:26 (29 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 441682 [Surya2Developer Online Shopping System 1.0 GET Parameter product.php inyección SQL] |
|---|
| Puntos | 20 |
|---|