SourceCodester Hotel and Lodge Management System SQL Injection Vulnerability in del_curr.php

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester Hotel and Lodge Management System version 1.0. The issue resides in the file del_curr.php, where insufficient validation of the 'id' parameter allows for the injection of malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, which could be used to access, modify, or delete database information. Additionally, it could lead to unauthorized access to sensitive data or disruption of service.

Reproduction

The vulnerability can be reproduced by sending a crafted HTTP request to the del_curr.php file with an injected SQL payload in the 'id' parameter. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Oct 7, 2025, 7:10 PM
Updated: Oct 7, 2025, 7:34 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.6
exploitability
9.1
remediation
0.0
relevance
0.7
threat
6.4
urgency
2.9
incentive
10.0

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