itsourcecode Online Cake Ordering System SQL Injection Vulnerability in Product.php
Vulnerability
A SQL injection vulnerability has been identified in the itsourcecode Online Cake Ordering System version 1.0. The issue resides in the '/cakeshop/product.php' file, where the 'product' parameter is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data manipulation, and exposure of sensitive information.
Impact
Exploitation of this vulnerability allows for SQL injection, enabling attackers to interfere with the application's database queries. This could lead to unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.
Reproduction
The vulnerability can be reproduced by sending a POST request to '/cakeshop/insertproduct.php' with the 'product' parameter manipulated to include a crafted SQL payload. This payload should exploit the application's SQL query handling, taking advantage of the lack of input validation.
Remediation
To address this vulnerability, it is recommended to implement input validation and sanitization for the 'product' parameter, use prepared statements to prevent SQL injection, and conduct regular security audits to identify and fix such vulnerabilities.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
