Codezips Gym Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in Codezips Gym Management System version 1.0. The issue resides in the file '/dashboard/admin/submit_plan_new.php', specifically within the 'planid' parameter. This vulnerability allows remote attackers to inject arbitrary SQL commands, potentially leading to unauthorized database access, data manipulation, and full system compromise.

Impact

Exploitation of this vulnerability could result in a database compromise, allowing attackers to read, modify, or delete data. There is also a risk of data leakage, exposing sensitive customer or payment information. Additionally, malicious SQL queries could degrade application performance or cause crashes, and there is a potential for privilege escalation, leading to a broader system takeover.

Reproduction

The vulnerability can be reproduced by sending a request to '/dashboard/admin/submit_plan_new.php' with a crafted 'planid' parameter that includes SQL injection payloads. This can be done manually or using automated tools like sqlmap, which can exploit the vulnerability and demonstrate its impact.

Remediation

To address this vulnerability, it is recommended to use prepared statements or parameter binding to separate SQL logic from user input, enforce strict input validation to sanitize incoming data, apply the principle of least privilege for database user accounts, and schedule regular security audits to identify and address potential vulnerabilities.

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

Vulnerability Rating

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