Code-Projects Jonnys Liquor SQL Injection Vulnerability in Delete-Row.php

Vulnerability

A critical SQL injection vulnerability has been identified in version 1.0 of Code-Projects Jonnys Liquor. The issue resides in the admin/delete-row.php file, where the 'id' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in 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 request to the admin/delete-row.php file with a crafted 'id' parameter that includes malicious SQL payloads. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

To address this vulnerability, it is recommended to implement input validation and sanitization for the 'id' parameter, use prepared statements to prevent SQL injection, and conduct regular security audits to identify and fix vulnerabilities.

Added: Jul 9, 2025, 12:08 AM
Updated: Jul 9, 2025, 12:08 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.0
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.