SourceCodester COVID-19 Testing Management System SQL Injection Vulnerability in profile.php

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester COVID-19 Testing Management System version 1.0. The issue resides in the profile.php file, where the mobilenumber parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially allowing attackers to access, modify, or delete database information.

Impact

Exploitation of this vulnerability allows for unauthorized database access via SQL injection, with the potential to leak, modify, or delete sensitive data. Such actions could disrupt services and compromise overall system security.

Reproduction

To reproduce this vulnerability, send a POST request to profile.php with the mobilenumber parameter. Include a crafted SQL payload that exploits time-based blind SQL injection, such as one that uses the SQL SLEEP function to demonstrate the injection.

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

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.0
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.