Code-Projects Simple Gym Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Gym Management System version 1.0. The issue resides in the trainer search feature, specifically within the trainer_search.php file. This vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to the /gym/trainer_search.php endpoint. Include a crafted payload in the 'search' parameter that exploits the SQL query handling. The payload should be designed to manipulate the SQL query, such as by using union-based injection techniques to extract database information.

Added: Mar 2, 2026, 7:20 PM
Updated: Mar 2, 2026, 8:43 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
3.7
threat
6.4
urgency
2.9
incentive
0.0

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