SourceCodester COVID-19 Testing Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester COVID-19 Testing Management System version 1.0. The issue resides in the file '/search-report-result.php', where the 'serachdata' parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, allowing attackers to gain unauthorized access to the database, modify or delete data, and access sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation of data, leakage of sensitive information, and potential disruption of services.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/search-report-result.php' with the 'serachdata' parameter. Various payloads can be used to exploit the vulnerability, including boolean-based blind injection, error-based injection, time-based blind injection, and UNION-based injection. After exploitation, the vulnerability can be confirmed by using a tool like sqlmap to extract database information.

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: Aug 14, 2025, 10:17 PM
Updated: Aug 14, 2025, 10:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
9.1
remediation
0.0
relevance
0.4
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.