Submit #1052911: Surya2Developer Online Shopping System 1.0 SQL Injectioninfo

TitleSurya2Developer Online Shopping System 1.0 SQL Injection
DescriptionA 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.
Source⚠️ https://github.com/Surya2Developer/Online_shopping_-system/issues/5
User
 m4sh_wacker (UID 43906)
Submission10/23/2026 02:12 (29 days ago)
Moderation11/21/2026 04:26 (29 days later)
StatusAccepted
VulDB entry441682 [Surya2Developer Online Shopping System 1.0 GET Parameter product.php sql injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!