SourceCodester Contact Manager SQL Injection Vulnerability in Export to VCF Feature

Vulnerability

A critical SQL injection vulnerability has been identified in SourceCodester Contact Manager version 1.0, specifically within the export to VCF feature. The issue arises in the file '/endpoint/delete-contact.php', where the 'contact' parameter is manipulated, allowing attackers to inject SQL payloads. This vulnerability can be exploited remotely, with public knowledge of the exploit available.

Impact

Exploitation of this vulnerability allows for arbitrary SQL command execution on the database. This could lead to unauthorized data access, data manipulation, or potentially gaining elevated privileges on the application or server.

Reproduction

To reproduce this vulnerability, send a GET request to '/endpoint/delete-contact.php' with a crafted 'contact' parameter that includes SQL injection payloads. The injection can be verified by observing the application's response or by using automated tools like SQLMap.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

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