CVE-2025-12261
BaseFortify
Publication date: 2025-10-27
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| codeastro | gym_management_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-12261 is a critical SQL injection vulnerability in CodeAstro Gym Management System version 1.0, specifically in the file /admin/actions/remove-announcement.php. The vulnerability occurs because the application improperly handles the 'ID' parameter, incorporating it directly into SQL queries without proper sanitization. This allows an attacker to inject malicious SQL code remotely, potentially compromising the database by accessing, modifying, or deleting data. Various SQL injection techniques such as boolean-based blind, error-based, time-based blind, and UNION-based injections can be used to exploit this flaw. [1, 4]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized access to the database, data leakage, data manipulation, full system compromise, and denial of service. Attackers can remotely exploit the flaw to manipulate SQL queries, potentially compromising the confidentiality, integrity, and availability of the system. This can severely impact system security and business continuity. [1, 4]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the 'id' parameter in the /admin/actions/remove-announcement.php file for SQL injection. Tools like sqlmap can be used to automate detection. Example sqlmap command: sqlmap -u "http://target/admin/actions/remove-announcement.php?id=1" --batch --dbs. Additionally, manual testing with payloads such as Boolean-based blind SQL injection (e.g., id=6' AND 1=1 -- -), error-based, time-based (using SLEEP()), and UNION-based SQL injection payloads can be used to confirm the vulnerability. [1, 4]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing prepared statements with parameter binding to prevent SQL injection, applying strict input validation and filtering on the 'id' parameter, and minimizing database user permissions by avoiding high-privilege accounts for routine operations. Since no official vendor patch is available, consider replacing the affected component with an alternative product or applying custom fixes. Conduct regular security audits to detect and remediate vulnerabilities promptly. [4, 1]