CodeAstro Gym Management System SQL Injection Vulnerability in Attendance Check Action

Vulnerability

A SQL injection vulnerability has been identified in CodeAstro Gym Management System version 1.0. The issue resides in the file '/admin/actions/check-attendance.php', where the 'id' parameter is manipulated, leading to unauthorized database access. This vulnerability can be exploited remotely, allowing attackers to inject malicious SQL queries that could be used to access, modify, or delete database information.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries. This could lead to unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a GET request to '/Gym-System/admin/actions/check-attendance.php' with a crafted 'id' parameter that includes SQL injection payloads. 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. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.

Added: Oct 27, 2025, 7:30 AM
Updated: Oct 27, 2025, 2:19 PM

Vulnerability Rating

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