إرسال #1052911: Surya2Developer Online Shopping System 1.0 SQL Injectionالمعلومات

عنوانSurya2Developer Online Shopping System 1.0 SQL Injection
الوصف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.
المصدر⚠️ https://github.com/Surya2Developer/Online_shopping_-system/issues/5
المستخدم
 m4sh_wacker (UID 43906)
ارسال23/10/2026 02:12 AM (29 أيام منذ)
الاعتدال21/11/2026 04:26 AM (29 days later)
الحالةتمت الموافقة
إدخال VulDB441682 [Surya2Developer Online Shopping System 1.0 GET Parameter product.php حقن SQL]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!