CodeAstro Gym Management System SQL Injection Vulnerability in Announcement Removal Action

Vulnerability

A critical SQL injection vulnerability has been identified in CodeAstro Gym Management System version 1.0. The issue resides in the file '/admin/actions/remove-announcement.php', where the 'id' parameter is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, which could be used to access, modify, or delete database information. Such actions could disrupt services and compromise data integrity.

Reproduction

The vulnerability can be reproduced by sending a crafted HTTP request to the '/admin/actions/remove-announcement.php' endpoint, including a malicious payload in the 'id' parameter. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to implement input validation and use prepared statements to prevent SQL injection. Regular security audits can also help identify and address vulnerabilities.

Added: Oct 27, 2025, 10:19 AM
Updated: Oct 27, 2025, 1:52 PM

Vulnerability Rating

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